Chapter 16 Sqc- Sequencer Compare; Chapter 16 Sequencer Instructions Sqc- Sequencer Compare - Allen-Bradley MicroLogix 1400 Instruction Manual

Programmable controllers
Hide thumbs Also See for MicroLogix 1400:
Table of Contents

Advertisement

efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive
288
Sequencer Instructions
SQC- Sequencer
Compare
SQC
SQC
Sequencer Compare
EN
File
#B3:0
Mask
N7:0
DN
Source
I:0.0
FD
Control
R6:0
Length
1<
Position
0<
Publication 1766-RM001A-EN-P - October 2008
Instruction Type: output
Execution Time for the SQC Instruction
Controller
Data Size
MicroLogix 1400
word
long word
On a false-to-true rung transition, the SQC instruction is used to compare
masked source words or long words with the masked value at a reference
address (the sequencer file) for the control of sequential machine
operations.
When the status of all non-masked bits in the source word match those of
the corresponding reference word, the instruction sets the found bit (FD)
in the control word. Otherwise, the found bit (FD) is cleared.
The bits mask data when reset (0) and pass data when set (1).
The mask can be fixed or variable. If you enter a hexadecimal code, it is
fixed. If you enter an element address or a file address (direct or indirect)
for changing the mask with each step, it is variable.
When the rung goes from false-to-true, the instruction increments to the
next step (word) in the sequencer file. Data stored there is transferred
through a mask and compared against the source for equality. While the
rung remains true, the source is compared against the reference data for
every scan. If equal, the FD bit is set in the SQCs control counter.
Applications of the SQC instruction include machine diagnostics.
When Rung Is:
True
False
3.1762 µs
0.8505 µs
3.2480 µs
0.9823 µs

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents