Write examples – Rockwell Automation 20-COMM-P Profibus Adapter User Manual

Page 78

Advertising
background image

6-8

Using Explicit Messaging (Parameter Protocol)

Reading Par. 244 [Fault 1 Time] from the PowerFlex 70 (DPI Port 0)

Note 1: 1B518E hex = 1790350 decimal which equates to 170.0350
hours (fixed decimal point.)

Write Examples

Figure 6.4 Overview Parameter Message Format (Write Request)

Bit 15-12

11

10-0

15-12

11

10-0

Parameter
Access
Word 1
(PCA)

RC

SPM

PNU

RC

SPM

PNU

Parameter
Access
Word 2
(IND)

Subindex

Subindex

Parameter
Access
Word 3
(PVA)

Parameter value high

(32 bit high word)

Parameter value high

(32 bit high word)

Parameter
Access
Word 4
(PVA)

Parameter value low

(32-bit low word/

or 8-bit/16-bit value)

Parameter value low

(32-bit low word/

or 8-bit/16-bit value)

Confirms Par. Access Word 2 of the request
(DPI Port #)

Message

1000 hex = Read

N20:10

Command

1

Par

. Access

Wo

rd

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

Not Used

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

Transferring 16-bit parameter value ("1")

Parameter value high word*1

F4 hex = 244 dec (Pr. 244)

0

0

0

518E

1B

N10:11

0

Parameter value low word*1

*Note 1: 1B518E hex = 1,790,350 decimal equates to 179.0350
hours (fixed decimal point)

10F4

10F4

Request

Response

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

Advertising