Plc-5 example, Using explicit messaging (continued) – Rockwell Automation 160-DN2 160-DN2 DeviceNet Communication Module FRN 3.xx User Manual

Page 71

Advertising
background image

Publication 0160-5.18 - June 2003

Using 160-DN2 with DeviceNet Scanner

6-33

Using Explicit Messaging
(Continued)

PLC-5 Example

Data Format for a Read and Write Parameter

The data in this example is for a Bulletin 160-SSC drive at MAC ID
1.

For a description of the content of the data file, refer to the

Formatting Explicit Messages

” subsection starting on

Page 6-23

.

Request Data for Read of Drive Parameter 3

Response Data for Read of Drive Parameter 3

Request Data for Write to Drive Parameter 30

Response Data for Write to Drive Parameter 30

Address

Value (hex)

Description

Refer to . . .

N30:0

0101

TXID = 01, Command = 01 (execute)

6-27

N30:1

0006

Port = 00, Size = 06 bytes

6-27

N30:2

0E01

Service = 0E (Get_Attribute_Single)

B-21

Address = 01 (Drive Node Address)

6-27

N30:3

00B3

Class = B3 (160 Parameter Table Object)

6-27

,

B-18

N30:4

0001

Instance = 1 (Number of Instances)

6-27

,

B-18

N30:5

0003

Attribute = 03 (Parameter Number)

6-27

,

B-18

Address

Value (hex)

Description

Refer to . . .

N30:70

0101

TXID = 01, Status = 01 (successful)

6-28

N30:71

0002

Port = 00, Size = 02 bytes

6-28

N30:72

8E01

Service = 8E (successful),
Address = 01 (Drive Node Address)

6-28

N30:73

0258

Response Data = 600 = 6.00 amperes

Address

Value (hex)

Description

Refer to . . .

N30:0

0101

TXID = 01, Command = 01 (execute)

6-27

N30:1

0008

Port = 00, Size = 08 bytes

6-27

N30:2

1001

Service = 10 (Set_Attribute_Single)

B-21

Address = 01 (Drive Node Address)

6-27

N30:3

00B3

Class = B3 (160 Parameter Table Object)

6-27

,

B-18

N30:4

0001

Instance = 1 (Number of Instances)

6-27

,

B-18

N30:5

001E

Attribute = 30 (Parameter Number)

6-27

,

B-18

N30:6

07D0

Data = 2000 = 20.00 seconds

Address

Value (hex)

Description

Refer to . . .

N30:70

0101

TXID = 01, Status = 01 (successful transaction)

6-28

N30:71

0000

Port = 00, Size = 00 bytes

6-28

N30:72

9001

Service = 90 (successful)
Address = 01 (Drive Node Address)

6-28

Advertising