Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 445
Sequencer Instructions (SQI, SQO, SQL) Chapter 10
Description: When enabled, the SQL instruction increments to the next position in the
sequencer array and loads the Source value into that position. If the .DN bit is set
or if .POS ≥ .LEN, the instruction sets .POS=1.
Typically use the same CONTROL structure as the SQI and SQO instructions.
Arithmetic Status Flags: Not affected
Fault Conditions:
Execution:
You must test and confirm that the instruction doesn’t
change data that you don’t want it to change.
The SQL instruction operates on contiguous memory. In
some cases, the instruction loads data past the array into
other members of the tag. This happens if the length is too
big and the tag is a user-defined data type.
A major fault will occur if Fault type Fault code
Length > size of Array 4 20
Condition Relay Ladder Action
Prescan The .EN bit is set to prevent a false load when the program scan begins.
The rung-condition-out is set to false.
Rung-condition-in is false The .EN bit is cleared.
The rung-condition-out is set to false.