Rockwell Automation 20-COMM-D DeviceNet Adapter Series B FRN 2.xxx User Manual

Page 151

Advertising
background image

Using Explicit Messaging

6-23

20-COMM-D DeviceNet Adapter User Manual

Publication 20COMM-UM002G-EN-P

Table 6.L Example Scattered Read Request Data

Figure 6.25 Example Scattered Read Request Data File

Address

Value

Description

Hex.

(1)

(1)

In RSLogix 5 software, leading zeros are not displayed in data file addresses. For example, ‘0024’ in address

N30:1 is shown as ‘24’.

Dec.

N30:0

0101

257

TXID = 01, Command = 01 (execute)

N30:1

0024

36

Port = 00, Size = 36 bytes

(2)

(2)

The maximum number of bytes that can be entered is 120 (78 Hex.), which represents 19 parameters. The

number of required bytes always includes 2 for the Class, 2 for the Instance, 2 for the Attribute, 2 for each

parameter being read, and 4 for each parameter value (2 bytes for the Least SIgnificant Word and 2 bytes for the

Most Significant Word). For this example where 5 parameters are being read, a value of 36 bytes is required.

N30:2

4B01

19201

Service = 4B (Get_Attribute_Single), Address = 01 (Node)

N30:3

0093

147

Class = 93 (DPI Parameter Object)

N30:4

0000

0

Instance = Class Attributes (drive)

N30:5

0000

0

Attribute = 0 (Parameter Value)

N30:6

0001

1

Parameter Number Read = 1 [Output Freq]

N30:7

0000

0

Pad Word = 0 (always zero)

N30:8

0000

0

Pad Word = 0 (always zero)

N30:9

0003

3

Parameter Number Read = 3 [Output Current]

N30:10

0000

0

Pad Word = 0 (always zero)

N30:11

0000

0

Pad Word = 0 (always zero)

N30:12

0006

6

Parameter Number Read = 6 [Output Voltage]

N30:13

0000

0

Pad Word = 0 (always zero)

N30:14

0000

0

Pad Word = 0 (always zero)

N30:15

000C

12

Parameter Number Read = 12 [DC Bus Current]

N30:16

0000

0

Pad Word = 0 (always zero)

N30:17

0000

0

Pad Word = 0 (always zero)

N30:18

0011

17

Parameter Number Read = 17 [Analog In2 Value]

N30:19

0000

0

Pad Word = 0 (always zero)

N30:20

0000

0

Pad Word = 0 (always zero)

Advertising