Read/write function block data, Read/write function block data -20 – Rockwell Automation 1760-DNET Pico DeviceNet Communications Module User Manual User Manual

Page 100

Advertising
background image

Publication 1760-UM003A-EN-P - September 2005

7-20 Pico GFX Control Commands

Read/write function block
data

Always note the following when working with function blocks:

• The relevant data is transferred in Intel format. In other words,

the first byte is the low byte (Byte 4) and the last byte (byte 7)
the high byte.

• The maximum data length is 4 bytes. All values must be

transferred in hexadecimal format.

• All 32-bit values are treated as signed values. When transferring

32-bit values, ensure that the appropriate value range is suitable
for long integers, i.e. signed.
32-bit value: –2147483648 .. 0 .. +2147483647

For SN1 – SN32: 0A

For SN1 – SN32: 0A

2

3

Index

01 – 08

(1)

01 – 08

(1)

3 – 6

4 – 7

Data 1 – 4

00

Table 6.97

(1) Corresponds to NET-ID

Table 6.97 Byte 4 to 7: Data 1 to 4

Data 1

Bit

7

6

5

4

3

2

1

0

RN1

SN1

...

0/1

...

0/1

RN8

SN8

0/1

Data 2

Bit

7

6

5

4

3

2

1

0

RN9

SN9

0/1

....

...

RN16

SN16

0/1

Data 3

Bit

7

6

5

4

3

2

1

0

RN17

SN17

0/1

...

...

RN24

SN24

0/1

Data 4

Bit

7

6

5

4

3

2

1

0

RN25

SN25

0/1

...

...

RN32

SN32

0/1

Table 6.96

Byte

Meaning

Value (hex), sent by

Master

Slave

Master

Slave

Advertising