Output Latch (Otl); Relay Ladder; Structured Text - Allen-Bradley Logix5000 Reference Manual

1756 controllogix, 1768 compactlogix, 1769 compactlogix, 1789 softlogix, 1794 flexlogix, powerflex 700s with drivelogix
Hide thumbs Also See for Logix5000:
Table of Contents

Advertisement

Chapter 2
Bit Instructions (XIC, XIO, OTE, OTL, OTU, ONS, OSR, OSF, OSRI, OSFI)

Output Latch (OTL)

Description:
Arithmetic Status Flags:
Fault Conditions:
Condition
Prescan
Rung-condition-in is false
Rung-condition-in is true
Postscan
98
The OTL instruction sets (latches) the data bit.
Operands:

Relay Ladder

Operand
Data bit

Structured Text

Structured text does not have an OTL instruction, but you can achieve the same
results by using an IF...THEN construct and an assignment.
IF BOOL_expression THEN
data_bit := 1;
END_IF;
See
Function Block Attributes
expressions, and assignments within structured text.
When enabled, the OTL instruction sets the data bit. The data bit remains set
until it is cleared, typically by an OTU instruction. When disabled, the OTL
instruction does not change the status of the data bit.
Not affected
None
Execution:
Relay Ladder Action
The data bit is not modified.
The rung-condition-out is set to false.
The data bit is not modified.
The rung-condition-out is set to false.
The data bit is set.
The rung-condition-out is set to true.
The data bit is not modified.
The rung-condition-out is set to false.
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Type
Format
BOOL
Tag
for information on the syntax of constructs,
Description
Bit to be set

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents