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: CW and CCW Operation of Motor from Same Push button
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 > CW and CCW Operation of Motor from Same Push button

CW and CCW Operation of Motor from Same Push button

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

Write a PLC program that if you pressed the push button (PB) for the first time then the motor should run in a clockwise (CW) direction and if pressed again it runs in counter-clockwise (CCW) direction and so on until the stop PB is pressed.

Contents
CW and CCW Operation of Motor from Same Push buttonPLC Logic Explanation

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

I0.1: Stop Push Button (Normally Closed Contact)

Q0.0: Motor_CW direction

Q0.1: Motor_CCW direction

M0.0: marker_01 for positive edge.

M0.1: marker_02 for negative edge.

M0.2: marker_03 for negative edge.

M0.3: marker_04 for negative edge.

CW and CCW Operation of Motor from Same Push buttonMotor Clock Wise Operation using PLC

Motor CCW Operation using PLC

PLC Logic Explanation

When the push_button is pressed for the first time, the set bit in the Motor_CW SR flip flop is energized by a positive_trigger(to ensure it is energized for one scan cycle).

When the push_button is released the motor_CW flip flop is still on.

When the push_button is pressed for the second time the reset bit in the motor_CW  is energized as it is the negative trigger of the Push_button normally closed bit and the normally open of motor_CW bit.

Then the set bit in Motor_CCW SR flip flop is energized as it is the negative trigger of the normally closed bit of push_button and the motor_CW.

When the Push_button is released the motor_CCW is still on.

When the push_button is pressed again the reset bit in the motor_CCW is energized and the set bit in the motor_CW is energized and so on.

If the stop push button is pressed any time the motor would stop.

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:

  • VFD Ladder Logic
  • Free HMI Software
  • Motor PLC program
  • Breaker Auto Reclosing
  • RSLogix 500 PID
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 Data Comparison Instructions
SCADA Software and their Comparison
Product Sticker Machine with Weighing PLC Program
PLC based Door Open and Closing System
Basics of Industrial Communication Networks
What is Relay Logic ?
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

Latched and Momentary Operation of Motor PLC Program
STAR DELTA Programming using PLC Controller
PLC 1 Push Button to Turn ON or OFF 1 Output
Monitor and Modify Variables in Simatic Manager
Motor Speed Control using VFD and PLC Programming
Different Types of Schneider PLC
Wiring in a PLC Control Panel
Difference between Signal Cables and Control Cables

Keep Learning

PLC Fault Diagnosis - PLC Training Documents

PLC Fault Diagnosis – PLC Training Documents

Seven Segment Display Programming with Structured Text

Seven Segment Display Programming with Structured Text

PLC Timer Programming Examples – TON, TOF, TP and TONR

Midline output instruction

What is Midline Instruction in Siemens PLC?

Omron PLC painting program

Product Painting PLC Program using Omron CX-Programmer

Sourcing output module in PLC

Which Connection is Best for PLC? – Sinking or Sourcing

How to Control VFD with PLC using Ladder Logic

Proper Earthing Practices Used for PLC Control Panel

Proper Earthing Practices Used for PLC Control Panel

Learn More

Interview on Flow Measurement

Interview Questions on Flow Measurement

How to Select Right Thermocouple and Thermowell

How to Select Right Thermocouple & Thermowell ?

Gate Valve

How Gate Valves Work ?

LED Stumps in Cricket

How do LED Stumps in Cricket Work?

Network topologies

Different Types of Network Topologies

Gate Valve Parts

What is Gate Valve ?

Example Ladder Logic Diagram

What is Relay Logic ?

Door Lock with Delay PLC Exercise Problems

Door Lock with Delay PLC Exercise Problems

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?