Rules Governing the Use of the S5-115F
S5-115F Manual
10.17.2
Revoking Passivation of I/O Modules
Sensors and actuators are frequently the cause of passivation of I/O modules. IF you can remove
the fault in PLC RUN, FB 255 allows you to revoke passivation; the depassivated I/O module is then
referenced anew by the CPU.
You may call the FB 255 only in the cyclic program part (OB1). Calling the FB 255 in time-driven or
interrupt-controlled program parts is prohibited.
You must specify the following when initializing FB 255:
•
A bit wich initiates depassivation in the case of an edge change from 0 to 1.
•
Data in KF format with the signal group for the I/O module to be depassivated
•
A byte for FB 255 messages
Depassivation should alwas be initiated for one signal group only. For this reason, assign a
separate depassivation bit to each signal group.
Note
Before you reactivate the I/O modules of a signal group with FB 255, your control
program must branch to a routine in which you can check, evaluate and, if necessary,
update all the variables required for switching, or re-initialize the process variables.
Calling and initializing
Parameter
Meaning
Assignment
STL
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
SIGR
Signal group
D
KF
2 to 28
: JU FB 255
Name : AGF:DEPA
: SIGR
: DEPA
: PAFE
I0.0 to 127.7
F2.0 to 199.7
Q0.0 to 125.7
DEPA
Depassivation bit
(positive edge)
I
BI
PAFE
Signal byte
Q
BI
00
H
= Depassivation successful
11
H
= Signal group has not been
configured or passivated
21
H
= Signal group can no longer be
passivated (error no longer in
errror DB)
31
H
= Depassivation has not been
tested
41
H
= Erroneous passivation of
FB 255
51
H
= No signal group has been
passivated
D0
H
= Depassivation currently being
executed
If you call FB 255 conditionally (e.g JC FB 255), the enable for the conditional jump must
not be the
bit that you want to assign to the DEPA parameter.
10-60
EWA 4NEB 811 6148-02