Rockwell Automation 22-COMM-P PowerFlex Profibus Adapter User Manual
Page 103

SLC Ladder Logic Examples
D-15
N10:6 is the 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 adapter is responding that an error has occurred.
In this case, the returned data in the response will contain a fault code and not the parameter value data.
The response message can be found at:
N7:20 = PCA Word = contains RC and PNU
N7:21 = Subindex = the DPI port # ("0" = Station 0, "1" = Station 1, "2" = Station 2, "5" = 22-COMM-P, etc.)
N7:22 = PVA #1 = the parameter value (high word)
N7:23 = 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.
2
B3:19
0
Par Prot
Messaging
Request
NEQ
Not Equal
Source A
N10:6
0<
Source B
0
0<
NEQ
RESPONSE
PCA Word
COP
Copy File
Source
#N10:6
Dest
#N7:20
Length
4
COP
RESPONSE Message
PCA Word
MOV
Move
Source
0
0<
Dest
N20:6
12304<
MOV
PCA Word
U
B3:19
0
Par Prot
Messaging
Request
3
END