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

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

If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

You've successfully subscribed !

View Comments

Share

Recent Articles

  • PLC Tutorials

Example of Flip-Flop PLC Program for Lamps Application

Learn the example of flip-flop PLC program for lamps application using the ladder logic to…

4 days ago
  • PLC Tutorials

STAR DELTA Programming using PLC Controller

In this article, you will learn the STAR DELTA programming using PLC controller to start…

4 days ago
  • Instrumentation Design

Single and Three Phase Immersion Electrical Heaters Wiring Circuits

Lube oil consoles of rotary equipment packages in industrial process plants are usually equipped with…

2 days ago
  • Instrumentation Design

Immersion Heaters in Lube Oil Consoles

Rotating equipment packages such as pumps, compressors, turbines need the lube oil consoles for their…

4 days ago
  • PLC Tutorials

How to Blink Lights in Ladder Logic?

This article explains how to blink lights in ladder logic with a detailed explanation video…

4 weeks ago
  • PLC Tutorials

From Boolean Algebra to PLC Logic

In this article, a simple example will teach you the conversion from Boolean algebra to…

1 month ago