Enable Operation - Siemens SIMATIC S5-115U User Manual

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
Table of Contents

Advertisement

S5-115U Manual
8.2.2

Enable Operation

Use the enable operation (FR) to execute the following operation even without 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 2.5 starts a timer T 2 as
extended pulse (pulse width 50 sec.).
This timer sets output Q 4.2 for the
duration of the pulse.
.
.
.
.
If output Q 3.4 is reset repeatedly,
the timer should also be restarted
repeatedly.
* This time value has a tolerance of ±10 sec. Use a smaller time base if necessary.
EWA 4NEB 811 6130-02b
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
Explanation
I
2.5
KT
5.3
*
T
2
Start a timer T 2 as extended
T
2
pulse.
Q
4.2
Output Q 4.2 is set for 50 sec.
.
.
.
.
Q
3.4
If output Q 3.4 is set (positive
edge change of the RLO) during
T
2
the time in which input I 2.5 is
set, the timer T 2 is restarted.
Output Q 4.2 therefore remains
set at the restarted time or is
reset.
If input I 2.5 is not set during the
edge change of output Q 3.4, the
timer is not restarted.
STEP 5 Operations
8-41

Advertisement

Table of Contents
loading

Table of Contents