Siemens SIMATIC CP 541 Manual page 129

Communications processor
Table of Contents

Advertisement

STL, continued
OB 1
Segment 1
:JU FB
11
Name
:RECEIVE
:BE
FB 11
Segment 1
Name
:RECEIVE
:Q
F
10.1
:BEC
:
:Q
DB 252
:L
DW
1
:T
QB
32
:
:AN
F
10.1
:S
F
10.1
:BE
OB 13
Segment 1
:Q
I
32.0
:SPB FB
12
Name
:SEND
:BE
FB 12
Segment 1
Name
:SEND
:Q
DB 252
:L
IB
33
:T
DW
33
:
:AN
F
10.0
:S
F
10.0
:BE
Communications Processor CP 541
EWA 4NEB 812 6188-02
Explanation
Cyclic program processing
FB for sending to station 11
Receive block
Test whether L1 message present
If not, block end
Open receive mailbox
Output DB1 at QB 32
Indication for operating system: ready
to receive again
Send initiation with I 32.0
Send block
Open send mailbox
Store IB 33 in DR 33 for sending
Release send mailbox for operating
system
Program Examples
H-15

Advertisement

Table of Contents
loading

Table of Contents