User manual
Instruction Set
Sequencer 3-35
Sequencer Instructions
Instruction Description
Sequencer Input
SQI
The SQI instruction compares the Source (#I:031) input image data through a Mask (FFF0) to
Reference data (#N7:11) to see if the two files are equal. The operation is controlled by the
information in the control file R6:21. When the status of all unmasked bits of the word pointed to
by control element R6:21 matches the corresponding reference bits, the rung instruction goes
true.
Sequencer Load
SQL
Status Bits:
EN – Enable
DN – Done Bit
ER - Error Bit
The SQL instruction loads data into the sequencer File (#N7:20) from the source word (I:002) by
stepping through the number of elements specified by Length (5) of the Source (I:002), starting
at the Position (0). The operation is controlled by the information in the control file R6:22. When
the rung goes from false-to-true, the SQL instruction increments the next step in the sequencer
file and loads the data into it for every scan that the rung remains true.
Sequencer Output
SQO
Status Bits:
EN – Enable
DN – Done Bit
ER - Error Bit
When the rung goes from false-to-true, the SQO instruction increments to the next step in the
sequencer File (#N7:1). The data in the sequencer file is transferred through a Mask (0F0F) to
the Destination (O:014) for every scan that the rung remains true.
SEQUENCER INPUT
File #N7:11
Mask FFF0
Source #I:031
Control R6:21
Length 4
Position 0
SQI
SEQUENCER LOAD
File #N7:20
Source I:002
Control R6:22
Length 5
Position 0
SQL
SEQUENCER OUTPUT
File #N7:1
Mask 0F0F
Dest O:014
Control R6:20
Length 4
Position 0
SQO