6 plc-5 example – Rockwell Automation RECOMM-DNET DeviceNet Adapter for use with DPI AC Drives User Manual

Page 76

Advertising
background image

7-10

DeviceNet Adapter for use with DPI AC Drives

7.6

PLC-5 Example

Data Format for a Read and Write Parameter

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

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

Table 7.6 – Request Data for Read of Drive Parameter 101

Address Value (hex)

Description

Refer to . . .

N30:0

0101

TXID = 01, Command = 01 (execute)

Section 7.3

N30:1

0006

Port = 00, Size = 06 bytes

Section 7.3

N30:2

0E01

Service = 0E (Get_Attribute_Single)

Page C-10

Address = 01 (Node Address)

Section 7.3

N30:3

000F

Class = 0F (Parameter Object)

Page C-8

N30:4

0065

Instance = Parameter 101 (65 hex)

N30:5

0001

Attribute = 01 (Parameter Value)

Page C-9

Table 7.7 – Response Data for Read of Drive Parameter 101

Address Value (hex)

Description

Refer to . . .

N30:70

0101

TXID = 01, Status = 01 (successful)

Section 7.3

N30:71

0002

Port = 00, Size = 02 bytes

Section 7.3

N30:72

8E01

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

Section 7.3

N30:73

03E8

Response Data = 1000 (3E8 hex) = 10.00
seconds

Table 7.8 – Request Data for Write to Drive Parameter 101

Address Value (hex)

Description

Refer to . . .

N30:0

0101

TXID = 01, Command = 01 (execute)

Section 7.3

N30:1

0008

Port = 00, Size = 08 bytes

Section 7.3

N30:2

1001

Service = 10 (Set_Attribute_Single)

Page C-10

Address = 01 (Node Address)

Section 7.3

N30:3

000F

Class = 0F (Parameter Object)

Page C-8

N30:4

0065

Instance = Parameter 101 (65 hex)

N30:5

0001

Attribute = 01 (Parameter Value)

Page C-9

N30:6

07D0

Data = 2000 (7D0 hex) = 20.00 seconds

Table 7.9 – Response Data for Write to Drive Parameter 101

Address Value (hex)

Description

Refer to . . .

N30:70

0101

TXID = 01, Status = 01 (successfultransaction) Section 7.3

N30:71

0000

Port = 00, Size = 00 bytes

Section 7.3

N30:72

9001

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

Section 7.3

Advertising