Siemens SIMATIC S5 CP 523 Manual page 209

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

Advertisement

CP 523
STL FB 200
0185
:T
FW 240
0186
:
0187
:L
KB 0
0188
:!=F
0189
:JC
=LBLO
018A
:
018B
:L
FW 244
018C
:ADD KF +3
018E
:T
FW 244
018F
:
0190
:T
FW 246
0191
:
0192
:L
FW 242
0193
:ADD KF +6
0195
:T
FW 250
0196
:
0197
:JU
=JUM1
0198
:
0199 LBLO :
019A
:L
FW 244
019B
:L
FW 248
019C
:D
019D
:+F
019E
:T
FW 246
019F
:
01A0
:L
FW 248
01A1
:SLW
01A2
:D
01A3
:L
FW 242
01A4
:+F
01A5
:T
FW 250
01A6
:
01A7 JUM1 :
01A8
:DO
=Q-DB
01A9 NWOR :
01AA
:DO
FW 246
01AB
:L
DL
01AC
:DO
FW 250
01AD
:T
PY
01AE
:L
FW 250
01AF
:I
01B0
:T
FW 250
01B1
:DO
FW 246
01B2
:L
DR
01B3
:DO
FW 250
EWA 4NEB 811 6044-02a
1
1
2
0
0
1
0
Using the "SEND" and "Receive" Function Blocks
Explanations
and store
Is the message block to be transferred
the last subframe?
"LAST MESSAGE BLOCK"
Increment QANF register by 3
and store
QANF register to DWINDEX register
Set pointer to base
address +6 (byte 6)
and store
Calculate data word index register
and store
Compute corresponding
byte address
and store
Open source DB
Load data byte to be transferred
into ACCUM
and transfer to CP
Increment pointer
Load data byte to
into ACCUM
8-19

Advertisement

Table of Contents
loading

Table of Contents