Siemens SIMATIC S5 CP 523 Manual page 222

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 201
0092
:DO
FW 242
0093
:L
PY
0094
:T
=KBE
0095
:T
FY 246
0096
:
0097
:L
FW 242
0098
:D
0099
:T
FW 242
009A
:
009B
:L
KB
009C
:L
FY 254
009D
:!=F
009E
:JC
=NEIN
009F
:
00A0
:S
F 254.3
00A1
:L
FY 254
00A2
:T
=STAT
00A3
:
00A4
:L
KH 0090
00A6
:L
FY 254
00A7
:AW
00A8
:!=F
00A9
:JC
=NEIN
00AA
:
00AB
:
00AC
:
00AD
:
00AE
:BEU
00AF NEIN :
00B0
:L
FY 246
00B1
:L
KH 007F
00B3
:AW
00B4
:L
KB
00B5
:!=F
00B6
:JC
=KBOK
00B7
:L
KH 0088
00B9
:T
=STAT
00BA
:BEU
00BB KBOK :
00BC
:***
NETWORK 6
00BD
00BD
:L
KB
00BE
:T
FB 246
00BF
:
8-32
0
1
0
0
0
Explanations
Read byte 1 (acknowledgement or
CBR when computer link)
and output
or buffer
Set pointer back to
module base address
Acknowledgement with error?
"N O E R R O R"
Set error bit for STAT
Output STATbit
Does the CP report
delay time exceeded?
"Y E S" -> message is output
in the status byte
but the function block
is not interrupted
Program "END"
Error flagged in CBR?
(error flag is isolated)
Coordination byte OK
Output error "CBR error/computer link
Program "END"
Reset auxiliary register 2
CP 523
EWA 4NEB 811 6044-02a

Advertisement

Table of Contents
loading

Table of Contents