Simatic Fbd Program For Using A Subroutine And An Interrupt Routine; Iec Lad Program For Using A Subroutine And An Interrupt Routine - Siemens SIMATIC S7-200 System Manual

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

Advertisement

Basic Concepts for Programming an S7-200 CPU
MAIN PROGRAM OB1
Network 1
SM0.1
SUBROUTINE 0
Network 1
SM0.0
100
INTERRUPT ROUTINE 0
Network 1
SM0.0
AIW4
Figure 4-9
MAIN PROGRAM
Network 1
%SM0.1
SUBROUTINE 0
Network 1
%SM0.0
100
INTERRUPT ROUTINE 0
Network 1
%SM0.0
%AIW4
Figure 4-10
4-20
SIMATIC FBD
SBR0*
EN
*Refer to page 9-149
MOV_B
EN
ENO
IN
OUT
SMB34
0
10
MOV_W
EN
ENO
>1
IN
OUT
VW100

SIMATIC FBD Program for Using a Subroutine and an Interrupt Routine

SBR0
EN
MOVE
EN
ENO
0
IN
OUT
%SMB34
10
MOVE
EN
ENO
IN
OUT
%VW100

IEC LAD Program for Using a Subroutine and an Interrupt Routine

ATCH
EN
ENO
ENI
INT
EVNT
IEC LAD
ATCH
EN
ENO
ENI
INT
EVNT
S7-200 Programmable Controller System Manual
A5E00066097-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents