Siemens SIMATIC S7-200 System Manual page 382

Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents