Siemens SIMATIC S5 CP 523 Manual page 221

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

Advertisement

CP 523
STL FB 201
0069
:
006A
:TAK
006B
:L
KB 255
006C
:>F
006D
:JC
=FE04
006E
:
006F
:TAK
0070
:L
FW 232
0071
:<=F
0072
:JC
=PAOK
0073 FE04 :
0074
:L
KH 0048
0076
:T
=STAT
0077
:
0078
:BEU
0079 PAOK :
007A
:***
NETWORK 4
007B
007B
:L
KH 00A0
007D
:DO
FW 242
007E
:T
PY
007F
:L
FW 242
0080
:I
0081
:T
FW 242
0082
:L
KH 0080
0084
:DO
FW 242
0085
:T
PY
0086
:
0087
:L
FW 242
0088
:D
0089
:T
FW 242
008A
:***
NETWORK 5
008B
008B
:DO
FW 242
008C
:L
PY
008D
:SLW
008E
:T
FY 254
008F
:L
FW 242
0090
:I
0091
:T
FW 242
EWA 4NEB 811 6044-02a
0
1
0
1
0
4
1
Using the "SEND" and "RECEIVE" Function Blocks
Explanations
ZANF greater than 255?
"E R R O R"
ZANF >Z-DB length?
"N O"
Output "FB parameter
error"
PROGRAM "END"
Write KOOR ID "RECEIVE"
to CP 523
word 0
Set pointer back to
module base address
Read byte 0,
isolate error bit
and buffer
Increment pointer to byte 1
8-31

Advertisement

Table of Contents
loading

Table of Contents