![Allen-Bradley MicroLogix 1000 User Manual Download Page 201](http://html1.mh-extra.com/html/allen-bradley/micrologix-1000/micrologix-1000_user-manual_2900199201.webp)
Using Application Specific Instructions
11–13
Sequencer Load (SQL)
The SQL instruction stores 16-bit data into a sequencer load file at each step of
sequencer operation. The source of this data can be an I/O or internal word address,
a file address, or a constant.
Entering Parameters
Enter the following parameters when programming this instruction:
•
File is the address of the sequencer file. You must use the file indicator (#) for
this address.
•
Source can be a word address, file address, or a constant (–32768 to 32767).
If the source is a file address, the file length equals the length of the sequencer
load file. The two files step automatically, according to the position value.
•
Length is the number of steps of the sequencer load file (and also of the source
if the source is a file address), starting at position 1. The maximum number you
can enter is 104 words. Position 0 is the startup position. The instruction resets
(wraps) to position 1 at each cycle completion.
•
Position is the word location or step in the sequencer file to which data is
moved.
•
Control is a control file address. The status bits, length value, and position
value are stored in this element. Do not use the control file address for any
other instruction.
The control element is shown below:
EN DN ER
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Length
Position
Word 0
Word 1
Word 2
Programming
Execution Times
(
µ
sec) when:
True
False
53.41
28.12
(EN)
(DN)
SQL
SEQUENCER LOAD
File
Source
Control
Length
Position
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive