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

Page 73

Advertising
background image

Publication 0160-5.18 - June 2003

Using 160-DN2 with DeviceNet Scanner

6-35

Using Explicit Messaging
(Continued)

SLC 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 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 . . .

N20:10

0101

TXID = 01, Command = 01 (execute)

6-27

N20:11

0006

Port = 00, Size = 06 bytes

6-27

N20:12

0E01

Service = 0E (Get_Attribute_Single)

B-21

Address = 01 (Drive Node Address)

6-27

N20:13

00B3

Class = B3 (160 Parameter Table Object)

6-27

,

B-18

N20:14

0001

Instance = 1 (Number of Instances)

6-27

,

B-18

N20:15

0003

Attribute = 03 (Parameter Number)

6-27

,

B-18

Address

Value (hex)

Description

Refer to . . .

N20:50

0101

TXID = 01, Status = 01 (successful)

6-28

N20:51

0002

Port = 00, Size = 02 bytes

6-28

N20:52

8E01

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

6-28

N20:53

0258

Response Data = 600 = 6.00 amperes

Address

Value (hex)

Description

Refer to . . .

N20:10

0101

TXID = 01, Command = 01 (execute)

6-27

N20:11

0008

Port = 00, Size = 08 bytes

6-27

N20:12

1001

Service = 10 (Set_Attribute_Single)

B-21

Address = 01 (Node Address)

6-27

N20:13

00B3

Class = B3 (160 Parameter Table Object)

6-27

,

B-18

N20:14

0001

Instance = 1 (Number of Instances)

6-27

,

B-18

N20:15

001E

Attribute = 30 (Parameter Number)

6-27

,

B-18

N20:16

07D0

Data = 2000 = 20.00 seconds

Address

Value (hex)

Description

Refer to . . .

N20:50

0101

TXID = 01, Status = 01 (successful transaction)

6-28

N20:51

0000

Port = 00, Size = 00 bytes

6-28

N20:52

9001

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

6-28

Advertising