beautypg.com

7 slc example – Rockwell Automation DeviceNet Communications Module User Manual

Page 73

background image

Using Explicit Messaging

7-13

7.7

SLC Example

Data Format for a Read and Write Parameter

The data in this example is for an MD65 drive at node address 1.

Refer to section 7.2 for a description of the content of the data file.

Table 7.10 – Request Data for Read of Drive Parameter 101

Address Value (hex)

Description

Refer to ...

N9:10

0101

TXID = 01, Command = 01 (execute)

Section 7.3

N9:11

0006

Port = 00, Size = 06 bytes

Section 7.3

N9:12

0E01

Service = 0E (Get_Attribute_Single)

Page C-10

Address = 01 (Node Address)

Section 7.3

N9:13

000F

Class = 0F (Parameter Object)

Page C-8

N9:14

0027

Instance = Parameter 39 (27 hex)

N9:15

0001

Attribute = 01 (Parameter Value)

Page C-10

Table 7.11 – Response Data for Read of Drive Parameter 101

Address Value (hex)

Description

Refer to ...

N9:50

0101

TXID = 01, Status = 01 (successful)

Section 7.3

N9:51

0002

Port = 00, Size = 02 bytes

Section 7.3

N9:52

8E01

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

Section 7.3

N9:53

0064

Response Data = 100 (64 hex) = 10.0 seconds

Table 7.12 – Request Data for Write to Drive Parameter 101

Address Value (hex)

Description

Refer to ...

N9:10

0101

TXID = 01, Command = 01 (execute)

Section 7.3

N9:11

0008

Port = 00, Size = 08 bytes

Section 7.3

N9:12

1001

Service = 10 (Set_Attribute_Single)

Page C-10

Address = 01 (Node Address)

Section 7.3

N9:13

000F

Class = 0F (Parameter Object)

Page C-8

N9:14

0027

Instance = Parameter 39 (27 hex)

N9:15

0001

Attribute = 01 (Parameter Value)

Page C-9

N9:16

0064

Data = 100 (64 hex) = 10.0 seconds

Table 7.13 – Response Data for Write to Drive Parameter 101

Address Value (hex)

Description

Refer to ...

N9:50

0101

TXID = 01, Status = 01 (successful transaction) Section 7.3

N9:51

0000

Port = 00, Size = 00 bytes

Section 7.3

N9:52

9001

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

Section 7.3