Publication 1762-RM001C-EN-P
Sequencer Instructions 15-5
Addressing Modes and File Types can be used as shown in the following
table:
SQO- Sequencer Output
Instruction Type: output
On a false-to-true rung transition, the SQO instruction transfers masked
source reference words or long words to the destination for the control of
sequential machine operations. When the rung goes from false-to-true, the
instruction increments to the next step (word) in the sequencer file. Data
stored there is transferred through a mask to the destination address
specified in the instruction. Data is written to the destination word every
time the instruction is executed.
The done bit is set when the last word of the sequencer file is transferred.
On the next false-to-true rung transition, the instruction resets the position
to step one.
Table 15.2 SQC Instruction Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page4-2.
Parameter
Data Files Function Files
CS - Comms
IOS - I/O
Address
Mode
(1)
(1) See Important note about indirect addressing.
Address
Level
O
I
S
B
T, C, R
N
ST
L
MG, PD
RTC
HSC
PTO, PWM
STI
EII
BHI
MMI
DAT
TPI
Immediate
Direct
Indirect
Bit
Word
Long Word
Element
File ••••• • •••
Mask •• ••• •
• • •••
Source •• ••• •
• •••
Control
(2)
(2) Control file only.
• •
Length
• •
Position
• •
IMPORTANT
You cannot use indirect addressing with: S, ST, MG, PD,
RTC, HSC, PTO, PWM, STI, EII, BHI, MMI, DAT, TPI, CS,
IOS, and DLS files.
EN
DN
SQO
Sequencer Output
File #B3:0
Mask N7:0
Dest N7:1
Control R6:0
Length 1<
Position 0<
SQO
Table 15.3 Execution Time for the SQO Instruction
Controller Data Size When Rung Is:
True False
MicroLogix 1200 word 23.2
µ
s7.1
µ
s
long word 26.6
µ
s7.1
µ
s
MicroLogix 1500 word 20.0
µ
s6.3
µ
s
long word 23.1
µ
s6.3
µ
s