Enable Operation - Siemens SIMATIC S5-95F Manual

Table of Contents

Advertisement

STEP 5 Operations
8.2.2

Enable Operation

You can use the enable operation (FR) to execute the following operations even without an edge
change.
Start a timer
Set a counter
Count up and down
Table 8-11 presents the enable operation. An example follows the table.
Operation
Operand
FR
ID
T
C
Example
Input I 0.0 starts a timer T 2 as an
extended pulse (pulse width 50 s).
This timer sets output Q 1.0 for the
duration of the pulse.
.
.
.
.
If output Q 1.1 is reset repeatedly, the
timer should also be restarted
repeatedly.
8-40
Table 8-11. Enable Operation
Enable a Timer/Counter
Timers and counters are enabled on the leading edge of the RLO.
This operation restarts a timer, sets a counter, or causes a counter
to count up or down when the RLO "1" is pending at the "Start"
operation.
Parameter
0 to 127
0 to 127
A
L
SE
A
=
A
FR
BE
Meaning
STL
I
0.0
KT
500.1
Start a timer T 2 as an extended
T
2
pulse.
T
2
Output Q 1.0 is set
Q
1.0
for 50s.
.
.
.
.
If output Q 1.1 is set (positive
edge change of the RLO) during
Q
1.1
the time in which input I 0.0 is
T
2
set, timer T2 is restarted. Output
Q 1.0 therefore remains set at
the restarted time or is reset.
If input I 0.0 is not set during the
edge change of output Q 1.1, the
timer is not restarted.
S5-95F
Explanation
EWA 4NEB 812 6210-02

Advertisement

Table of Contents
loading

Table of Contents