Rockwell Automation RECOMM-IBUS Interbus Communications Module User Manual
Page 69

Using Explicit Messaging (PCP Communications)
7-9
In the sample ladder logic program, the user would load these
registers before calling the subroutine to perform the PCP read:
Figure 7.5 – Reading PIDD W0 Actual (21) from an RECOMM-IBUS
Interbus Module
Echo of the Command Word (PCP Read)
Message
Command word = 4 = PCP Read (bit 2 ON)
N22:10
Command
4
4
SLC Addr
ess
D
es
cr
iption
Va
lu
e
(H
ex)
N22:22
N22:13
N22:12
N22:11
N22:23
Reply
2
4
-32,764
0
2
4
CR# = 2 (Station 1.0)
Sub Index not used
Number of words following = 4
CR# = 2 (Station 1.0)
2FCA
2
4
2
4
N22:21
0
8004
Va
lu
e
(D
ec
)
N22:20
Result = 0 (success)
N22:25
N22:26
0
12186
2
Number of bytes read = 2
Data word 2 not used
0
2F9A
2
N22:24
N22:27
0
0
"8000" (bit 15 ON) indicates Reply message present
Status word:
"0004" (bit 2 ON) echo's the command (PCP Read)
2FB6h is the start of the 20-COMM-I parameters (Pr.1)
Index =2FB5h+15h = Parameter 21 [PIDD W0 Actual]
15 hex = 21 dec = Parameter 21 [PIDD W0 Actual]
Data word 1 = 2F9A hex = Logic Status
12234
Index = 2FB5h + 15h = PIDD W0 Actual (21)
2FB6h is the start of
15 hex = 21 dec = PIDD W0 Actual (21)
RECOMM-IBUS parameters
Message
CR# = 2 (Station 1.0)
N22:0
Request
2
2
SLC Addr
ess
D
es
cr
iption
Va
lu
e
(H
ex)
N22:1
1
1= 20-COMM-I
1
Va
lu
e
(D
ec
)
N22:3
21
15
Parameter # = 21 [PIDD W0 Actual]
1 = RECOMM-IBUS