beautypg.com

Offset programming chapter 5 – Rockwell Automation 1771-DE Absolute Encoder Module User Manual User Manual

Page 35

background image

Offset Programming

Chapter 5

5Ć4

Figure 5.1

Format of BlockĆtransferĆwrite Data with Offset

17 16 15 14 13 12 11 10 07 06 05 04 03 02 01 00

OE ZT

<

Word #1

> =

<

> =

OE ZT

<

> =

<

> =

Control Word for

Outputs 0 and 1

2

Preset 0A

3

Preset 0B

4

Preset 1A

5

Preset 1B

OE ZT

<

6

> =

<

> =

OE ZT

<

> =

<

> =

Control Word for

Outputs 2 and 3

7

Preset 2A

8

Preset 2B

9

Preset 3A

10

Preset 3B

OE ZT

<

11

> =

<

> =

OE ZT

<

> =

<

> =

Control Word for

Outputs 4 and 5

12

Preset 4A

13

Preset 4B

14

Preset 5A

15

Preset 5B

OE ZT

<

16

> =

<

> =

OE ZT

<

> =

<

> =

Control Word for

Outputs 6 and 7

17

Preset 6A

18

Preset 6B

19

Preset 7A

20

Preset 7B

21

Offset Value

22

No. of Encoder Positions

S

A. Write-data words

B. Format of control

word #1

OE ZT

<

> =

<

> =

OE ZT

<

> =

<

> =

COM for

Preset 1B

COM for

Preset 1A

COM for

Preset 0B

COM for

Preset 0A

OE = Output Enable Bit

ZT = Zero Transition Bit

COM = Comparison Bit

S = Offset Sign Bit

10698ĆI

BlockĆtransferĆread Data with Offset

The upper byte of word 1 indicates the status of the eight outputs
controlled by the module. The module sets each bit when the
corresponding output is turned on.

The lower byte of word 1 (by bit) is: