Back to tutorials
PLC Instructions

PLC Programming Fundamentals – OTU Instruction

By
Vladimir Romanov
Table of Contents

Introduction

The OTU, also known as Output Unlatch, instruction will set a bit to LOW if all the conditions leading to it evaluate to true. This instruction is one of the fundamental instructions for Programmable Logic Controllers (PLCs), but it should be used with caution. This instruction will be found on the right side within a ladder logic structure and turn a bit to a LOW state if the preceding instructions evaluate to true.

Example & Usage of OTU

Here’s a real-world scenario of an OTU instruction:

  1. A Micrologix 1100 Allen Bradley PLC is used to control a process.
  2. A motor contactor is connected to Output 0 (O:o/o of the PLC).
  3. A normally open push button (“System Stop”) is connected to Input 0 (I:0/1 of the PLC).
  4. An operator presses the start button.
  5. The XIC instruction is tied to I:0/0.
  6. The OTU instruction is tied to O:0/o.
  7. The OTU instruction unlatches the O:0/0 bit after the “System Stop” button is pressed which pulls the XIC to HIGH.

Programming example in RSLogix 500:

OTU Output Unlatch Instruction RSLogix 500

Outcome:
The OTU instruction will set the O:0/0 bit to a logic LOW.

Data Types Allowed for OTU

The OTU instruction will work with the following data types within the RSLogix 500 environment:

  • Boolean – The OTU may only evaluate FALSE or 0 or LOW.

Important Notes

  • Note 1 – The OTU instruction was initially used to reset the status of miscellaneous outputs landed on the PLC. However, it may be used on any boolean within the program. In other words, it can de-energize any boolean within the program. Through this property, programmers can utilize the OTU instruction for a wide range of applications.
  • Note 2 – Although it may seem like a good idea to introduce OTL and OTU instructions for every bit, there’s a catch. Depending on how the code is executed, you may run into scenarios where the logic will depend on the position of your rungs within the program. Avoid using OTL & OTU instructions unless absolutely necessary for the application.

Video Tutorial

Back to tutorials

Related Tutorials

Advanced

PowerFlex 525 Parameter, Input and Output Programming Tutorial in RSLogix Studio 5000

The PowerFlex 525 series of Variable Frequency Drives from Allen Bradley is highly utilized and respected within the automation field. The drives are compact, versatile and easy to use. We’ve written an extensive tutorial on how to get started with these drives in a previous tutorial; it covers how to initialize the drive, connect it to an EtherNet/IP based PLC and how to set the right parameters. In this tutorial, we’re looking to expand on the concepts and demonstrate a way to access and utilize the multiple Input and Output options available on the drive. The reason you may want to utilize the IO is to save money on purchasing external components, integrate instrumentation into your drive and save floor space, wiring and cost. We’ve seen the need to integrate closely related sensors into a PowerFlex 525 application; this would be the right way to do it.

By
Vladimir Romanov
Advanced

Publishing MQTT Data Using Opto 22 groov EPIC PAC

MQTT is a communication protocol that has taken off in the IIoT community. It’s a light-weight, efficient protocol that works through a publisher / broker / subscriber model. It creates an easy way for field devices to communicate and retrieve data from a single location. In this article, we’ll go over MQTT and dive into an example of how you can publish data using a groov EPIC PAC and retrieve the data using a MQTT client.

By
Vladimir Romanov
Intermediate

HMI Design - Best Practices for Effective HMI Screens

HMI Design is the practice of building HMI screens that are intuitive to the end user, pleasing to the eye and are efficient to operate. As control systems within manufacturing are migrated from traditional push button designs to primarily operated from HMI displays, HMI Design has become trivial to any new installation.Although there is a wide range of HMI based systems, the basic principles of good design remain the same. Different industries may dictate different patterns of layout for their systems, but the good practices remain.

By
Vladimir Romanov