How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse

In an industry most of the application is run by three phase induction Motor. In few applications the same motor is used to run forward as well as reverse. The forwarding and reversing of the induction motor are reverse by TPST switch. If any two phases of the induction motor reversed the motor will run in reverse direction.

In this article we will discuss about creating an appropriate PLC program which will start the induction motor after 5 seconds of pressing the forward motor start button. When the forward stop button is pressed, the motor comes to a halt. Similarly, after 5 seconds of pressing the reverse motor button, the motor rotates in the opposite way. When the reverse motor stop button is pressed, it will come to a halt.

The circuit Schematic of Forward and reverse of Induction motor is shown below

How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse1

Three phase Induction motor forward and reverse Connection

Full PLC Ladder diagram using Siemens TIA Portal V16

How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 2

Declaration of Input and Output for each PLC block

S. NoOperationInput/Output/OthersAddress of Each Block
1Forward ButtonInput%M0.1
2Forward Latch Coil (For continue “ON”)Latch(Associated Coil, Not Operative)%M0.1
3Dummy Coil_01(To Start the Timer)Output%Q0.0
4Dummy Latch Coil_02(For continue “ON”)Latch(Associated Coil, Not Operative)%Q0.0
5Timer_0 (Forward Timer)Timer%DB1
6Timer_0.QTime relayNot Specific
7Forward motorOutput%Q0.1
8Reverse ButtonInput%M0.2
9Reverse Latch Coil (For continue “ON”)Latch(Associated Coil, Not Operative)%M0.2
10Dummy Coil_02(To Start the Timer)Output%Q0.2
11Dummy Latch Coil_02(For continue “ON”)Latch(Associated Coil, Not Operative)%Q0.2
12Timer _1 (Reverse Timer)Timer%DB2
13Timer_1.QTime relayNot Specific
14Reverse MotorOutput%Q0.3
15Stop (Common for both Forward & Reverse)Input%M0.0

Various phases of working of ladder logic

The PLC Program is written in Siemen’s software using TIA Portal V16. As per the above statement, the PLC program have four sections

Start and Stop Button for forward motoring

    In this section of ladder logic we have Forward pushbutton and stop button.

    Once forward pushbutton pressed “Dummy_coil_01” gets energized. The dummy coil is introduced to enable forward timer.

    The forward logic is build using latching concept (Push button).

    The stop button can be used to stop the forward running motor.

    How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse3

    Forward Timer

    Once “Dummy_coil_01” gets energized the forward timer (timer is set for 5 sec) counts up to 5 sec, the coil “Timer_0.Q” associated with timer enable the forward motoring coil, which in turn run the induction motor in forward direction.

    How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse4

    Start and Stop Button for reverse motoring:

    In this section of ladder logic we have Reverse pushbutton and stop button.

    Once reverse pushbutton pressed “Dummy_coil_02” gets energized. The dummy coil is introduced to enable reverse timer.

    The reverse logic is build using latching concept (Push button).

    The stop button can be used to stop the reverse running motor.

    How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 5

    Reverse Timer

    Once “Dummy_coil_02” gets energized the reverse timer (timer is set for 5 sec) counts up to 5 sec, the coil “Timer_1.Q” associated with timer enable the reverse motoring coil, which in turn run the induction motor in reverse direction.

    How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 6

    How to program ladder logic using SIEMENS TIA portal (Simulation) are as follows

    1. Once installed the Siemens TIA Portal V16. Open TIA V16 Portal icon. The below window will open          
    How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 7

    2. After the window open click on Create new Project and type your Project name.(Note: if you want to change the destination directory change the directory in Path)

    How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 7

    3. Next the below window will open click Open the Project view

    How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse8

    4. Once the Project view clicked the below window will open. Now double click on Add new device

    How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 9

    5. The below window will open. Under this select the Controller

    How to use Siemens TIA Portal to create PLC Ladde 10r Logic for three phase motor Forward and Reverse

    6. Select the CPU 1214C DC/DC/DCà6ES7214-1AG40-0XB0 and press ok

    How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 11

    (Note : Since the program is going to run in simulator a standard feature was selected. If the hardware connected to the computer based on configuration of the PLC choose the corresponding controller)

    7. Once the controller was selected a new window will open as shown in below figure

    (Note: The below window is for Hardware selection, for simulation purpose we can skip this step)

    How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 12

    8. Select the Program blocks on the left-hand side tree view.

    How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward  and Reverse 13

    9. Under Program block Select Main(OB1) and double click

    How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Revers e 15

    10. Using proper PLC ladder block, construct the PLC Ladder Diagram

      How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 16

      (Note: Please refer the Full PLC Ladder diagram section given above)

      11. Click the simulation icon which shown is in previous diagram. The below window will open

        How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 17

        12. Press the start search button. Please ensure that PN/IE and PLCSIM selected under Type of the PG/PC interface and PG/PC interface respectively. The window will open and will be ready for virtual connection of PLC (Simulation). Once scan completed the computer connected with Virtual PLC (Orange color Indication)

        How to use Si emens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 18

        13. The below window indicate the PLC ladder is ready for run. Press Load

          How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 19

          14. Next step the simulation result has to checked. This can be achieved by pressing the small window Run button. Once Run button pressed the orange LED color changed to Green LED

            How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Re verse 20

            15. Final step Press the monitor button icon. The window of the siemens change to run mode. Now user can force each Ladder block and check the result.

              How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 21

              16. The result can be checked by keeping the mouse over the Forward button and right click a new pop menu will open under this select modify and select modify to 1. This changes the block from NO(Normally Open) to NC(Normally close) or NC to NO.

              How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 22

              17. The user can select the sequence of the block to see the result. In this section the user can toggle the Forward button ON and OFF (Since the forward switch behaves as a push button). Now forward timer starts, after 5 sec the Forward motor goes to ON stage.

              18. Before start the reverse motor, the forward motor should be stopped. Now the Reverse button can be toggled ON and OFF. Similar to forward motoring the same motor run in reverse direction

              (Note : In real time the stop button between the forwarding and reversing can be connected with sensor)

              Simulation screenshots of each phase

              1. Initial stage of ladder Simulation
              How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 23

              2. Right click on Forward button and modify to 1

              How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 24

              3. Forward timer Starts after Forward button toggle

              How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 25

              4. Timer 0 runs up to 5 sec and closes the Timer 0 coil. Now forward Motoring coil Closed

              How to use Siemens TIA Portal to create PLC Ladder L ogic for three phase motor Forward and Reverse 26

              5. Press the Stop Button to Stop Forward Coil

              How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 27

              6. Forward Coil Stopped

              How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 28

              7. Similarly Press the reverse button

              How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 29

              8. Reverse Timer Starts to run up to 5 sec and  Closes the Reverse Coil

              How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 30

              9. Similarly Press the stop to stop the reverse Coil

              How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 31

              10. Finally the reverse Coil “OFF”

              How to use Siemens TIA Portal to create PLC Ladder Logic for three phase motor Forward and Reverse 32

              By doing above exercise we were able to successfully develop PLC ladder logic and we also carried out simulation testing of the ladder logic.

              Scroll to Top