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

What is Trace Function in Tia Portal?
What are High-Speed Inputs in PLC?
Connecting Blocks in Functional Block Diagram – Studio 5000
Most Asked Questions on SCADA with Answers
Industrial Automation and Control Systems (IACS)
How to Troubleshoot Siemens PLC Programs?
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

Run 4 Motors Sequentially from Same Push button PLC Program
PLC Temperature Control using Pulse Width Modulation (PWM)
Configuration of Input and Output Tags in Siemens Scada and PLC
Overview of SIEMENS PLC – S7-1500, S7-1200, S7-400, S7-300
PLC Program to Read Temperature in PLC
AI, AO, DI, DO Questions (PLC I/O Types)
Use of Regions in SCL Language
How to Operate a Group of Induction Motors using PLC Logic?

Keep Learning

PLC Program to Drain Same Products from Two Tanks

PLC Program to Drain Same Products from Two Tanks

One-Shot Rising and Falling Edge Instructions in Rockwell PLC

One-Shot Rising and Falling Edge Instructions in Rockwell PLC

Types of Allen Bradley PLC

Types of Allen Bradley PLC

MCQ on PLC (Programmable Logic Controller)

MCQ on PLC (Programmable Logic Controller)

PLC Program Example - Signal Lamp Task

PLC Program Examples

OpenPLC - PLC Training for Students - Free Tutorials & Courses

OpenPLC – PLC Training for Students – Free Tutorials & Courses

PLC Logic - Control Spray Nozzle, Fans, and Puncher

PLC Logic: Control Spray Nozzle, Fans, and Puncher

Delta HMI and VFD Control with Modbus

Delta HMI and VFD Control with Modbus

Learn More

Digital Control Systems

Difference Equations

pilot operated relief valves

Pilot-operated Relief Valve Principle

Level Measurement in Liquids

Point Level Detection Working Principle

Batch mixing process automation with Omron PLC

Automate Batch Mixing with Repeated Cycles in Omron PLC

Clamp meters

Clamp Meters Working Principle

SIS Design - Safety Instrumented System

SIS Design – Safety Instrumented System

Downloading Free PLC software

Step by Step Guidelines for Downloading Free PLC software

Kiln

Kiln Inlet Gas Analyzer

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?