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

S7-1200 Hardware Configuration – Siemens PLC Tutorials
Ladder Logic for Control of Double-acting Pneumatic Cylinder
STAR DELTA Programming using PLC Controller
Siemens TIA Portal Free Version Download
Allen Bradley Bitwise Logical Operations
PLC Question Bank
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

PLC Techniques for I/O Mapping
PLC Program for Positive Edge Pulse Output for One Scan Cycle
Normally-Closed Contacts for Stop Buttons
Mitsubishi PLC Programming Tutorials
Emergency Stop Switch Spurious Trip
OFF Delay Timer using PLC
Positive and Negative Edges using Statement List Language
Increment & Decrement Instructions in CX-Programmer (OMRON)

Keep Learning

Car Parking System using PLC Programming

Car Parking System using PLC Programming

How to Program Sequential Outputs in PLC

Timer-Based Sequential PLC Program with One Button

Lamp Counter Logic

Function Block (FB) for Motor Control Logic

Configuration of Siemens Scada and PLC

Configuration of Input and Output Tags in Siemens Scada and PLC

PLC Commissioning and Testing

PLC Commissioning and Testing Procedure (Programmable Logic Controller)

Ladder Rung with Two Outputs

PLC Multiple Outputs Configuration

What is meant by the Batching Process

Batch Simulator PLC Example Program using LogixPro Simulator

Omron PLC Mixing System

Mixing Program with Timers and Counters in Omron PLC

Learn More

PID Controller Functionality

PID Controller Loop Tuning Tips

Flame Ionization Detector (FID)

Flame Ionization Detector (FID) Principle

Microsoft MS-200 certification

Best Preparation Tool You Can Get Online for Microsoft MS-200

Types of Cable Lengths in Ethernet Network

Types of Cable Lengths in Ethernet Network

Electro Mechanical Transducers Objective Questions

Electro Mechanical Transducers Objective Questions

Top 100 PLC Projects List

Top 100 PLC Projects List

Components of a Water Treatment Plant

Components of Water Treatment Plant

What is Rapid Spanning Tree Protocol

What is Rapid Spanning Tree Protocol? – RSTP Network

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?