2 read examples – Rockwell Automation RECOMM-IBUS Interbus Communications Module User Manual
Page 67

Using Explicit Messaging (PCP Communications)
7-7
7.3.2 Read Examples
In the sample ladder logic program, the user would load these
registers before calling the subroutine to perform the PCP Read:
Figure 7.3 – Reading Accel Time 1 (140) from an SP600 Drive (DPI Host)
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
12428
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)
308C
2
4
2
4
N22:21
0
8004
Va
lu
e
(D
ec
)
N22:20
Result = 0 (success)
N22:25
N22:26
0
50
2
Number of bytes read = 2
Data word 2 not used
0
32
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)
3001h is the start of PowerFlex 70 parameters (Pr.1)
Index =3000h+8Ch = Parameter 140 [Accel Time]
8C hex = 140 dec = Parameter 140 [Accel Time]
Data word 1 = 32 hex = 50 dec = 5.0 seconds
I
ndex = 3000h + 8Ch = Accel Time (140)
3001h is the start of SP600 parameters (1)
8C hex = 140 dec = Accel Time (140)
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
0
0= PowerFlex 70 (DPI Host)
0
Va
lu
e
(D
ec
)
N22:3
140
8C
Parameter # = 140 [Accel Time]
0 = SP600 (DPI Host)