Dcm/slc output status word examination (octal) – Rockwell Automation 1747-DCM,D17476.8 Direct Communication Module User Manual

Page 48

Advertising
background image

Chapter 6
Programming

6–6

DCM/SLC Output Status Word Examination (Octal)

This is the output image status word sent in a data transfer from a DCM to a
supervisory processor/scanner. These bits can be used as conditional logic in
your supervisory processor program to flag DCM or SLC system errors
and/or status. DCM/SLC status bits not defined below are reserved for
future use.

Both the decimal and octal bit addresses are shown below to assist you in
programming your supervisory (PLC) processor and distributed SLC
processor.

Logical OR of Status Word bits 11 and 12 (9 and 10 for
SLC). It is set when either 11 or 12 (9 or 10) is set. It is
cleared when 11 or 12 (9 or 10) is cleared.

Program/Test/Fault Mode bit. This bit is set whenever
the SLC controlling the DCM is in the Program, Test, or
Fault Mode.

DCM Output Data Invalid bit.

This bit is set when DCM output image data

could be invalid.

User Status Flag bit. This status bit is available for you to use in your application.

ЙЙ

ЙЙ

ЙЙЙ

ЙЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙЙ

ЙЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙЙ

ЙЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙЙ

ЙЙЙ

ЙЙ

ЙЙ

Й

Й

0

ЙЙ

ЙЙ

1

Й

Й

3

ЙЙ

ЙЙ

4

ЙЙ

ЙЙ

2

ЙЙ

ЙЙ

5

Й

Й

6

НН

НН

10

НН

НН

11

ЙЙ

ЙЙ

7

НН

НН

12

НН

НН

13

ЙЙ

ЙЙ

16

ЙЙ

ЙЙ

14

ЙЙ

ЙЙ

17

ЙЙ

ЙЙ

15

PLC

Reserved Bits

ЙЙ

ЙЙ

Status Bits

ЙЙ

ЙЙ

ЙЙЙ

ЙЙЙ

ЙЙ

ЙЙ

ЙЙЙ

ЙЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙЙ

ЙЙЙ

ЙЙ

ЙЙ

ЙЙЙ

ЙЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙЙ

ЙЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙ

ЙЙЙ

ЙЙЙ

ЙЙ

ЙЙ

Й

Й

0

ЙЙ

ЙЙ

1

Й

Й

3

ЙЙ

ЙЙ

4

ЙЙ

ЙЙ

2

ЙЙ

ЙЙ

5

Й

Й

6

Й

Й

8

ЙЙ

ЙЙ

9

ЙЙ

ЙЙ

7

ЙЙ

ЙЙ

10

ЙЙ

ЙЙ

11

ЙЙ

ЙЙ

14

ЙЙ

ЙЙ

12

ЙЙ

ЙЙ

15

ЙЙ

ЙЙ

13

SLC

Always use the DCM Output Data Invalid bit to determine the validity of SLC data sent from the DCM to the

scanner. If you use the Program/Test/Fault Mode bit you may incorrectly receive an indication that the SLC
data being sent from the DCM to the scanner is valid. This occurs because for a brief period after the
Program/Test/Fault mode bit is cleared the data sent from the DCM to the scanner will not be valid.

Advertising