S5-95F
Blocks and Their Functions
Depassivation Routine
Note
Call FB255 only in the cyclic program (OB1). Generate an independent routine for
depassivation in your control program. In this routine, you make sure that the system
cannot assume any impermissible statuses during depassivation of the I/Os. Special
attention should be paid to the statuses of the digital outputs.
Special Characteristics of Depassivation
•
Please note that all failsafe I/Os are tested when you call up FB255 (not only the I/Os with the
signal group to be depassivated).
•
Calling FB255 is permissible only if FB252 is not active with an I/O test (DI, DQ, interrupt DI
or counter test). An active test can be interrogated at the PAFE output parameter (PAFE =
D0
H
).
•
Depassivation can be accelerated by multiple calling of FB255.
•
FB255 does not recognize a discrepancy present at a DI during depassivation. In such a case,
the signal group is briefly depassivated and automatically repassivated after elapse of the
discrepancy time.
Messages in the PAFE Byte
During the depassivation, the PAFE byte is D0
H
or E0
H
. After successful completion of
depassivation, the PAFE parameter is 00
H
. If the function block FB255 recognizes an error in the
signal group during depassivation, then the PAFE byte is 31
H
.
Example for Calling FB255
OB1
STL
Explanation
:
: JU FB 255
Call depassivation block
NAME: AGF: DEPA
AUFT: KY 0,0
Job: Acknowledge error message
DEPA: I 1.0
Trigger depassivation with edge at I 1.0
PAFE: FY100
Reserve FY100 for PAFE
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
EWA 4NEB 812 6210-02
9-23