4 Functional Mechanisms of the Application
4.2 Signal evaluation with the PSE_DIAG (FB50) block
Monitoring of 24 V load circuits
Entry-ID: 61450284, V1.1, 05/2014
18
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
Data flow
The figure below shows the data flow of the application.
Figure 4-2
S
ta
te
o
u
tp
u
t
(S
)
PSE_DIAG
Cyclic
interrupt
[OB 35]
DATA
States
State of the outputs OUT 1 to
OUT 4 of the PSE200U module
SIMATIC S7-1500 CPU
PSE200U
SIMATIC Panel
TP900 Comfort Panel
Messages
Main
[OB 1]
-ALARM_D
PLC alarms
1
2
3
4
5
Table 4-2
No.
Action
1
The PSE_DIAG (FB50) block evaluates the signal of the state output (S) of the PSE200U
module to determine the state of output OUT 1 to OUT 4.
2
The status information is saved in data block DATA (DB2).
3
The saved states are read by the SIMATIC Panel TP900 Comfort Panel.
Depending on the state a PLC alarm is generated and displayed at the SIMATIC Panel.
4
The Messages block (FB10) calls the ALARM_D message block internally to send PLC
alarms regarding the state of outputs OUT 1 to OUT 4 of the PSE200U module to the
SIMATIC Panel.
5
The PLC alarms are displayed at the SIMATIC Panel as control messages.
4.2
Signal evaluation with the PSE_DIAG (FB50) block
The PSE_DIAG (FB50) block has the following task:
Evaluation of the state output (S) of the PSE200U module. This determines the
states of outputs OUT 1 to OUT 4 of the PSE200U module.
Save these states in the S7-CPU and process them further.
shows the call of block PSE_DIAG (FB50) in the user program of the
S7-CPU.