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
19
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
The block is called cyclically in the cyclic interrupt OB OB35 with the default time
interval of 100ms.
Figure 4-3
FB50 “PSE_DIAG”
CHANNEL_STATE
DONE
BUSY
STATUS
ERROR
IMPULSE
COM_RST
BOOL
BOOL
BYTE
WORD
BOOL
BOOL
BOOL
DB50 “iDB_DIAG”
Inputs
The following table shows the assignment of the inputs of the PSE_DIAG (FB50)
block.
Table 4-3
Input
Data type
Variable
Description
IMPULSE
BOOL
I4.0
Input via which the signal of the state
output (S) is read.
The address of the input is available
in the device configuration of STEP 7
V12 SP1 (see chapter
COM_RST
BOOL
DB2.DBX0.1
For a positive edge of the variable a
reset will be triggered.
All parameters are reset.
static variables in the instance
data block
outputs of the block