Siemens SIMATIC S5 CP 523 Manual page 206

Serial i/o module
Hide thumbs Also See for SIMATIC S5 CP 523:
Table of Contents

Advertisement

Using the "SEND" and "Receive" Function Blocks
STL FB 200
00F7
:T
FW
242
00F8
:
00F9
:L
KB
0
00FA
:L
FY
254
00FB
:!= F
00FC
:JC = NEIN
00FD
:
00FE
:S
F
254.3
00FF
:L
FY 254
0100
:T
=STAT
0101
:
0102
:BEU
0103 NEIN :
0104
:L
FY 238
0105
:L
KH 007F
0107
:AW
0108
:L
KB 0
0109
:!=F
010A
:JC
=KBOK
010B
:L
KH 0088
010D
:T
=STAT
010E
:
010F KBOK :
0110
:
0111
:L
FW 242
0112
:ADD KF +6
0114
:T
FW 242
0115
:
0116
:DO
FW 242
0117
:L
PY
0118
:T
FW 240
0119
:
011A
:L
FW 242
011B
:ADD KF -6
011D
:T
FW 242
011E
:
011F
:***
NETWORK 7
0120
0120
:A
F
237.0
0121
:R
F
237.0
0122
:
0123
:LW
=QANF
0124
:T
FW 244
0125
:
8-16
0
Explanation
Error in status byte
"N O E R R O R"
Set error flag for STAT
Output STAT flags
Program "END"
Contains CBS error flags
(when computer link)
CBS ok
Output error "Computer link
error in CBS"
Set pointer to base
address +6
The CP loads and stores
no. of message blocks to be sent
Set pointer back to
base address
Reset aux. flag for Send
with EOT-characters
Load QANF parameter
and store (QANF register)
CP 523
EWA 4NEB 811 6044-02a

Advertisement

Table of Contents
loading

Table of Contents