AutomationDirect
Search
Login | Register
Accounts & Orders
Cart
0
$0.00

Recent Orders

View and Manage | Request Cancellation

Your Account

Account Home

Checkout   $0.00


  • My Orders
  • Product Returns (RMAs)
  • Pay Proforma Invoices
  • Pay Freights
  • Invoices / Invoice Reprint
  • Quotes / Favs / BOMs
  • Packing List Reprint
  • My Product Docs
  • Credit Application
  • Tax Exemption
| Direct Sales in US and Canada | 1-800-633-0405 | About Us | Contact Us | Line Card
Products | Support
| Compare
  
Ordering Tools  
warning Cookies are not enabled on your browser.
Cookies are required for our site. Please enable cookies in your browser preferences to continue.
+
Navigation
+
Shopping Categories
  • Barcode / RFID / Vision
  • Bulk Wire & Cable
  • Cables (Terminated)
  • Circuit Protection / Fuses / Disconnects
  • Communications
  • Drives & Soft Starters
  • Enclosure Thermal Management & Lights
  • Enclosures & Racks
  • Field I/O
  • HMI (Human Machine Interface)
  • Hydraulic Components
  • Motion Control
  • Motor Controls
  • Motors
  • Pneumatic Components
  • Power Products (Electrical)
  • Power Transmission (Mechanical)
  • Process Control & Measurement
  • Programmable Controllers
  • Pushbuttons / Switches / Indicators
  • Relays / Timers
  • Safety
  • Sensors / Encoders
  • Stacklights
  • Structural Frames / Rails
  • Tools & Test Equipment
  • Valves
  • Water (Potable) Components
  • Wiring Solutions
  • Retired Products
+
Learn More
  • Brand Line Card
  • What's New
  • E-newsletter
  • Online PDF Catalog
  • Video Tutorials
  • Company Reviews
  • Learning Library
  • Affordable Training
  • Free Online PLC training
  • Cybersecurity
+
In Depth Product Sites
  • Programmable Logic Controllers
  • Productivity1000 PLCs
  • Productivity2000 PLCs
  • Productivity3000 PLCs
  • ProductivityCODESYS
  • LS Electric XGB Series PLCs
  • ProductivityOpen
  • CLICK PLCs
  • Do-more H2 PLCs or
    Do-more T1H Series
  • Do-more BRX PLCs
  • C-more Touch Panels
  • AC & DC Drives
  • Motion Control Components
  • Servos
  • StrideLinx
  • Pneumatics
+
Product Selectors &
Configuration Utilities
  • PLC Family Selector
  • P1000 PLC Systems
  • P2000 PLC Systems
  • P3000 PLC Systems
  • ProductivityCODESYS
  • CLICK PLC Systems
  • Do-more® BRX PLC Systems
  • LS-Electric® XGB PLC Systems
  • Productivity®Open Systems
  • AC Motors
  • Datalogic® Safety Light Curtains
  • LS-Electric® Servo Systems
  • Nitra® Pneumatic Grippers
  • Object Detection (Sensors)
  • PAL Controller Configurator
  • Precision Gearbox Selector
  • Protos X® Field I/O
  • Quadritalia® Modular Enclosures
  • Stellar® Soft Starters
  • Stepper System Selector
  • SureFrame T-slot Extrusion
  • SureMotion® XYZ Gantry
  • SureServo2® System Selector
  • SureStep® Linear Actuators
  • Timing Belts & Pulleys
  • Werma® Stacklights
  • ZIPLinks

AC Motor On/Off with Do-more PLC Part 2 from AutomationDirect


Related Products

