With the ramp controller function block you can control a ramp between two set levels
This block implements a gradual approximation to the target values. Input S chooses between two target values which are set with the parameters. When S is zero the output AQ is set to L1 and when S is one the output is set to L2.
The value at the output is adjusted every 100ms by whatever the step size parameter SR is set to until the target L1 or L2 is reached, hence you can adjust how gradually the ramp moves.
If input St = 1, AQ will output the value of parameter SV. If the DisP input is set to one then the output AQ will be set to zero.