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 !
Everything You Need to Know About PLC Battery
DeMorgan’s Theorems using Ladder Diagram
Automatic Door Operation PLC Programming and Simulation
Rockwell PLCs for Large Scale Applications
Rockwell Automation Allen Bradley PLC for Smaller and Medium Projects
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

PLC Program for Conveyor System

PLC Conveyor Ladder Logic Program

Single Line Diagram of UPS System

UPS Selection Factors for a Control System

Example of PID Control Instruction

How to Configure PID in Siemens PLC?

Structured Text Selector Machine Logic

Write a PLC Program for Selector Machine using Structured Text

LogixPro Simulator Software

Introducing PLC Programming using LogixPro Simulator Software

Faceplate in WinCC

Siemens HMI Training – Using UDTs with Faceplates

PLC Batch System for 4 Tanks Mixing using CX-Programmer

PLC Batch System for 4 Tanks Mixing using CX-Programmer

Allen Bradley Powerflex VFD

Allen Bradley Powerflex VFD

More Articles

Causes of PLC Stop Mode

Various Causes for PLC Going in Stop Mode

Electrical Switch Questions and Answers

Top 50 Electrical Switch Questions and Answers

What is Blowdown Valve (BDV)

What is Blowdown Valve (BDV)?

OPC-OLE-for-Process-Control

What is OPC ?

Vortex Flow Meters

All About Vortex Flow Meters

Radiation Exposure Converter

Free Online Radiation Exposure Calculating Platform

Voltage Control Methods at Distribution System

Factors affect Voltage Level Selection in Service System

What is an Automated Guided Vehicle

What is an Automated Guided Vehicle?

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?