CP 523
Using the ”SEND” and ”RECEIVE” Function Blocks
FB 201
LEN=374
Segment 1 0000
NAME :EMPFANG
DES :BADR
I/Q/D/B/T/C: D KM/KH/KY/KC/KF/KT/KZ/KG: KF
DES :Z-DB
I/Q/D/B/T/C: B
DES :ZANF
I/Q/D/B/T/C: D KM/KH/KY/KC/KF/KT/KZ/KG: KF
DES :ZLAE
I/Q/D/B/T/C: Q BI/BY/W/D: BY
DES :STAT
I/Q/D/B/T/C: Q BI/BY/W/D: BY
DES :KBE
I/Q/D/B/T/C: Q BI/BY/W/D: BY
0017 :***
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 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 201
Explanations
Segment 2 0018
0018 :
------------------------------
0019 :
For CPUs
001A :
941
001B :
942
001C :
943
001D :
944
001E :
------------------------------
001F :
0020 := F 255.0
Save RLO
0021 :
0022 :LW =BADR
Load and store module
0023 :T FW 242
address
0024 :
0025 :L KH 00A0
Write ”Read status” KOOR ID
0027 :DO FW 242
to bytes 0 and 1
0028 :T PY 0
of the CP 523
0029 :L FW 242
002A :I 1
002B :T FW 242
002C :L KH 0000
002E :DO FW 242
002F :T PY 0
0030 :DO FW 242
Fetch acknowledgement to
0031 :L PY 0
”Read status”
0032 :T FY 254
from CP and buffer
0033 :
0034 :L FW 242
Set pointer back to
0035 :D 1
module base address
0036 :T FW 242
0037 :
Does CP report 'Data available'?
0038 :AN F 254.7
”N O”
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 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-29