beautypg.com

Rockwell Automation 1791-XXXX ANALOG BLOCK I/O User Manual

Page 42

background image

Analog Block Applications Using

Block Transfers

Chapter 4

4-2

Table 4.A

Bit/Word Descriptions for Block Transfer Read Instruction

Word

Decimal Bit

(Octal Bit)

Description

Bits 15 (17)

Power up (PU) status bit. This bit is set (1) if the module has not been

configured since the last power up. It is reset (0) when at least one valid BTW

has occurred since power up. Outputs are not enabled until the PU bit is reset.

Bit 14 (16)

Bad configuration (BC) bit. This bit is set (1) if an invalid configuration data has

been received, and the previous configuration remains in effect.

Bit 13 (15)

Out of range (OR) bit. When set, indicates one or both of the outputs has

received a value which exceeds the output range. Outputs are clamped at their

maximum or minimum values depending on the direction of the out of range

value.

Word 0

Bits 08Ć12

(10Ć14)

Status Codes. When the Bad Configuration (BC) bit 14 (16), is set (1), the

status code indicates the following:

1 Ć output channel 0 scaling error

2 Ć output channel 1 scaling error

3 Ć input channel 0 scaling error

4 Ć input channel 1 scaling error

5 Ć input channel 2 scaling error

6 Ć input channel 3 scaling error

7 Ć channel 0 alarm error

8 Ć channel 1 alarm error

9 Ć channel 2 alarm error

A Ć channel 3 alarm error

When the output out of range (OR) bit 13 (15) is set (1), the status code bits

indicate the following:

Bit 08 (10) Ć output 0 has been clamped at its minimum

Bit 09 (11) Ć output 1 has been clamped at its minimum

Bit 10 (12) Ć output 0 has been clamped at its maximum

Bit 11 (13) Ć output 1 has been clamped at its maximum

Bits 04Ć07

High alarm bits. Set (1) if the input channel value is greater than the

corresponding high alarm value.

Bit 04 Ć high alarm bit for channel 0

Bit 05 Ć high alarm bit for channel 1

Bit 06 Ć high alarm bit for channel 2

Bit 07 Ć high alarm bit for channel 3

Bits 00Ć03

Low alarm bits. Set (1) if the input channel value is less than the corresponding

low alarm value.

Bit 00 Ć low alarm bit for channel 0

Bit 01 Ć low alarm bit for channel 1

Bit 02 Ć low alarm bit for channel 2

Bit 03 Ć low alarm bit for channel 3

Word 1

Bits 00Ć15

(00Ć17)

Input data for channel 0.

Word 2

Bits 00Ć15

(00Ć17)

Input data for channel 1.

Word 3

Bits 00Ć15

(00Ć17)

Input data for channel 2.

Word 4

Bits 00Ć15

(00Ć17)

Input data for channel 3.