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
21
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
CHANNEL_STATE output
The following table shows the structure of CHANNEL_STATE:
Addresses in data block DATA (DB2)
Values depending on output OUT 1 to OUT 4 of the PSE200U module.
Table 4-5
CHANNEL_STATE output
State of OUT 1 to OUT 4
Value (bin)
CHANNEL_STATE
Bit 0
DB2.DBX1.0
OUT 1
0
1
1
0
Bit 1
DB2.DBX1.1
OUT 2
0
1
1
0
Bit 2
DB2.DBX1.2
OUT 3
0
1
1
0
Bit 3
DB2.DBX1.3
OUT 4
0
1
1
0
Bit 4
DB2.DBX1.4
Not relevant
-
Bit 5
DB2.DBX1.5
Not relevant
-
Bit 6
DB2.DBX1.6
Not relevant
-
Bit 7
DB2.DBX1.7
Not relevant
-
STATUS output
The STATUS output is used for fault diagnosis, if the signal of the state output (S)
could not be evaluated successfully.
The value of the STATUS output is saved in data block DATA (DB2.DBW2) and
displayed at the SIMATIC Panel.
If block PSE_DIAG (FB50) supplies an error, the “Error FB PSE_DIAG” message is
displayed at the SIMATIC Panel.
Note
Information on error messages can be referred to in the library description (see
61450284_PSE_DIAG_Bibliothek_DOKU_S7-300_S7-400_TIA_en.pdf
Program details on the PSE_DIAG (FB50) block
Note
Information on the program details of the PSE_DIAG (FB50) block can be
referred to in the library description (see
61450284_PSE_DIAG_Bibliothek_DOKU_S7-300_S7-400_TIA_en.pdf