Hello everyone, I'm excited to join this community as a first-time poster! I'm new to PLC programming, with my experience primarily rooted in computer programming. I have a question regarding the unlatch bit operator (OTU) utilized in AB Micrologix 1400. I’m using several control bits to manage HVAC systems via Modbus TCP. My existing logic turns these bits on and off based on sensor inputs; however, this logic is suspended during emergency stop (E-stop) situations. In the event of an E-stop, I want all of these control bits to be reset to the off state. After researching various forum discussions and studying the Micrologix instruction set, I believe the unlatch operator may be the key to achieving this. Here's a breakdown of my logic: when the E-stop is activated, a specific bit is energized, followed by the unlatch operators for the HVAC control bits on the corresponding rung. My question is this: once the E-stop is triggered and all related bits are turned off, if the E-stop is subsequently cleared and the rung with the unlatch operation becomes inactive, will the remaining logic in my program still be able to manipulate these bits, or will they stay in the off state? Thank you for your insights!
In this scenario, the functionality of the ladder logic is significantly influenced by the placement of the unlatch (OTU) instructions within the ladder file. If these instructions are positioned after the "turn on" operations, they will execute correctly; however, if they are placed before, they will not affect the output at all. Mixing coil instructions (OTE) with unlatch instructions (OTU) can lead to complications and complicate troubleshooting efforts. A more effective approach is to incorporate a "NOT ON" (XIO) instruction [--|/|--] in line with the output commands. This ensures that if the emergency stop (E-stop) is activated, the outputs will immediately deactivate. Once the E-stop is reset, the logic will resume normal operation as originally programmed. To create a more reliable system, consider using one-shot instructions (OSN/OSR) along with latches (OTL) and unlatches (OTU) to prevent potential issues in your ladder logic design.
Welcome to our discussion forum! Feel free to post any questions you have; our community is filled with knowledgeable individuals ready to assist you. It's important to note that the unlatch output functions exclusively with the latch output. Therefore, on rung 5, rather than employing the OTE (Output Energize) or the standard output operator, you should utilize the OTL (Output Latch) operator. This ensures that the outputs remain latched continuously until you decide to unlatch them. Currently, the only condition that will unlatch your outputs is the emergency stop (E-stop), specified as O:0/0. Additionally, once the unlatch bit returns to an inactive state, you will be able to re-energize those outputs. To achieve this, the timer must complete its cycle, and the HVAC system should not be running, as indicated on rung 5. Once these conditions are met, the outputs will be activated again, turning them green. If you have further questions or need clarification, don’t hesitate to ask!
By incorporating the NOT ON bit operator into my existing Cool On logic, I can ensure that these bits remain inactive. The configuration illustrated will fulfill my requirements without the need for unlatching. However, there’s an additional challenge to consider. These bits also function as exposed coils for Modbus communication with external systems, specifically from the customer side. It's crucial that these bits do not get altered manually via Modbus during an emergency stop situation.
I have some concerns regarding the functionality of the emergency stop (e-stop). What happens if the e-stop fails to deactivate the timer? Would the system simply reactivate once the e-stop is disengaged? It seems that with this updated code, the e-stop is functioning more like a pause button instead of a complete stop.
We aim to safely reset the emergency stop (e-stop) to restore regular operations.
✅ Work Order Management
✅ Asset Tracking
✅ Preventive Maintenance
✅ Inspection Report
We have received your information. We will share Schedule Demo details on your Mail Id.
Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.