BX-DM1E-M-D
BX-DM1E-M-D Thumbnail
BX-DM1E-M
BX-DM1E-M Thumbnail
BX-DM1-10AR-D
BX-DM1-10AR-D Thumbnail
BX-DM1-10ER-D
BX-DM1-10ER-D Thumbnail
BX-DM1-10ED1-D
BX-DM1-10ED1-D Thumbnail
BX-DM1-10ED2-D
BX-DM1-10ED2-D Thumbnail
BX-DM1E-10AR3-D
BX-DM1E-10AR3-D Thumbnail
BX-DM1E-10ER3-D
BX-DM1E-10ER3-D Thumbnail
BX-DM1E-10ED13-D
BX-DM1E-10ED13-D Thumbnail
BX-DM1E-10ED23-D
BX-DM1E-10ED23-D Thumbnail
BX-RTB10
BX-RTB10 Thumbnail
BX-RTB10-1
BX-RTB10-1 Thumbnail
BX-RTB10-2
BX-RTB10-2 Thumbnail
BX-DM1-18ER-D
BX-DM1-18ER-D Thumbnail
BX-DM1-18ED2-D
BX-DM1-18ED2-D Thumbnail
BX-DM1-18ED1-D
BX-DM1-18ED1-D Thumbnail
BX-DM1E-18ER3-D
BX-DM1E-18ER3-D Thumbnail
BX-DM1E-18ED23-D
BX-DM1E-18ED23-D Thumbnail
BX-DM1E-18ED13-D
BX-DM1E-18ED13-D Thumbnail
BX-DM1-18AR
BX-DM1-18AR Thumbnail
BX-DM1-18ER
BX-DM1-18ER Thumbnail
BX-DM1-18ED2
BX-DM1-18ED2 Thumbnail
BX-DM1-18ED1
BX-DM1-18ED1 Thumbnail
BX-DM1E-18AR3
BX-DM1E-18AR3 Thumbnail
BX-DM1E-18ER3
BX-DM1E-18ER3 Thumbnail
BX-DM1E-18ED23
BX-DM1E-18ED23 Thumbnail
BX-DM1E-18ED13
BX-DM1E-18ED13 Thumbnail
BX-RTB18
BX-RTB18 Thumbnail
BX-RTB18-1
BX-RTB18-1 Thumbnail
BX-RTB03
BX-RTB03 Thumbnail
BX-RTB03-1
BX-RTB03-1 Thumbnail
BX-RTB05
BX-RTB05 Thumbnail
BX-RTB05-1
BX-RTB05-1 Thumbnail
BX-RTB05-2
BX-RTB05-2 Thumbnail
BX-RTB06
BX-RTB06 Thumbnail
BX-RTB06-1
BX-RTB06-1 Thumbnail
BX-DM1-36ER-D
BX-DM1-36ER-D Thumbnail
BX-DM1-36ED2-D
BX-DM1-36ED2-D Thumbnail
BX-DM1-36ED1-D
BX-DM1-36ED1-D Thumbnail
BX-DM1E-36ER3-D
BX-DM1E-36ER3-D Thumbnail
BX-DM1E-36ED23-D
BX-DM1E-36ED23-D Thumbnail
BX-DM1E-36ED13-D
BX-DM1E-36ED13-D Thumbnail
BX-DM1-36ER
BX-DM1-36ER Thumbnail
BX-DM1-36AR
BX-DM1-36AR Thumbnail
BX-DM1-36ED2
BX-DM1-36ED2 Thumbnail
BX-DM1-36ED1
BX-DM1-36ED1 Thumbnail
BX-DM1E-36ER3
BX-DM1E-36ER3 Thumbnail
BX-DM1E-36AR3
BX-DM1E-36AR3 Thumbnail
BX-DM1E-36ED23
BX-DM1E-36ED23 Thumbnail
BX-DM1E-36ED13
BX-DM1E-36ED13 Thumbnail
BX-RTB36
BX-RTB36 Thumbnail
BX-RTB36-1
BX-RTB36-1 Thumbnail
BX-P-SER2-RJ12
BX-P-SER2-RJ12 Thumbnail
BX-P-SER2-TERM
BX-P-SER2-TERM Thumbnail
BX-P-SER4-TERM
BX-P-SER4-TERM Thumbnail
BX-P-USB-B
BX-P-USB-B Thumbnail
BX-P-ECOMLT
BX-P-ECOMLT Thumbnail
BX-RTB03S
BX-RTB03S Thumbnail
BX-08ND3
BX-08ND3 Thumbnail
BX-12ND3
BX-12ND3 Thumbnail
BX-16ND3
BX-16ND3 Thumbnail
BX-08NF3
BX-08NF3 Thumbnail
BX-08TD1
BX-08TD1 Thumbnail
BX-08TD2
BX-08TD2 Thumbnail
BX-12TD1
BX-12TD1 Thumbnail
BX-12TD2
BX-12TD2 Thumbnail
BX-16TD1
BX-16TD1 Thumbnail
BX-16TD2
BX-16TD2 Thumbnail
BX-08CD3R
BX-08CD3R Thumbnail
BX-12CD3D1
BX-12CD3D1 Thumbnail
BX-12CD3D2
BX-12CD3D2 Thumbnail
BX-16CD3D1
BX-16CD3D1 Thumbnail
BX-16CD3D2
BX-16CD3D2 Thumbnail
BX-RTB08
BX-RTB08 Thumbnail
BX-RTB08-1
BX-RTB08-1 Thumbnail
BX-RTB08-2
BX-RTB08-2 Thumbnail
BX-08NB
BX-08NB Thumbnail
BX-12NB
BX-12NB Thumbnail
BX-16NB
BX-16NB Thumbnail
BX-08NA
BX-08NA Thumbnail
BX-12NA
BX-12NA Thumbnail
BX-16NA
BX-16NA Thumbnail
BX-08TA
BX-08TA Thumbnail
BX-12TA
BX-12TA Thumbnail
BX-08TR
BX-08TR Thumbnail
BX-12TR
BX-12TR Thumbnail
BX-16TR
BX-16TR Thumbnail
BX-05TRS
BX-05TRS Thumbnail
BX-08AD-1
BX-08AD-1 Thumbnail
BX-08AD-2B
BX-08AD-2B Thumbnail
BX-08DA-1
BX-08DA-1 Thumbnail
BX-08DA-2B
BX-08DA-2B Thumbnail
BX-04THM
BX-04THM Thumbnail
BX-PGM-CBL
BX-PGM-CBL Thumbnail
BX-DM1-START
BX-DM1-START Thumbnail
BX-DM1E-START
BX-DM1E-START Thumbnail
H2-DM1
H2-DM1 Thumbnail
H2-DM1E
H2-DM1E Thumbnail
H2-DM1E-START
H2-DM1E-START Thumbnail
T1H-DM1E
T1H-DM1E Thumbnail
T1H-DM1
T1H-DM1 Thumbnail
T1H-CTRIO
T1H-CTRIO Thumbnail
T1H-08TDS
T1H-08TDS Thumbnail


