Publication 1763-RM001C-EN-P - October 2009
246
Sequencer Instructions
Addressing Modes and File Types can be used as shown in the following
table:
SQL - Sequencer Load
Instruction Type: output
On a false-to-true rung transition, the SQL instruction loads words or long
words into a sequencer file at each step of a sequencer operation. This
instruction uses the following operands:
•
File - This is the sequencer reference file. Its contents are received
on an element-by-element basis from the source.
SQO Instruction Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page 82.
Parameter
Data Files
Function Files
CS - Comms
IO
S -
I/O
DL
S
-
Dat
a
L
o
g
Address
Mode
(1)
Address Level
O
I
S
B
T,
C
, R
N
F
ST
L
MG,
PD
RI/R
IX
PL
S
RTC
HS
C
PTO, PWM
STI
EII
BH
I
MMI
LC
D
Imme
diate
Di
re
c
t
Indir
e
c
t
Eleme
n
t
Bi
t
Wo
rd
Long
W
o
rd
File
(2)
•
•
•
•
•
•
•
•
•
•
Mask
•
•
•
•
•
•
•
•
•
•
•
•
Destination
•
•
•
•
•
•
•
•
•
•
•
Control
(3)
•
•
Length
•
•
Position
•
•
(1) See Important note about indirect addressing.
(2) File Direct and File Indirect addressing also applies.
(3) Control file only.
IMPORTANT
You cannot use indirect addressing with: S, ST, MG, PD,
RTC, HSC, PTO, PWM, STI, EII, BHI, MMI, CS, IOS, LCD,
and DLS files.
EN
DN
SQL
Sequencer Load
File
#N7:0
Source
I:0.0
Control
R6:0
Length
1<
Position
0<
SQL
Execution Time for the SQL Instruction
Controller
Data Size
When Rung Is:
True
False
MicroLogix 1100
word
19.27
μ
s
6.18
μ
s
long word
19.65
μ
s
6.18
μ
s
TIP
If file type is word, then mask and source must be
words. If file type is long word, mask and source
must be long words.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive