440 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 10 Sequencer Instructions (SQI, SQO, SQL)
Sequencer Output (SQO)
The SQO instruction sets output conditions for the next step of a sequence pair
of SQO/SQI instructions.
Operands:
Relay Ladder
CONTROL Structure
Operand Type Format Description
Array DINT Array tag Sequencer array
Specify the first element of the sequencer array
Do not use CONTROL.POS in the subscript
Mask SINT
INT
DINT
Tag
Immediate
Which bits to block or pass
A SINT or INT tag converts to a DINT value by sign-extension.
Destination DINT Tag Output data from the sequencer array
Control CONTROL Tag Control structure for the operation
typically use the same CONTROL as the SQI and
SQL instructions
Length DINT Immediate Number of elements in the Array (sequencer
table) to output
Position DINT Immediate Current position in the array
Initial value is typically 0
Mnemonic Data Type Description
.EN BOOL The enable bit indicates that the SQO instruction is enabled.
.DN BOOL The done bit is set when all the specified elements have been moved to the Destination.
.ER BOOL The error bit is set when .LEN ≤ 0, .POS < 0, or .POS > .LEN.
.LEN DINT The length specifies the number of steps in the sequencer array.
.POS DINT The position identifies the element that the controller is currently manipulating.