MAIN PROGRAM OB1
Network 1
%SM0.1
SUBROUTINE 0
Network 1
%SM0.0
100
INTERRUPT ROUTINE 0
Network 1
%SM0.0
%AIW4
Figure 4-11
S7-200 Programmable Controller System Manual
A5E00066097-02
Basic Concepts for Programming an S7-200 CPU
SBR0
EN
MOVE
EN
ENO
IN
OUT
%SMB34
0
10
MOVE
EN
ENO
IN
OUT
&VW100
IEC FBD Program for Using a Subroutine and an Interrupt Routine
IEC FBD
ATCH
ENI
EN
EN
ENO
INT
EVENT
4-21