Publication 1766-RM001A-EN-P - October 2008
294
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 92.
Parameter
Data Files
Function Files
CS - Com
m
s
IOS - I/O
DL
S -
D
a
ta
L
o
g
Address
Mode
(1)
Address Level
O
I
S
B
T,
C
, R
N
F
ST
L
MG, PD
RI/RIX
PLS
RTC
HSC
PTOX, PW
MX
STI
EII
BH
I
MMI
LCD
Immedia
te
Dir
e
c
t
Indir
e
ct
Ele
m
ent
Bit
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, MG, PD, RTC, HSC, PTOX,
PWMX, 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 1400
word
2.7700 µs
1.1741 µs
long word
2.8680 µs
1.2800 µ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