User guide

GEL100340
Ramp
i
SetPQint
RefSetPoint
RampThe
Ehet
Pnzset
Description
It performs a ramp with the possibility to set the ramp time
[set] (RampTime),
compared to a given set point
[x]
(SetPoint).
When
SetPoint
is equal to
RefSetPoint, RampTime
is time for
RampOut
to go from 0 to
RefSetP oint.
C-style description
static float PrevRampOukO;
static float Delta=O;
/*
test for digital inputs
*/
if (Reset != 0)
{
RampOukO;
NegRamp=O;
PosRamp=O;
1
else if (Preset != 0)
else
RampOut=SetPoint;
NegRamp=O;
PosRamp=o;
/* test for negative ramp
*I
if
(RampTime
=
0)
{
RampOut=SetPoint;
NegRamp=O;
PosRamp=O;