Siemens SIMATIC S5 CP 523 Manual page 205

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

Advertisement

CP 523
STL FB 200
00CA
:
00CB
:L
FW 242
00CC
:D
00CD
:T
FW 242
00CE
:
00CF
:
00D0
:L
KH 00A0
00D2
:DO
FW 242
00D3
:T
PY
00D4
:L
FW 242
00D5
:I
00D6
:T
FW 242
00D7
:L
KH 0001
00D9
:DO
FW 242
00DA
:T
PY
00DB
:
00DC
:L
FW 242
00DD
:D
00DE
:T
FW 242
00DF
:***
Segment 6
00E0
00E0
:DO
FW 242
00E1
:L
PY
00E2
:SLW
00E3
:T
FY 254
00E4
:
00E5
:L
KF +0
00E7
:T
FY 238
00E8
:
00E9
:AN
=RKPL
00EA
:JC
=NORK
00EB
:
00EC
:L
FW 242
00ED
:I
00EE
:T
FW 242
00EF
:
00F0
:DO
FW 242
00F1
:L
PY
00F2
:T
=KBS
00F3
:T
FY 238
00F4
:
00F5
:L
FW 242
00F6
:D
EWA 4NEB 811 6044-02a
4
0
1
0
1
0
4
2
0
2
Using the "SEND" and "Receive" Function Blocks
Explanation
Set pointer to base address
of the CP 523
and store
Write KOOR ID "SEND"
to word 0
of the CP 523
Set pointer back
to base address
Read status byte 0 from CP 523
Isolate error bits
and buffer
Reset aux. flag byte
No computer link
Increment pointer to base address + 2
(byte 2 = CBS when
computer link)
Read CBS,
output
and buffer
Set pointer back to
base address
8-15

Advertisement

Table of Contents
loading

Table of Contents