Read local inputs: iw0 – Rockwell Automation 1760-DNET Pico DeviceNet Communications Module User Manual User Manual

Page 90

Advertising
background image

Publication 1760-UM003A-EN-P - September 2005

7-10 Pico GFX Control Commands

Example

Data 1 = F8, Data 2 = FF

l In the Pico-NET network, the three stations

are present with the NET IDs 1, 2, 3

Read local inputs: IW0

This command string enables you to read the local inputs of the Pico
GFX. The relevant input word is stored in Intel format.

Table 6.80 Telegram Structure

Byte

Meaning

Value (hex), sent by

Master

Slave

Master

Slave

Attribute ID: Read

91

0

Response:

Read successful

C2

Command rejected

C0

0

1

Len

02

02

1

2

Type

01

01

2

3

Index

00

00

3

4

Data 1 (Low Byte)

00

Table 6.81

4

5

Data 2 (High Byte)

00

Table 6.81

5 – 6

6 – 7

Data 3 – 4

00

00

Table 6.81 Byte 4 to 5: Data 1 to 2

Data 1

Bit

7

6

5

4

3

2

1

0

I1

0/1

I2

0/1

..

..

I8

0/1

Data 2

Bit

7

6

5

4

3

2

1

0

I9

0/1

I10

0/1

..

..

I16

0/1

Advertising