Function library
Function blocks
9.2.58 Ramp function generator (RFG)
9-198
L
EDSVS9332S-D11 EN 3.0
9.2.58.1 Calculation and setting of the times T
ir
and T
if
The acceleration time and deceleration time refer to a change of the output value from 0 to 100 % .
The times T
ir
and T
if
can be calculated as follows:
100%
0
t
ir
t
if
T
ir
T
if
t
RFG1--OUT
[%]
w1
w2
T
ir
= t
ir
100%
w2 − w1
T
if
= t
if
100%
w2 − w1
Fig. 9-154 Acceleration and deceleration times of the ramp generator
t
ir
and t
if
are the times for the change between w
1
and w
2
.The values for T
ir
and T
if
can be set under
C0671 and C0672.
9.2.58.2 Loading of the ramp function generator
The ramp function generator can be initialised with defined values via the inputs RFG1-SET and
RFG1-LOAD.
z As long as the input RFG1-LOAD = HIGH, the input RFG1-SET is switched to the output.
z If the input RFG1-LOAD = LOW, the ramp function generator accelerates from this value to its
input value along the set T
i
times.