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: Timer during Motor Direction Change PLC Program
Share
Notification Show More
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 > Timer during Motor Direction Change PLC Program

Timer during Motor Direction Change PLC Program

Write a PLC program where if the motor reverse direction PB is pressed, the motor stops for 3 seconds using a timer and change its direction.

Last updated: March 4, 2021 11:25 am
Editorial Staff
PLC Tutorials
No Comments
Share
4 Min Read
SHARE

Write a PLC program where if the motor reverse direction push button (PB) is pressed, the motor stops for 3 seconds and reverse its direction. For instance, if the motor in clockwise (CW) operation and the counter-clockwise (CCW) push button (PB) is pressed, the motor is off for 3 seconds and then operates in the CCW direction, and vice versa.

Contents
Inputs & Outputs:Timer during Motor Direction ChangePLC Program description:Conclusion

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: CW Push Button (Normally Open contact)

I0.1: CCW Push Button (Normally Open Contact)

I0.2: Stop Push Button (Normally Closed contact)

Q0.0: Motor CW

Q0.1: Motor CCW

T1: CW_delay timer

T2: CCW_delay timer

M0.0: marker 01 for negative edge detection

M0.1: marker 02 for negative edge detection

Timer during Motor Direction Change

Timer during Motor Direction Change PLC Program
Motor in Forward and Reverse Direction
Forward reverse motor control diagram with timer

Also Read: S_PEXT Instruction

PLC Program description:

 Network 01

  • When the motor is in the CCW operation and the CW PB is pressed, the timer T1 is energized for 3 seconds.
  • If the stop PB is pressed at any time the T1 is de-energized.

Network 02

  • When the motor is in the CW operation and the CCW PB is pressed, the timer T2 is energized for 3 seconds.
  • If the stop PB is pressed at any time the T2 is de-energized.

Network 03

  • When the CW PB is pressed and the Motor CCW is not running and T1 is not energized, the set bit in the flip flop is energized.
  • If T1 is energized, the negative edge would energize the set bit in the flip flop after 3 seconds when the T1 pulse fails to zero.
  • When the stop PB is pressed, or the CCW PB is pressed, the reset bit in the flip flop is energized. 

Network 04

  • When the CCW PB is pressed and the Motor CW is not running and T2 is not energized, the set bit in the flip flop is energized.
  • If T2 is energized, the negative edge would energize the set bit in the flip flop after 3 seconds when the T2 pulse fails to zero.
  • When the stop PB is pressed, or the CW PB is pressed, the reset bit in the flip flop is energized. 

Note: it’s very important to keep the order of the networks.

For instance, if you replaced network #01 with network #04 the program would not be executed properly as we need. 

Conclusion

  • In the begging, if any PB is pressed it should operate the motor in the dedicated operation.
  • If the other direction PB is pressed this would de-energize the running direction and energize a pulse timer which is detected by a negative edge in the other direction flip flop.

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:

  • 4 Way Traffic Light Control
  • Extended Timer Logic in PLC
  • Pulse Generation using PLC
  • Jog Function in Motor Logic
  • Latched Motor PLC Program
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

Using Clock Memory Bits in TIA Portal – Siemens PLC
PLC Program to Separate Different Size Objects
Advanced PLC Course with Programming and Simulation
PLC Ladder Logic Design: Control 3 Motors with Toggle Switch
Basics of Ladder Diagram in PLC Programming
PLC Program for Password Management using Structured Text
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

Failsafe Wiring Practices
How to Use Diagnostic Buffer for SIEMENS PLC?
Ladder Logic for Flow Meter Totalizer
How to Use Symbol Factory Software for Graphic Design in HMI or SCADA?
HMI Handbook
#16 PLC Best Practices – Create Trend for Cycle Time on HMI
How to Simplify PLC Coding Using Karnaugh Maps?
PLC FBD Programming for Burglar Alarm Security System

Keep Learning

PLC Latched Circuit Example

PLC Latching Function

PLC Compressor Control Ladder Logic

PLC Compressor Control Ladder Logic

PLC Program for Forward and Reverse Motor control

3 Phase Motor Control using PLC Ladder Logic

PLC Program for Automatic Heating and Mixing of Products

Heating and Mixing of Products using PLC Example Tutorial

ON DELAY TIMER AS OFF DELAY TIMER

How to Interchange ON Delay Timer and OFF Delay Timer in a PLC

PLC Program to Drain Same Products from Two Tanks

PLC Program to Drain Same Products from Two Tanks

Automatic Box Filling System using PLC Programming

Automatic Box Filling System using PLC Programming

PLC Sequence Programming Ladder Logic

PLC Sequence Programming Ladder Logic

Learn More

Electrical Motor Failures

Most General Reasons for the Electrical Motor Failures

MEASURING AN NPT CONNECTION

NPT Connection Measurement Size

Modern Instrumentation and Control Systems

Migrate From Obsolete to Modern Instrumentation and Control Systems

Barometric gage with Magnetic Float

Process and Mechanical Parameters in Steam Turbine

Why is IEC 60269 Important

Why is IEC 60269 Important? – Electrical Applications

Redundant Power Supply WITH Diode Unit

Redundant Power Supply for Critical Field Panels

Mass Spectrometer Questions and Answers

Time of Flight Mass Spectrometer

Open Tank DP Level Measurement

Open Tank DP Level Transmitter Calculations

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?