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

Automate Batch Mixing with Repeated Cycles in Omron PLC
Difference Between Wifi and Industrial Wireless
Machine Indicator Lights: PLC Programming Solution
Ladder Diagram Example using Memory Bits and Set Coils
How to use FIFO Block in TIA Portal? – Siemens PLC Programming
Communication between Wincc and Tia Portal
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

Siemens Tia Portal PLC Training Course
Ladder Logic Programming Examples
PLC Programming for Train Detection and Gate Operation
How to Create DFB in Schneider PLC? – Derived Function Block
What is Sequential Function Chart (SFC?)
Understanding Braking Theory in VFD
Auto Tiffin Box Filling Station
Schneider Electric PLC Timer Problem: Vacuum Cleaner

Keep Learning

PLC Program

PLC Program to Heat and Bend Glass Tubes

Conveyor Sorting Machine PLC Program

Conveyor Sorting Machine PLC Program with Calculation Function

SCADA Engineer

SCADA Engineer Job Responsibilities and Skills

Batch Mixing with PLC Ladder Logic Program

Batch Mixing with PLC Ladder Logic Program

PLC Digital Inputs

PLC Digital Input and Digital Output Modules

scada hmi

Functions of SCADA

Elevator Control

Elevator Control: PLC Program with 5-Second Floor Stops

Siemens Tia Portal Function Block

Function Blocks in PLC (FBs) – What You Need To Know?

Learn More

Chemical Reactor Vessel P and ID

Wrong Operation Internals Destroyed Demineralization Mixed Bed Vessel

Smart DP transmitter Formula

DP Transmitter Error Calculations

Claw Machine PLC Programming

Doll Claw Machine using Omron PLC Programming

Image Processing Projects for Engineering Students

Image Processing Projects for Engineering Students

Top Beginner Soldering Mistakes

Top Beginner Soldering Mistakes and How to Avoid Them?

Ladder Diagram Example using Memory Bits and Set Coils

Ladder Diagram Example using Memory Bits and Set Coils

Comparison between Transit time and Doppler Flow Meter

Difference between Transit time and Doppler Ultrasonic Flow Meter

Pressure Gauges with Zero Adjustment

Pressure Gauges Zero Adjustment

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?