EasyManuals Logo

Allen-Bradley MicroLogix 1200 Reference Manual

Allen-Bradley MicroLogix 1200
424 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #204 background imageLoading...
Page #204 background image
Publication 1762-RM001C-EN-P
15-4 Sequencer Instructions
This instruction uses the following operands:
File - This is the sequencer reference file. Its contents, on an
element-by-element basis, are masked and compared to the masked
value stored in source.
Mask - The mask operand contains the mask constant, word, or file
which is applied to both file and source. When mask bits are set to 1,
data is allowed to pass through for comparison. When mask bits are
reset to 0, the data is masked (does not pass through to for
comparison). The immediate data ranges for mask are from 0 to
0xFFFF or 0 to 0xFFFFFFFF.
.
Source - This is the value that is compared to file.
Control - This is a control file address. The status bits, stack length,
and the position value are stored in this element. The control element
consists of 3 words:
Length - The length operand contains the number of steps in the
sequencer file (as well as Mask and/or Source if they are file data
types). The length of the sequencer can range from 1 to 256.
Position - This is the current location or step in the sequencer file (as
well as Mask and/or Source if they are file data types). It determines
the next location in the stack to receive the current comparison data.
Position is a component of the control register. The position can range
from 0 to 255 for words and 0 to 127 for long words. The position is
incremented on each false-to-true transition.
NOTE
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.
NOTE
If mask is direct or indirect, the position selects the
location in the specified file.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Word 0
EN
(1)
(1) EN - Enable Bit is set by a false-to-true rung transition and indicates that the instruction is enabled.
--
DN
(2)
(2) DN - Done Bit is set after the instruction has operated on the last word in the sequencer file. It is reset on the next
false-to-true rung transition after the rung goes false.
--
ER
(3)
(3) ER - Error Bit is set when the controller detects a negative position value, or a negative or zero length value. When the
ER bit is set, the minor error bit (S2:5/2) is also set.
not used
FD
(4)
(4) FD - Found bit is set when the status of all non-masked bits in the source address match those of the word in the
sequencer reference file. This bit is assessed each time the SQC instruction is evaluated while the rung is true.
not used
Word 1 Length - contains the number of steps in the sequencer reference file.
Word 2 Position - the current position in the sequence

Table of Contents

Other manuals for Allen-Bradley MicroLogix 1200

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley MicroLogix 1200 and is the answer not in the manual?

Allen-Bradley MicroLogix 1200 Specifications

General IconGeneral
SeriesMicroLogix 1200
TypeProgrammable Logic Controller (PLC)
MountingDIN rail or panel mount
Programming LanguageLadder Logic
Programming SoftwareRSLogix 500
I/O PointsUp to 40
Communication PortsRS-232, RS-485
Memory6 KB user memory
Power Supply24V DC or 120/240V AC
ExpansionSupports expansion I/O modules
Operating Temperature0°C to 55°C (32°F to 131°F)
Dimensions90 mm x 110 mm
Weight0.5 kg (1.1 lbs)

Related product manuals