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

Using Explicit Messaging (PCP Communications)
7-17
Figure 7.10 – LAD5 - PCP Read Subroutine (Continued)
N22:12 = Index (the parameter number or fault/event queue item to be read)
N22:1 determines what area is to be read:
0 = PowerFlex 70 (Host) parameter (N22:2 + 12288 decimal (3000h) = mapped parameter address)
1 = 20-COMM-I parameter (N22:2 + 12213 decimal (2FB5h) = mapped parameter address)
2 = PowerFlex 70 (Host) Fault queue (N22:2 + 12280 decimal (2FF8h) = mapped fault item)
3 = 20-COMM-I Event Queue (N22:2 + 12205 decimal (2FADh) = mapped event item)
0002
B3:47
1
PCP Read
Routine
1-shot
EQU
Equal
Source A
N22:1
0<
Source B
0
0<
EQU
PCP Read
Param / Queue
to Read
ADD
Add
Source A
N22:2
1<
Source B
12288
12288 <
Dest
N22:12
12289 <
ADD
PCP Read
Command Msg
Index
EQU
Equal
Source A
N22:1
0<
Source B
1
1<
EQU
PCP Read
Param / Queue
to Read
ADD
Add
Source A
N22:2
1<
Source B
12213
12213 <
Dest
N22:12
12289 <
ADD
PCP Read
Command Msg
Index
EQU
Equal
Source A
N22:1
0<
Source B
2
2<
EQU
PCP Read
Param / Queue
to Read
ADD
Add
Source A
N22:2
1<
Source B
12280
12280 <
Dest
N22:12
12289 <
ADD
PCP Read
Command Msg
Index
EQU
Equal
Source A
N22:1
0<
Source B
3
3<
EQU
PCP Read
Param / Queue
to Read
ADD
Add
Source A
N22:2
1<
Source B
12205
12205 <
Dest
N22:12
12289 <
ADD
PCP Read
Command Msg
Index
N22:13 = Sub Index (Not used)
0003
B3:47
1
PCP Read
Routine
1-shot
MOV
Move
Source
0
0<
Dest
N22:13
0<
MOV
PCP Read
Command Msg
Sub Index
N22:1 determines what area is to be read:
0=SP600 (Host) parameter (N22:2 + 12288 decimal (3000h) = mapped parameter address)
1=RECOMM-IBUS parameter (N22:2 decimal (2FB5h) = mapped parameter address)
2=SP600 (Host) Fault queue (N22:2 + 12280 decimal (2FF8h) = mapped fault item)
3=RECOMM-IBUS Event Queue (N22:2 + 12205 decimal (2FADh) = mapped event item)