beautypg.com

Preface – Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual

Page 200

background image

Preface

MicroLogix 1000 Programmable Controllers User Manual

11–12

Applications of the SQC instruction include machine diagnostics. The following
figure explains how the SQC instruction works.

(DN)

(FD)

0010

0100

1001

1101

1111

1111

1111

0000

0010

0100

1001

1010

0
1
2
3
4

Step

B3:8

9

10
11
12

Word

Input Word I:0

Mask Value FFF0

Sequencer Ref File #B3:8

The SQC FD bit is set when the instruction detects that an input
word matches (thru mask) its corresponding reference word.

The FD bit R6:3/FD is set in this example, since the input word
matches the sequencer reference value using the mask value.

(EN)

SQC

SEQUENCER COMPARE
File

#B3:8

Mask

FFF0

Source

I:0

Control

R6:3

Length

4

Position

2