Understanding ControlLogix Code: Deciphering BST and BND Instructions

Question:

Hello everyone, I have a query regarding a code snippet I received from ProSoft support. The example they sent me includes the following instructions: XIC MNETC.DATA.WriteData[0].0 BST OTL MotorStart NXB OTU MNETC.DATA.WriteData[0].0 BND. While I understand the functions of XIC, OTL, and OTU, I am unsure about BST and BND. I am not a full-fledged Rockwell programmer, so I am seeking clarification on how to interpret these commands within a rung. I have tried searching through my own notepad files to no avail. Any insights or guidance would be greatly appreciated. Thank you.

Top Replies

To easily copy and paste a rung with a branch, simply double click on the rung and then paste it into the designated text field.

Give this a shotE.g.

drbitboy suggested trying a different search strategy to find the desired results. He attempted to search using the BST BND keywords but did not have any success. Despite his usual proficiency in using Google, he could not find the information he was looking for. It appears to be a Logix 500 structure, but he is unsure of its presence in Logix 5000/ Logix Designer. Is he overlooking something, or is this information not available in the newer software versions?

I understand the concept of the text zone now. It differs from simply copying and pasting the rung in Notepad. Thanks for helping me solve the issue.

In this text zone, the GX_I_JB16_80DE_LO output is controlled by a combination of input signals including Local:2:I.Data[5].16, SIM_ON, SIM_JB16_S00.15, and SIM_ON. The operation is dictated by the logic sequence: XIO Local:2:I.Data[5].16, XIO SIM_ON, followed by XIC SIM_JB16_S00.15, and then XIC SIM_ON, before finally being transferred to the output coil GX_I_JB16_80DE_LO.

Hi! In Rockwell's PLC programming, BST (Branch Start) and BND (Branch End) are used to create a parallel branch within a rung. Essentially, they're employed to allow multiple conditions to control an output independently. In the case of your code snippet, the BST and BND are functioning to ensure that the operations between them (OTU and OTL) can both occur within the same rung, based on the condition of the XIC instruction. It's a handy tool for more complex logical conditions. If needed, feel free to dive deeper into Rockwell's documentation on these instructions for more in-depth understanding. I hope that helps!

Hello there! In the Rockwell programming environment, BST and BND are associated with setting up block instructions. 'BST' stands for 'Branch Start', and it's used to start a parallel branch. 'BND' stands for 'Branch End', and it's used to terminate a parallel branch. Hence, any instruction between BST and BND can be considered as a parallel branch. If any rung condition in that branch turns true, the rest of the rung is executed. BST and BND are essentially like the 'And' and 'Or' statements in regular programming in the way they affect the logic flow. I hope that helps, but do feel free to ask if you need any more clarifications.

Hey there, happy to help you out! In a Rockwell program, BST (Branch Start) and BND (Branch End) are used to establish parallel branches in program logic -- think of them like forking paths that the program can take. When the PLC executes a sequence and it encounters a BST, it branches out and evaluates multiple conditions or outputs in parallel until it comes to a BND (the end of the branch). These commands are useful when you're dealing with complex control situations that may need to evaluate multiple paths simultaneously. If you're imagining it like a ladder diagram, these commands form parallel rungs within a rung, branching out and then converging together again. Hope this helps you understand better.

Hey there! It sounds like you're diving into some ladder logic, which can be tricky at first. The BST (Began Scan True) and BND (Branch End) commands are used to control the flow of your logic. Essentially, BST allows you to create a branching condition within your rung, giving you the ability to evaluate multiple paths of logic. Once you hit the BND, it indicates the end of that branch and returns to the main rung. This is helpful when you want to create more complex conditions without cluttering your logic too much. If you think of BST and BND as a way to visually break up your logic, it can help a lot in understanding how the rung operates. Hope this clarifies things a bit!

More Replies →

Streamline Your Asset Management
See How Oxmaint Works!!

✅   Work Order Management

✅   Asset Tracking

✅   Preventive Maintenance

✅   Inspection Report

We have received your information. We will share Schedule Demo details on your Mail Id.

To add a comment, please sign in or register if you haven't already..   

Frequently Asked Questions (FAQ)

FAQ: 1. What is the function of the BST instruction in ControlLogix programming?

Answer: - The BST instruction in ControlLogix is used to compare two values and set a bit if the source is true.

FAQ: 2. Can you explain the purpose of the BND instruction in ControlLogix programming?

Answer: - The BND instruction in ControlLogix is used to perform a binary AND operation between two values and store the result in a destination.

FAQ: 3. How do you interpret the BST and BND instructions within a rung in a ControlLogix program?

Answer: - In a ControlLogix program, the BST instruction is typically followed by two input conditions, and it sets a bit if the conditions are true. The BND instruction, on the other hand, performs a binary AND operation between two values and stores the result in a specified destination.

Ready to Simplify Maintenance?

Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.

Request Demo  â†’