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
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

PLC Brands Software Information
PLC Analog Input Sampling Ladder Logic
80+ PLC MCQ Questions
Laws of Boolean Algebra using Ladder Logic
PLC Conveyor Ladder Logic Program
Communicating Between Siemens PLC and Other PLC Brands
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

DCS Commissioning Steps
PLC Analog I/O Potential Problems – Troubleshooting & Issues
What is Alarm Prioritization? – Types of Alarms
PLC Wiring Questions for Technicians and Engineers
PLC Crane Movement Control with Limit Switches
Machine Indicator Lights: PLC Programming Solution
PLC Program for Star Delta Starter using Functional Block Diagram
PLC Programming using Level Switches

Keep Learning

PLC Programming in Bottle Filling Process

Applications of PLC Programming in Bottle Filling Process

PLC Sequential Lights Control Example

PLC Timer Example: Sequential Control of Three Lights with Reset

Micro PLC

Micro PLC Hardware Configuration

Function Block Programming in Studio 5000

Introduction to Functional Block Diagram in Studio 5000

Siemens PLC motor direction control example

Siemens TIA Portal: Motor Forward Reverse PLC Logic

How to Delay a Sensor Signal in PLC?

How to Delay a Sensor Signal in PLC?

PLC Automation Memory

What is NOR Flash Memory in PLC?

How to program a running hours meter in PLC

Allen Bradley Studio 5000: Motor Running Hours PLC Program

Learn More

foam fire protection system

Basics of Foam Fire Fighting System

3 to 8 Line Decoder Circuit Diagram

3 to 8 Line Decoder PLC Ladder Diagram

cat5e plenum cable

cat5e Plenum Cable History, Advantages and Disadvantages

Needle Valve Schematic

How Needle Valve Works ?

Orifice Beta

Why is Orifice Beta in between 0.3 to 0.7?

Servo Level Transmitter Principle

Servo Level Transmitter Principle

Nonlinear Control Systems

Constructing Phase-Trajectories

Power Electronics Objective Questions

Thyristor Gating Circuits Objective Questions

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?