Rockwell Automation RECOMM-PBUS PROFIBUS Communications Module User Manual

Page 89

Advertising
background image

Using Explicit Messaging (Parameter Protocol)

7-15

l

Figure 7.12 – Sample SLC Ladder Logic - Station 2 Parameter Protocol (Continued)

N10:24 is the Station 2 Response Parameter Access Word 1. It is < > 0 when a message has been received in response to a
message request. If the response is >= 7000 hex (28672 decimal), then the module is responding that an error has occurred. In
this case, the returned data in the response will contain a fault code and not parameter value data.

The response message can be found at:
N7:40 = PCA word = contains the RC and PNU
N7:41 = Subindex = the DPI port # ("0"= Host or SP600 drive, "5" = RECOMM-PBUS, etc.)
N7:42 = PVA #1 = the parameter value (high word)
N7:43 = PVA #2 = the parameter value (low word)
The PVA's will either contain parameter read data, echo the parameter write data, or contain an error code if unsuccessful.

0017

B3:19

0

Station 2
Par Prot
Messaging
Request

NEQ

Not Equal
Source A

N10:24

0<
Source B

0

0<

Station 2
RESPONSE
PCA Word

COP

Copy File
Source

#N10:24

Dest

#N7:40

Length

4

COP

RESPONSE Message
PCA Word

MOV

Move
Source

0

0<
Dest

N20:24

0<

MOV

Station 2
PCA Word

U

B3:19

0

Station 2
Par Prot
Messaging
Request

0018

END

Advertising