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

BRX Do-more Designer Stage Programming 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?utm_source=v3JWWTaN4o8&utm_medium=VideoTeamDescription

(VID-DM-0007)

This video explains how to use Stage Programming with PLC ladder logic and PLC programming on the Do-more PLC.

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

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


Hide Transcript
View Transcript

Ladder programming is ideal for taking lots of inputs and using those inputs to control lots of outputs. Ladder logic can also be used to manage sequences of events, but it does involve some additional interlocking, control bits, and housekeeping logic. Stage programming doesnít replace ladder coding, it makes it easier to use ladder logic to control sequences of events. Letís look at a side by side example comparing the two methods. Picture a drill head mounted on a carriage. We want the carriage to move out to a fixed location, the drill to move down and drill a single hole, the drill to retract, and the carriage to return ëhomeí. Hereís how you might do that in ladder ñ note that this is simplified for example purposes and is NOT intended to be a fully implemented or tested code set. Weíll run this in the simulator over here so we can follow along. Letís turn that on Ö put it in run mode Ö and letís turn our status on se we can see all of the bits. On Rung 1 we make sure the Carriage is pulled back in and that the Drill position is up. Weíll simulate that by punching X2 and X4. OK, our system is ready to go and weíll accept the start button from the user. When the user hits the start button - which is our X1 input ñ we turn on the move out interlock. That tells the rest of the system that the carriage is moving out. And we turn on the motors so the carriage starts moving. When the carriage starts moving this IN limit switch is going to release. So weíll do that. And that moves us down onto this rung. Rung number 2. Now this rung is enabled with this interlock bit until weíre waiting until the carriage hits the OUT limit switch. When that happens, X3 gets set, we turn off the motor moving the carriage out, We turn off this rung, We enable the interlock to the next rung, and we turn on the Drill Down Motor. Now all future scans will ignore this rung, and weíll come down and run this one. So now the drill is moving down, which will release the UP Limit Switch, and when it hits the DOWN limit switch, X5, It stops the drill from moving down, turns off this rung, turns on the drill moving up and enables the next rung with this interlock. As the drill starts moving up, the down limit switch will turn off, and eventually we will hit the upper limit switch, X4. When that happens, we stop the Drill Up Motor, we turn off this rung, we turn on the motor that moves the carriage back to the home position, and we turn on the next rung with this interlock. As the carriage moves back in, it will release the OUT limit Switch, and weíll move down to the next rung. Now only this rung is enabled with this interlock bit. And it is simply waiting for the carriage to come all the way back in. When that happens, it turns off the carriage motor, and it turns off the MoveBack In interlock. And of course by now the user would have let go of the button, hopefully Ö And we are right back to the beginning of the ladder logic where both limit switches are set and we are waiting for the user to press the button. Weíll, thatís not too bad, especially when you give each control bit a good nickname like you see here. Now letís do the exact same thing in stage programming ñ with one exception. The Stage Program code is in its own code block called ìDrill_1.î Iíve also made multiple copies of this for something we are going to do later. Drill_1 is enabled back in main. On the first scan, we enable that drilling routine, and it runs continuously until the PLC is turned off. So we are just going to focus on Drill_1 so we can do a side by side comparison with the Ladder Logic we just saw. Weíre going to run it in our simulator, so letís turn him on, and letís turn on the status bits so we can see whatís going on. The first rung is just a comment, so you can ignore that. The second rung is our first stage. As you can see from the status bits, this stage is enabled. The cool thing about this is - over here in program view, if you open up the program code block ñ you can see exactly which stage you are in. In stage 0 ñ just like the ladder code ñ weíre waiting for the motor carriage to be back in and the drill to be up. Letís go ahead and force that by turning on those bits. When that happens, Stage 0 transitions to stage 1. So Stage 0 rungs are no longer run, and every time we come into this code block, we only run the stage 1 ladder code. In Stage 1, we are waiting for the user to press the start button. Letís do that. Iím going to press it and release it. What that did, is it started the motor to move the carriage out. As that starts to move, the IN limit switch is going to release. And eventually it hits the OUT limit switch at X3. When that happens, we turn off the motor, and we transition to stage 2. Now these rungs will no longer be run, and the stage 2 rungs WILL be run. And again, you can see here and here which stage we are in. In stage 2, we unconditionally enable the Drill Down motor, which is going to release the UP limit switch, and eventually hit the down limit switch. When that happens, we turn off that motor, and transition to Stage 3. In Stage 3, we unconditionally turn on the Drill Up Motor, which is going to release the drill down limit switch, and eventually hit the Up limit switch, X4. When that happens, we turn off the motor, and we transition down to Stage 4. In stage 4, we unconditionally turn on the motor that pulls the carriage back in Ö which is going to release the OUT limit switch, and eventually hit the IN switch. When that happens, we turn off the motor, and we jump back to Stage 1. Letís go up there and look. In stage 1, we wait for the user to press the button, and we start the sequence all over again. We didnít need to go back to stage 0 because we know the motor is in and up. So we can go straight to Stage 1 and wait for the user to press the start button again. As you can see, both ladder and stage are very similar. But with stage we didnít have to create and manage a bunch of interlock bits and logic ñ stage did it for us. And hereís a real big advantage of using stage: Suppose we have a number of these drilling heads. With Stage, I can simply copy this entire code block and paste it into another drilling code block like I did here: Hereís Drill_1 and Drill_2 Ö Look, this code is identical to the code we just looked at. Now, of course, in this new routine all of your motors and limit switches would change, but what Stage saves us is, having to create a whole new set of interlock logic and interlock control bits. We get to reuse these S-bits because they donít interfere with the S-Bits in the other code block. So you can see while I have S0 through S4 here, and S0 through S4 here, and S0 through S4 here, none of these interfere with each other. These S-Bits are unique to this code block. And thatís where stage saves you a lot of time and headache when you are setting up sequences of events. With Ladder you would have to create a whole new set of control bits for each code block you create. And of course, the other cool thing is if multiple of these heads are running, you can see what stage each head is head is in, in real time as the program runs. Thatís really handy when you are trying to figure out what is going on. Not having to worry about all of these control bits and interlock logic, is especially helpful when you are trying to control sequences of sequences. Imagine having to keep up with all of THOSE interlock bits. So again, you can use stage or ladder to manage sequences. Stage just makes handling sequences easier when creating the sequencing code, when debugging the sequencing code, and when maintaining the sequencing code. A word of caution, though Ö make sure you fully understand ladder BEFORE trying to use Stage. Stage doesnít replace ladder, it just helps manage it. Well, that should be enough to get you going. Please send us any comments or suggestions you may have. We appreciate the feedback. Spend Less. Do-more. From Automation Direct.



No data returned!
An error has occurred! Please contact support
Videos Home > BRX Do-more Designer Stage Programming 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