Rockwell Automation 20-COMM-P Profibus Adapter User Manual

Page 79

Advertising
background image

Using Explicit Messaging (Parameter Protocol)

6-9

Writing Parameter 101 [Preset Speed 1] to the PowerFlex 70
(DPI Port 0)

Request

Response

RC

“2” (‘0010’ binary) to write a 8-bit or 16-bit
parameter

“3” (‘0011 binary) to write a 32-bit
parameter

RC

“1” (0001’) Transferring a 8-bit or 16-bit
parameter value

“2” (‘0010’) Transferring a 32-bit parameter
value

“7” (‘0111’) Request rejected (including fault
number)

SPM

Not used

SPM

Not Used

PNU

Parameter number being written

PNU

Confirms the Parameter number (equals the
PNU from the request)

Subindex

Selects which DPI port to talk to (“0”= DPI
Hosts “5”= 20-COMM-P on PowerFlex 70)

Subindex

Confirms the DPI Port (equals the Subindex
from the request)

Parameter value high

Contains the high word if writing a 32-bit
parameter

Parameter value high.

Confirms the high word if writing a 32-bit
parameter.

Parameter value low

Contains the write value for a 8-bit or 16-bit
parameter, or the low word if writing a 32-bit
parameter

Parameter value low.

Confirms the write value for a 8-bit or 16-bit
parameter, the low word (if writing a 32-bit
parameter, or the fault code (if RC=”7”)

Confirms Par. Access Word 2 of the request

Message

2000 hex = Change parameter value (word)

N20:10

Command

2065

1

P

ar

. Access

W

ord

SLC Address

Descr

iption

Value (he

x)

N10:12

N20:13

N20:12

N20:11

N10:10

N10:13

Reply

3

2

2

1

4

4

3

DPI Port 0 (DPI Host)

Not Used

64 hex = 100 dec = 10.0 Hz

Confirms Par. Number of the request ("65")

Transferring 16-bit parameter value ("1")

Not Used

Confirms Param. Access Word 4 of the request

65 hex = 101 dec (Pr.101)

1065

0

0

0

64

0

N10:11

64

20COMM-UM006A-EN-P.book Page 9 Friday, September 28, 2001 10:43 AM

Advertising