Plc-5 example, Plc-5 example -11 – Rockwell Automation 22-COMM-D DeviceNet Adapter User Manual

Page 67

Advertising
background image

Using Explicit Messaging

6-11

Data Format for a Read and Write Parameter

The data in this example is for a PowerFlex drive at node address 1.

Refer to

Formatting Explicit Messages

in this chapter for a description of

the content of the data file.

Request Data for Read of Drive Parameter 39

Response Data for Read of Drive Parameter 39

Request Data for Write to Drive Parameter 101

Response Data for Write to Drive Parameter 101

PLC-5 Example

Address

Value (hex) Description

Refer to . . .

N11:0

0101

TXID = 01, Command = 01 (execute)

6-5

N11:1

0006

Port = 00, Size = 06 bytes

6-5

N11:2

0E01

Service = 0E (Get_Attribute_Single)

C-10

Address = 01 (Node Address)

6-5

N11:3

000F

Class = 0F (Parameter Object)

C-8

N11:4

0027

Instance = Parameter 39 (27 hex)

N11:5

0001

Attribute = 01 (Parameter Value)

C-9

Address

Value (hex) Description

Refer to . . .

N11:100

0101

TXID = 01, Status = 01 (successful)

6-6

N11:101

0002

Port = 00, Size = 02 bytes

6-6

N11:102

8E01

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

6-6

N11:103

0064

Response Data = 100 (64 hex) = 10.0 seconds

Address

Value (hex) Description

Refer to . . .

N11:0

0101

TXID = 01, Command = 01 (execute)

6-5

N11:1

0008

Port = 00, Size = 08 bytes

6-5

N11:2

1001

Service = 10 (Set_Attribute_Single)

C-10

Address = 01 (Node Address)

6-5

N11:3

000F

Class = 0F (Parameter Object)

C-8

N11:4

0027

Instance = Parameter 39 (27 hex)

N11:5

0001

Attribute = 01 (Parameter Value)

C-9

N11:6

0064

Data = 100 (64 hex) = 10.0 seconds

Address

Value (hex) Description

Refer to . . .

N11:100

0101

TXID = 01, Status = 01 (successful transaction)

6-6

N11:101

0000

Port = 00, Size = 00 bytes

6-6

N11:102

9001

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

6-6

Advertising