Home » Pause the Timer PLC Ladder Logic
PLC Tutorials

Pause the Timer PLC Ladder Logic

Write a PLC program so that when a selector switch is ON,  the timer starts to count for 5 seconds and switch motor to ON, when the selector switch is OFF before the 5 seconds the timer stops counting and when the selector switch is ON again then the timer starts to count from the last value the timer stopped counting. And so on.

Note: the best practice to learn the PLC programming is to start writing the PLC program, take your time before you review the answer.

 Inputs & Outputs

I0.0: selector

Q0.0: Motor

Pause the Timer Logic

Pause the Timer PLC Ladder Logic

PLC Ladder Logic

Network 01 

Convert instruction to convert from the integer format to BCD format.

Network 02 

When the selector is ON, the timer start to count from the preset value stored in MW2 and stores the remaining time in MW4 while the motor is ON.

When the selector is OFF before 5 seconds elapsed, the motor stops and the negative edge detector energizes the move instruction to move the remaining time to the initial time value MW0.

So when the selector is ON again the timer starts to count from the preset value which is remaining time from the last run.

Network 03

When the remaining time is equal to zero, 5 seconds is moved to MW0 to start counting for the next time.

Author: Karim Ali Anwar

Read Next:

Share With Your Friends

Related Articles

FB Block in Siemens PLC Programming

S Bharadwaj Reddy

How to Solve Electrical Ground Loop Problems?

S Bharadwaj Reddy

Readings Mismatch between Field & Control Room ? Why

S Bharadwaj Reddy

PLC Program for Alarm Security System

S Bharadwaj Reddy

Single Push button to ON and OFF a Bulb using Ladder Logic

S Bharadwaj Reddy

PLC Program for Automatic Liquid Mixing Application

S Bharadwaj Reddy

Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Pause the Timer PLC Ladder Logic

WordPress Image Lightbox
Send this to a friend