Sequencer instructions overview, Sequencer output (sqo) and sequencer compare (sqc) – Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual
Page 232

Chapter 13
Using Application Specific Instructions
13–6
The following general information applies to sequencer instructions.
Entering the Instructions
The following items apply when entering the instructions:
•
Whenever you see asterisks on the display, the HHP is waiting for data
entry (i.e., a number).
•
You can return to previously entered operands by pressing this key:
Then if you want to edit that operand, press
DEL
or
FUN-DEL
and enter
new parameters. Press
ENT
to accept the operand and move on to the next
one. Once the entire instruction is entered, if you want to edit the
instruction’s parameters, you must go into the overwrite mode. (See page
17–4.)
Effects on Index Register S24
The value present in the index register S24 is overwritten when the sequencer
instruction is true. The index register value will equal the position value of
the instruction.
These instructions transfer 16-bit data to word addresses for the control of
sequential machine operations.
Entering Parameters
Enter the following parameters when programming these instructions:
•
File is the address of the sequencer file. You must use the file indicator
(#) for this address. (The HHP inserts the # character automatically.)
Sequencer file data is used as follows:
Instruction
Sequencer File Stores
SQO
Data for controlling outputs
SQC
Reference data for monitoring inputs
•
Mask (SQO, SQC) is a hexadecimal code or the address of the mask
word or file through which the instruction moves data. Set mask bits to
pass data and clear mask bits to prevent the instruction from operating or
corresponding destination bits. Use a mask word or file if you want to
change the mask according to application requirements.
If the mask is a file, its length will be equal to the length of the sequencer
file. The two files track automatically.
•
Source is the address of the input word or file for a SQC from which the
instruction obtains data for comparison to its sequencer file.
Sequencer Instructions
Overview
(EN)
(DN)
SQC
SEQUENCER COMPARE
File
#B3:8
Mask
FFF0
Source
I:0.0
Control
R6:3
Length
4
Position
2
(FD)
SQO
SEQUENCER OUTPUT
File
#B3:1
Mask
0F0F
Dest
O:0.0
Control
R6:5
Length
4
Position
2
(EN)
(DN)
False
60.52
True
27.40
SQO
60.52
27.40
SQC
Execution Times (
µ
sec) when:
Ladder representation:
Sequencer Output (SQO) and
Sequencer Compare (SQC)