Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: Siemens TIA Portal: Motor Forward Reverse PLC Logic
Share
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > Siemens TIA Portal: Motor Forward Reverse PLC Logic

Siemens TIA Portal: Motor Forward Reverse PLC Logic

Learn how to program motor forward reverse control in Siemens TIA Portal. This PLC logic covers timing, repetition, and automation cycles.

Last updated: June 30, 2025 1:06 pm
Editorial Staff
PLC Tutorials
1 Comment
Share
6 Min Read
SHARE

This article discusses the PLC System Forward and Reverse program with repetition using the Siemens TIA Portal. The system can only be started if the system “Repeat” parameter has been set. This system runs automatically; the system will run in Forward mode for a certain time and will change to Reverse mode after a certain time. This process will continue to repeat according to the number of “Repetitions” that have been previously set.

Contents
Program ObjectiveSiemens TIA PortalProject I/O DetailsMotor Forward Reverse PLC Logic

Program Objective

System Sequence:

  1. The Repetition parameter value (Set Value) must be provided.
  2. The system will run when the Start button is Pressed.
  3. Forward Mode will be active for 5 seconds.
  4. Then switch to Reverse mode for 7 seconds.
  5. Data (Process Value) Repetition will increase (+1).
  6. The Forward and Reverse mode cycles are repeated at the same time interval.
  7. The system will stop when the (Process Value) and (Set Value) Repetition values ​​are Equal.
  8. Data (Process Value) Repetition will be Reset.
  9. Or, the system will stop if the Stop button is Pressed.

Siemens TIA Portal

Siemens TIA Portal Motor Forward Reverse PLC Logic

Project I/O Details

S.No.CommentInput (I)Output(Q)Memory WordMemory BitsTimer
 1START_SYSTEMI0.0    
 2STOP_SYSTEMI0.1    
 3FORWARD Q0.0   
 4REVERSE Q0.1   
 5TIMER1    DB1
 6TIMER2    DB2
 7SYSTEM_ON   M0.0 
 8LOOP_CUTOFF   M0.1 
 9IR_TIMER1   M0.2 
 10IR_TIMER2   M0.3 
 11IR_TIMER2.1   M0.4 
 12PV_LOOP  MW1  
 13SV_LOOP  MW2  

Motor Forward Reverse PLC Logic

Siemens TIA Portal motor control logic

NETWORK 1 (SYSTEM ON/OFF)

In this network, when the value in the memory word SV_LOOP (MW2) is Not Equal to zero “0” and the START_SYSTEM (I0.0) button is Pressed, the memory bit SYSTEM_ON (M0.0) ​​will be in the HIGH state. Because it uses Latching, even though the START_SYSTEM (I0.0) button has been Released the memory bit SYSTEM_ON (M0.0) will remain in the HIGH state.

If the STOP_SYSTEM (I0.1) button is Pressed or the NC contact of the memory bit LOOP_CUTOFF (M0.1) is in the HIGH state, then the memory bit SYSTEM_ON (M0.0) ​​ will be in the LOW state.

PLC forward reverse motor program

NETWORK 2 (FORWARD)

In this network, if the NO contact of the memory bit SYSTEM_ON (M0.0) is in the HIGH state and the value of the memory word PV_LOOP (MW1) is Less Than Or Equal to SV_LOOP (MW2), then the FORWARD (Q0.0) output will be ON.

Timer TIMER1 (DB1) will count up to 5 seconds, After Timer TIMER1 (DB1) has finished counting, the memory bit IR_TIMER1 (M0.2) will be in the HIGH state.

The FORWARD (Q0.0) output will be OFF due to the Interlock of the memory bit IR_TIMER1 (M0.2).

Or, the FORWARD (Q0.0) output will be OFF and the TIMER1 (DB1) timer will be reset if the NC contact of the memory bit IR_TIMER2 (M0.3) is in the HIGH state or if the memory word PV_LOOP (MW1) is Greater Than SV_LOOP (MW2).

Siemens PLC motor direction control example

NETWORK 3 (REVERSE)

In this network, if the NO contacts of the memory bits SYSTEM_ON (M0.0) ​​and IR_TIMER1 (M0.2) are in the HIGH state and the value in the memory word PV_LOOP (MW1) is Less Than Or Equal to SV_LOOP (MW2), then the output REVERSE (Q0.1) will be ON.