To learn more: https://www.automationdirect.com/Do-more-PLCs?utm_source=6KGUMagGGXA&utm_medium=VideoTeamDescription

(VID-DM-0025)

Part II

The Software: Learn how to implement a full AC Motor On/Off control system with a Do-More PLC. Includes circuit breaker, shunt trip, forward and reversing contactors, safety tips, mechanical interlocks and more. Everything you need to implement a safe motor control system.

Online Support Page: https://community.automationdirect.com/s/?utm_source=6KGUMagGGXA&utm_medium=VideoTeamDescription

**Please check our website for our most up-to-date product pricing and availability.

Software Version used in this video: Do-more Designer 1.3.1


Hide Transcript
View Transcript

In theory, programming a PLC to turn on a motor contactor is easy. If a button is pressed, then engage the contactor’s coil. Of course, during the hardware video we saw that in most systems there really IS a lot more to it. Here’s our ladder code whish list: We want a Circuit Breaker Status Indicator We want to be able to trip the circuit breaker on a button press We want an Overload Indicator On Forward button press, we want to start the motor in forward direction IF - The motor is not coasting - If the motor stop button is not being pressed - If the reverse contactor isn’t engaged - If the circuit breaker is on - If the overload is not tripped - And we’ll want the Forward Indicator lit while motor is running The reverse button has the exact same requirements except it doesn’t start the motor if the forward contactor is engaged. We want the Stop indicator to flash when motor is coasting and to be on when motor is stopped. I’ve already allocated the memory addresses and installed some tag names to save us some time. You may notice there aren’t any physical button inputs, that’s because we’re using a C-more HMI to control this system. So instead of looking at PLC inputs we’ll be using these memory addresses that are being updated when the user presses the virtual buttons on the C-more screen Ok, let’s do it. Let’s get the motor running in the forward direction. So on a button press – our virtual C-more HMI button in this example - enable the forward contactor which is output Y1 in our setup. And once that forward contactor is engaged, the aux contact closes so we can use that to keep the motor running even after the momentary Forward button is released. We call this sealing or latching the contact. I should mention that we will be using a lot of short cuts to expedite the typing of this code. So if something appears on a rung and you’re not sure how it got there, then checkout Do-more Designer help topic number 0220 it has everything you need to know about editing ladder code. We need a way to stop the motor so we’ll add the stop button. Stop buttons are normally closed, so this is active all the time until you press the STOP button which opens this contact, which releases the contactor, which releases the aux contact and breaks the seal or latching action of this circuit. We only want the motor to be started if the motor is NOT coasting – we’ll create that in a minute – and we want to make sure the reverse contactor is not engaged. We don’t want to run the motor is the overload is tripped. And finally we don’t want the motor to be enabled if there is no power. This serves as a handy reminder to check the power of course, but more importantly, it makes sure the motor can’t be latched or sealed in while the power is off. If we didn’t check the circuit breaker status, then there is nothing to prevent this ladder code from energizing the contactor, which enables the aux contact and latches or seals in the circuit. So when the power is applied, the motor will already be enabled and will jump to life. Normally you won’t want that to happen, so adding this contact to prevent the circuit from latching while the power is off it is a really important safety feature. And we’ll add the comment for that rung. The reverse motor circuit is exactly the same except it uses the Reverse virtual button to start things, doesn’t run if the forward contactor is engaged and latches on the reverse aux contact. Let’s update that comment too. We need a 5 second timer for the motor spin down, so we’ll watch both contactors aux contacts and if either one of these gets released, we’ll start an off timer. That starts a timer after the input has been released. During that time, we’ll set a bit called MOTOR_COASTING. Now we can use that motor coasting bit to create the flashing STOP indicator. If the reverse and the forward contactor are not active, but the motor is Coasting we’ll set a bit to indicate the motor is still active. If we add the system 100ms bit here it will make the light flash. This will drive the STOP button indicator which is just the inverted version of this motor active bit. We also want to turn on the MOTOR_ACTIVE bit if either contactor is active. Again, this will turn off the stop button indicator. Finally, we need for the circuit breaker shunt trip button to trip the breaker which is at Y0. And let’s add some comments for all of these rungs. It’s important to understand that with the addition of this code, we are now protecting our control system with triple redundancy: To prevent the motor from running in one direction if it is already running in the other direction we have fail safes: Here in the code, here in the wiring and mechanically with the Interlock block. That creates a super reliable, fault tolerant system. Changing this over to a system that uses mechanical buttons instead of the virtual C-more HMI buttons is easy. Let’s assume the Start button comes in on X4, Reverse on X5, and Stop on X6. Just replace these with X4, these with X5 and these with X6. Don’t forget to make sure the Forward and Stop are momentary normally open, and Stop is momentary normally closed button. We’ll, let’s try it. Accept everything, save our work, and transfer to the PLC. If we turn on status monitoring, then these blue highlights mean these contacts are active. When all the contacts between the left and right side are lit – then power is flowing to the output coil. So this tells us that the forward button is not being pressed, motor’s not coasting, the normally closed stop button hasn’t broken the circuit, the reverse contactor is not active and the power and overload are good to go. If we press the Overload test button, we see that go inactive, and if we flip the motors circuit breaker off, we see its aux contact open up. Great, looks like things are working. So when we press the forward button, we now have all the contacts on this rung active and power flows to the output coil and starts the motor spinning. Once the contactor engages, its aux contact will also engage – which is this contact right here. So when we release the momentary Forward button this aux contact will keep the motor running – we call that sealing or latching the circuit. Pressing the stop button will open this contact and disable the contactor which kills the power to the motor. It also starts the 5 second timer for the flashing stop button, which was off screen when we did it, so let’s start the motor again, and scroll down to the timer section of the code. This time, when we press the stop button, we should see this off delay timer count down for 5 seconds which will turn this Motor Coasting Bit on. And this aux contact will go inactive which will light up this contact. Then, every time this system 100ms bit is active, this Motor Active bit will turn on. The Stop Button indicator light is just the inverse of this motor active bit so if the motor is NOT active, the stop button will be lit. Of course, if either contactor is inactive, then the motor will also be inactive which again will light the stop indicator. Let’s try it. When we press the stop button, the timer counts down, the motor coasting but goes active, aux contact releases, and sure enough, the stop button indicator flashes. Perfect. Let’s start the reverse direction – which works exactly the same as the forward circuit – but this time we’ll press the Overload test button and sure enough, it deactivates this contact which disables the contactor and his aux contact which kills power to the motor. Exactly what we expected. The circuit breaker aux contact would work the same way. Finally, let’s make sure the shunt trip kills the branch circuit breaker and shuts down the motor. Start the motor in the forward direction, hit the shunt trip and no surprise here – when we kill power to the motor it stops. More importantly, this also breaks the sealing action of the ladder code so when power is re-applied the motor won’t jump back to life and surprise someone – that would be an accident waiting to happen … Well, this all looks great, there is a potential problem. What happens if the user presses both the forward and reverse buttons at exactly the same time or even just real close to the same time? Well, power will flow through all of these contacts on both the forward and reverse rungs because their respective aux contacts won’t have closed yet – it can take an aux contact 10 to 20 milliseconds to close which means we won’t see that feedback until many scans later. Which means BOTH of these outputs will fire, which will engage both contactors, which will short out the power mains. And that’s a bad thing, Right? Well, not really because it physically can’t happen in this system. Remember, in the hardware video we installed a MECHANICAL interlock to prevent just this scenario. It physically won’t allow two contactors to engage at the same time. Because of that, one of the aux contacts can’t close so that circuit will never seal or latch. Let’s prove it. Let’s engage both contactors on the same Forward button press. Now they are guaranteed to start at exactly the same time. Accept that change and write it out to the plc. Sure enough, if we press the Forward button, both circuits light up, but then the reverse circuit turns back off because the mechanical interlock wouldn’t allow the reverse aux contact to close. So now you see why it was so important to add that extra mechanical interlock in the hardware video. And since it just snapped in place and it’s only two dollars and fifty cents – why wouldn’t you add the extra insurance to make sure you have an idiot proof, super reliable system? One side note: you could add another contact here that says don’t reverse the motor if the forward contactor is active, and the opposite here, but since the mechanical interlock has it covered we didn’t add that in this example – but if you don’t have access to a mechanical interlock, this is the next best thing. And as always, if you have any questions or need any help, please don’t hesitate to contact Automation Directs free award winning tech support – they will be happy to help you. And don’t forget the forums – there are lots of folks there that love to share their years of experience. Just don’t post support questions there, tech support doesn’t monitor the forums on a regular basis. Software: 1:20 You could use the rising edge (trigger) of C110 as the first instruction (instead of a N.O. contact) I guess you could but it’s the hardwired equivalent. Actually, you can’t … for the same reason as 2:10 below – the sealing contact isn’t fast enough to be ready on the next scan … 1:43 You use keyboard shortcuts to insert instructions and branches in Do-More. Would it be helpful to start out by using your mouse to select icons for NO or NC contacts. Then say "you can do this faster by using the "F" keys or by typing in the nemonic". (Just a thought) Good suggestion. >>> We are assuming they know how to edit … or will watch a video on how .. will mention in the narrative … 2:00 Motor Coasting isn’t 100% accurate. Isn’t C120 also true when the motor is running under power and when coasting (the Done bit goes TRUE when the timer is enabled and timing)? Yes >> Change N.O. contacts to falling edge. Now it is accurate. 2:10 Using the N.C. X1 (Reverse Active) to keep the two contactors from turning on at the same time is a good thing, but I don’t think it’s enough. The Weg contactor could take up to 20ms for the contacts to actually actuate. If someone pushed both FWD and REV buttons within 20ms of each other, both outputs could fire. In instances where you are using N.C. contacts for X1 and X2, you probably should also include Y1 and Y2 N.C. contacts. I think I might also add Y1 and Y2 to the Timer OFF rung. With the triple redundant system, I would hope not. See if this is true with the system. The Mechanical Interlock fixes this. Will add discussion … 3:00 Rising edge for C112 as well See first note. Actually, you can’t … for the same reason as 2:10 below – the sealing contact isn’t fast enough to be ready on the next scan … 5:30 Could mark the motor shaft cover so that the spinning is more evident. 480 and HD resolutions look OK, but lower rez makes it difficult to see. Just making some thick horizontal lines on the shaft with a Sharpie would help. OK



