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
IOS - I/O
DLS - Data Log
Address
Mode
(1)
Address Level
O
I
S
B
T, C, R
N
F
ST
L
MG, PD
RI/RIX
PLS
RTC
HSC
PTO, PWM
STI
EII
BHI
MMI
LCD
Immediate
Direct
Indirect
Element
Bit
Word
Long Word
File
(2)
•••• •• • •••
Mask
(2)
•• ••• • • • • •••
Destination
(2)
•• ••• • • • •••
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