Siemens Simatic S7-200 System Manual page 319

Programmable controller
Hide thumbs Also See for Simatic S7-200:
Table of Contents

Advertisement

Network 2
Network 3
0
INT
Network 4
SMB86
==B
16#20
Network 5
Network 6
2
INT
Network 7
SM0.0
Figure 10-60
S7-200 Programmable Controller System Manual
C79000-G7076-C230-02
LAD
END
Receive complete interrupt
If receive status shows
receive of end character,
then attach a 10 ms timer
MOV_B
to trigger a transmit, then
EN
return.
10
IN
OUT
SMB34
ATCH
EN
2
INT
10
EVENT
RETI
If receive complete for
RCV
any other reason, then
EN
NOT
start a new receive.
VB100
TABLE
0
PORT
RETI
Timer interrupt
DTCH
Detach timer interrupt
EN
10
EVENT
XMT
Transmit message back
to user on port 0
EN
VB100
TABLE
0
PORT
Example of Transmit Instruction (continued)
Instruction Set
STL
Network 2
MEND
Network 3
INT 0
Network 4
LDB=
SMB86, 16#20
MOVB
10, SMB34
ATCH
2, 10
CRETI
NOT
RCV
VB100, 0
Network 5
RETI
Network 6
INT
2
Network 7
LD
SM0.0
DTCH
10
XMT
VB100, 0
10-131

Advertisement

Table of Contents
loading

Table of Contents