No data returned!
An error has occurred! Please contact support
Videos Home > AC Motor On/Off with Do-more PLC Part 2 from AutomationDirect
Contact, Connect & More
Sign Up
to receive:
FREE e-Newsletter
sign up today!
Connect With Us
Social Media Channels:
linkedin    facebook    x    instagram    youtube
Company Information
About Us
Brand Line Card
System Integrator Program
International Sales
Panel Builder Program
Site Help
Company Reviews
Download Price List
Contact Us
Contact Options
1-800-633-0405
Monday - Friday
9 a.m. - 6 p.m. ET
excluding holidays
Career Opportunities
Voted #1 mid-sized employer in Atlanta
We're a great place to work!
Check out our job openings

Need Training?
Affordable Training by Interconnecting Automation
Free Online PLC Training
FREE Video Tutorials
Information & News
What's New / In The News
FREE e-Newsletter
Automation Notebook
Product Literature
White Papers
News, Product and Training Bulletins
E-Books
Shop with confidence
Checked   Safe & Secure
payment methods


We accept VISA, MasterCard, Discover, American Express, PayPal or company purchase orders.
AutomationDirect

BBB Accredited

Voted #1 mid-sized employer in Atlanta
Check out our job openings

Copyright © 1999-2025 AutomationDirect.  ALL RIGHTS RESERVED.
Site Map     Send Us your Feedback     Unsubscribe     Email Preferences     Legal & Business Policies     YouTube Terms of Service
Clear login credentials



Back to Top


spinner Updating...
Info
„