CP 523
Using the ”SEND” and ”Receive” Function Blocks
FB 200
LEN=371
Segment 1 0000
NAME :SEND
DES :BADR I/Q/D/B/T/C: D KM/KH/KY/KC/KF/KT/KZ/KG: KF
DES :Q-DB I/Q/D/B/T/C: B
DES :QANF I/Q/D/B/T/C: D KM/KH/KY/KC/KF/KT/KZ/KG: KF
DES :QLAE I/Q/D/B/T/C: I BI/BY/W/D: BY
DES :ENDZ I/Q/D/B/T/C: D KM/KH/KY/KC/KF/KT/KZ/KG: KH
DES :STAT I/Q/D/B/T/C: Q BI/BY/W/D: BY
DES :KBS I/Q/D/B/T/C: Q BI/BY/W/D: BY
DES :RKPL I/Q/D/B/T/C: I BI/BY/W/D: BI
001 :***
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
STL FB 200
Explanation
Segment2 001E
001E :
-------------------
001F :
For CPUs
0020 :
941
0021 :
942
0022 :
943
0023 :
944
0024 :
-------------------
0025 := F 255.0
Save RLO
0026 :
0027 :LW =BADR
Load CP 523 module address
0028 :T FW 242
and store
0029 :
002A :
Write KOOR ID
002B :L KH 00A0
”Read status”
002D :DO FW 242
to CP 523 word 0
002E :T PY 0
002F :L FW 242
0030 :I 1
0031 :T FW 242
0032 :L KH 0000
0034 :DO FW 242
0035 :T PY 0
0036 :
0037 :DO FW 242
Fetch acknowledgement
0038 :L PY 0
”Read status”
0039 :T FY 254
from CP 523 and store
003A :
003B :L KF +0
Reset auxiliary flag byte
003D :T FY 238
003E :
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
EWA 4NEB 811 6044-02a
8-11