SIMATIC Instructions
9-194
S7-200 Programmable Controller  System Manual
A5E00066097-02
Receive complete 
interrupt.
If receive complete for
any other reason, then
start a new receive.
Timer interrupt.
Network 1
LDB= SMB86, 16#20
MOVB 10, SMB34
ATCH 2, 10
CRETI
NOT
RCV VB100, 0
Network 1
LD SM0.0
DTCH 10
XMT VB100, 0
MOV_B
IN
SMB86
10
EN
RETI
Network 1
TBL
PORT
VB100
0
EN
NOT
Detach timer interrupt.
DTCH
EVNT
SM0.0
10
EN
XMT
TBL
PORT
VB100
0
EN
Network 1
==B
16#20
If receive status shows
receive of end character,
then attach a 10 ms timer 
to trigger a transmit, then
return.
Transmit message back
to user on port 0.
ATCH
INT
EVNT
1
10
EN
OUT SMB34
INTERRUPT 0
INTERRUPT 1
ENO
ENO
ENO
RCV
ENO
ENO
Network 10
LD SM0.0
RCV VB100, 0
Transmit complete 
interrupt.
Enable another receive.
RCV
TBL
PORT
VB100
0
EN
SM0.0
Network 10
INTERRUPT 2
ENO
Figure 9-23 Example of Transmit Instruction for SIMATIC LAD, STL, and FBD (continued)