4 Functional Mechanisms of the Application
4.1 User program of the S7-CPU
Monitoring of 24 V load circuits
Entry-ID: 61450284, V1.1, 05/2014
16
C
o
p
y
ri
g
h
t
S
ie
m
e
n
s
A
G
2
0
1
4
A
ll
ri
g
h
ts
re
s
e
rv
e
d
4
Functional Mechanisms of the Application
The following sections provide detailed explanations of the following 5 functions:
User program of the S7-CPU
Signal evaluation with the PSE_DIAG (FB50) block
HMI
interface
Visualization
Message generation with the Messages block (FB10)
4.1
User program of the S7-CPU
The following figure shows the structure of the user program in the S7-CPU.
Overview
Figure 4-1
Initialization
Startup
[OB 100]
Analyzing the state of the
PSE200U module
HMI interface
Cyclic
interrupt
[OB 35]
PSE_DIAG
DATA
Message generation and remote reset
Main
[OB 1]
Messages
-ALARM_D