Siemens SIMATIC S5-95F Manual page 275

Table of Contents

Advertisement

S5-95F
In DB10 you have stored the parameters for calling FB252 as follows:
DB10
STL
0:
KH
=
1:
KH
=
2:
KM
=
3:
KH
=
You call FB252 in OB1. Here in OB1 you have the call JU FB10. In FB10 you have the call for
FB252.
FB10
STL
:
:
CDB 10
:
A F 10.0
:
JU FB252
NAME
:
AGF: TEST
AUFT
:
DL 0
TYP
:
DW 1
NR
:
DL 2
BED
:
F 10.6
EINZ
:
F 10.7
PAFE
:
DR 3
If you call up FB252 as described above, then the short-circuit test is executed for the lines of DI
32.3. As soon as the short-circuit test is terminated, FB252 enters the value 00H into byte DR3 in
DB10.
Notes on the Error Responses during the Short-Circuit Test
Caution
!
If the S5-95F recognizes an error during the short-circuit test, it reacts with STOP (even
if the reaction you have parameterized is for standard value generation with AND, OR or
OLD value). Only if you have programmed the signal group to react with passivation will
the S5-95F really react with passivation.
Short-Circuit Test with Safety Responsibility
Safety Note
!
If the short-circuit test is responsible for the safety of the tested sensor line, then you
must call FB 252 at least:
once per process safety time in the case of single-channel, failsafe sensors
once within the second error occurrence time in the case of two-channel sensors.
EWA 4NEB 812 6210-02
0F00;
0000;
0000 0100 0000 0000;
0000;
Explanation
Short-circuit test (DL0=0F H )
Explanation
Call DB10
If F 10.0 = 1 then short-circuit test
Call FB252
DL 0=15
Short-circuit test
Irrelevant for short-circuit test
Short-circuit test DQ
Give priority to test (F 10.6 = 1)
Test in a PLC cycle (F 10.7 = 0)
Message byte
Blocks and Their Functions
9-21

Advertisement

Table of Contents
loading

Table of Contents