Bit/word definitions for block transfer read words – Rockwell Automation 1794-ID2 U.MNL INCREMENTAL ENCODER User Manual

Page 47

Advertising
background image

4–3

Writing Configuration to and Reading Status from Your Module with a Remote I/O Adapter

Publication 1794ĆUM015B-EN-P - May 2001

Block Transfer Read Word Assignments for the Incremental
Encoder Module (1794-ID2)

(Octal Bit

)

17

16

15

14

13

12

11

10

07

06

05

04

03

02

01

00

Dec. Bit

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

Word

Read

0

CTD1 CTD0 PR1

PR0

S1

S0

C1

C0

G1

Z1

B1

A1

G0

Z0

B0

A0

1

Channel 0 - Stored counter value on channel 0

2

Channel 1 - Stored counter value on channel 1

3

Channel 0 - current counter value on channel 0

4

Channel 1 - current counter value on channel 1

5

Channel 0 - Counter word readback

6

Channel 1 - Counter word readback

7

Revision read - software version code

Where: A0 = Status of input A, channel 0 - bit = 1 when input is on

B0 = Status of input B, channel 0 - bit = 1 when input is on

Z0 = Status of input Z, channel 0 - bit = 1 when input is on

G0 = Status of input G, channel 0 - bit = 1 when input is on

G1 = Status of input G, channel 1 - bit = 1 when input is on

A1 = Status of input A, channel 1 - bit = 1 when input is on

B1 = Status of input B, channel 1 - bit = 1 when input is on

Z1 = Status of input Z, channel 1 - bit = 1 when input is on

C0 = Cal 0 - when bit is set, counter 0 has been calibrated (reset by CalReset)

C1 = Cal 1 - when bit is set, counter 1 has been calibrated (reset by CalReset)

S0 = Stored 0 - when bit is set, counter 0 value has been saved in Store 0 (reset by StoreReset)

S1 = Stored 1 - when bit is set, counter 1 value has been saved in Store 1 (reset by StoreReset)

Once a Store occurs, L0 and L1 are on until cleared by StoreReset (counter word bit 14)

PR0 = Preset 0 reached - when bit is set, counter 0 has reached value of preset

(reset by PresetReset)

PR1 = Preset 1 reached - when bit is set, counter 1 has reached value of preset

(reset by PresetReset)

Bit/Word Definitions for Block Transfer Read Words

for the

Incremental Encoder Module

Read

Word

Bit

Definition

Bit 00

Status for input A (pulse transmitter 0) - This bit, when set, indicates a signal at A.

Bit 01

Status for input B (pulse transmitter 0) - This bit, when set, indicates a signal at B.

Word 0

Bit 02

Status for input Z (pulse transmitter 0) - This bit, when set, indicates a signal at Z.

Word 0

Bit 03

Status for input G (pulse transmitter 0) -This bit, when set, indicates a signal at G.

Bit 04

Status for input A (pulse transmitter 1) - This bit, when set, indicates a signal at A.

Bit 05

Status for input B (pulse transmitter 1) - This bit, when set, indicates a signal at B.

Advertising