Inst ToolsInst ToolsInst Tools
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: CW and CCW Operation of Motor from Same Push button
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
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
Inputs & outputs: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 !
PLC Programming for Sequential Batch Mixing System
PLC Programming Example for a Batch Process
Interposing Relay Panel (IRP) – Wiring and Testing Requirements
PLC Programming Course Online Free
Glass Cutting and Polishing Machine: PLC Automation Solution
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
208kSubscribersSubscribe
38kFollowersFollow

Categories

Recent Comments

  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals
  • Vaishnavi on Free Instrumentation Course for Trainee Engineers

Related Articles

Light Tower in Industrial Automation

What is a Tower Lamp? – Light Tower in Industrial Automation

Control 3 Motors with Toggle Switch

PLC Ladder Logic Design: Control 3 Motors with Toggle Switch

Types of Scan Time in a PLC

Programmable Logic Controller (PLC) Scan Time – Types, Theory

PLC Program for Conditional Control Logic

PLC Program for Conditional Control Logic

Burning Oven PLC Program

PLC Program for Ceramic Burning Oven Conveyor System

Surface Grinding Process using PLC Program

Surface Grinding Process using PLC Program

Pneumatic valve operation in sequence mode

Sequential PLC Programming for the Pneumatic Valves

NO NC Contact Animation

Equivalent Logic Gates using PLC Ladder Diagrams

More Articles

How to Select a SCADA for New Project

How to Select a SCADA for New PLC Project?

OSI Reference model

SCADA Communication and Protocols

Valve Positioner Torn apart

Pipeline Shakes Torn apart Valve Positioners

Digital Electronics MCQ

Digital Integrated Circuits Objective Questions – Part 2

NDIR GAS ANALYSER WORKING PRINCIPLE ANIMATION

NDIR Gas Analyser Working Principle

CNC Machining vs 3D Printer

CNC Machining vs 3D Printer – What is the difference?

BACNet Protocol

What is the BACNet Protocol? BACNet IP vs. BACNet MS/TP

Microprocessors Objective Questions

Microprocessors Objective Questions – Set 4

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?