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
No Comments
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

How to Design a System Architecture in Industrial Automation?
How to do Scaling for Analog Input in RSLogix 500?
Types of PLC
PLC based Automatic Packaging System
Glass Cutting and Polishing Machine: PLC Automation Solution
SCADA Software and their Comparison
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

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

Down Counter PLC Program
How Could FB and FC Make Me Professional PLC Programmer?
1 to 8 Demultiplexer PLC ladder diagram
PLC Energize or De-energize the Outputs based on Events
If Else Statement in SCL Language
DP Master System Configuration in PLC
PLC Instruction List Example for Level Control of Tank
PLC Level Control of Two Tanks

Keep Learning

PLC Program for Traffic Light Sequence using Functional Blocks

PLC Program for Traffic Light Sequence using Functional Blocks

ControlLogix Architecture - Rockwell Automation

ControlLogix Architecture – Rockwell Automation

PLC program to control pump

Troubleshooting PLC Permissive Inputs

Control Algorithms in PLC Programming

Control Algorithms in PLC Programming

Functional block diagram for analog alarms

PLC Logic for Analog Alarms using Functional Block Diagram

Difference Between PLC and SCADA

Difference Between PLC and SCADA

PLC Program for Automatic Oil and Water Separation Process

Oil and Water Separation Process using PLC Programming

Network Switch

Network Switch Port Allocation Details

Learn More

Generator Action in a Motor

What is Synchroscope ?

Power Electronics Objective Questions

Applications of Power Electronics MCQ

Technology is Shaping the Future of Education

How Technology is Shaping the Future of Education?

Fence grounding specifications

All About Electric Fence Gates

Heat Exchanger Root Cause Analysis

Heat Exchanger Root Cause Analysis (RCA)

Design Counters in PLC Programming With a Move Instruction

Design Counters in PLC Programming With a Move Instruction

Determine Level of Liquid in the Vessel and its Specific Gravity

Determine Level of Liquid in the Vessel and its Specific Gravity

Human Machine Interface

What is Human Machine Interface (HMI) ?

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?