The REVERSE (Q0.1) output will remain ON even though the NO contact of the memory bit IR_TIMER1 (M0.2) is in the LOW state, because it uses Latching.

The TIMER2 (DB2) timer will count up to 7 seconds. After Timer TIMER2 (DB2) has finished counting, the memory bit IR_TIMER2 (M0.3) will be in the HIGH state.

When the NC contact of the memory bit IR_TIMER2 (M0.3) is in the HIGH state or if the value of the memory word PV_LOOP (MW1) is GREATER THAN SV_LOOP (MW2), then the output REVERSE (Q0.1) will be OFF.

Motor reversing logic using TIA Portal

NETWORK 4 (INCREMENT PV LOOP VALUE)

The value in memory word PV_LOOP (MW1) will increase (+1) when the NO contact of memory bit IR_TIMER1  (M0.2) is in the HIGH state.

Forward reverse logic in industrial automation

NETWORK 5 (LOOP CUTOFF)

In this network, when the memory bit SYSTEM_ON (M0.0) in the HIGH state and the value in the memory word PV_LOOP (MW1) Equal to SV_LOOP (MW2), then the memory bit LOOP_CUTOFF (M0.1) will become HIGH state and the memory word PV_LOOP (MW1) becomes zero value “0”.

The MOVE instruction moves the zero value “0” to the memory word PV_LOOP (MW1).

Siemens motor logic tutorial

NETWORK 6 (STOP SYSTEM)

The value in memory word PV_LOOP (MW1) becomes zero “0” when the STOP_SYSTEM (I0.1) button is Pressed.

The MOVE instruction moves the zero value “0” to the memory word PV_LOOP (MW1).

Read Next:

  • Electric Motor Repeat Cycle PLC Logic
  • PLC Instruction List Level Control of Tank
  • Simple Conveyor Control PLC Programming
  • Rules for Writing SCL Language in Tia Portal
  • Structured Text Program for Light Sequences

Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !

Continue Reading

Allen Bradley PLC ControlLogix Hardware
Things to Take Care of When Designing SCADA System
FactoryTalk View Studio – Import and Export Tutorial
Create User-Defined Data Types and Function Blocks in Studio 5000
PLC Temperature Control using Pulse Width Modulation (PWM)
PLC Compressor Control Ladder Logic
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
1 Comment
  • Alexander A says:
    July 12, 2025 at 10:26 am

    If it possible can you post a video for siemens s7-300 plc as master and delta plc as slave communication with each other.It helps to learn more

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

PLC Brands Software Information
PLC Program for Controlling Sequence of Conveyors with Interlock
What is Thin Client in SCADA? – Purpose, Advantages
How to Connect PLC with SCADA System via OPC UA?
Example of Automated Guided Vehicle with PLC
Compare Servo Motor and Stepper Motor
Automatic Motor Forward and Reverse Control using Timer
How to use Sub Routines with Allen Bradley PLC

Keep Learning

Surface Grinding Process using PLC Program

Surface Grinding Process using PLC Program

OMRON PLC program for waste-burning automation

Waste-Burning System OMRON PLC Program Example

Light Tower in Industrial Automation

What is a Tower Lamp? – Light Tower in Industrial Automation

GSD File installation in Simatic Manager

How to Install GSD File in Step 7 PLC using Simatic Manager?

PLC Program to Drain Same Products from Two Tanks

PLC Program to Drain Same Products from Two Tanks

Quiz on Electrical Meters and Measurement

200+ Quiz on Electrical Meters, Measurement, and Troubleshooting

Omron PLC real-time clock street lighting program

Automatic Highway Lights Program using RTC in Omron PLC

Programming with Schneider PLC

Mail Box Automation: Programming with Schneider PLC

Learn More

Digital Electronics MCQ

Digital Integrated Circuits Objective Questions – Part 3

Comparison of Accuracy and Precision

Difference between Accuracy and Precision

Car Parking System PLC Program Example

Schneider Electric: Car Parking System with Calculations in PLC

Dahlander Motor

Dahlander Motors – Principle, Advantages, Disadvantages

Left-hand Rule for Current Carrying Conductors

Magnetism

How to Train Your Maintenance Team for Industrial Automation Systems

How to Train Your Maintenance Team for Industrial Automation Systems?

List of 100 Questions Related to Distributed Control Systems (DCS)

List of 100 Distributed Control Systems Questions (DCS)

Axial Diaphragm Seal Connection

Difference between Axial and Radial Diaphragm Seal Connection?

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?