User guide

Win+Drive
else
{
l* Delta must be a positive
*I
Delta=abs(RefSetPoint*O.OOl *CycleTimeMsec/RampTime);
if (SetP oint
<
PrevRampOut-Delta)
{
RampOut=PrevRampOut-Delta;
NegRamp=l;
PosRamp=O;
1
/* test for positive ramp */
else if (SetPoint > PrevRampOut+Delta)
1
RampOut=PrevRampOut+Delta;
NegRamp=O;
PosRamp=l;
1
/*
SetPoint
is not modified
Y
else
1
RampOut=SetPoint;
PosSat=O;
NegSat=O;
1
I
PrevRampOut=RampOut;
Input logical variables
None
Output logical variables
None
Input ports
name type
SetPoint
float
Ref’SetPoint
float
executed description
always
Set point
to be
followed
[x]
if
RampTime!=O SetPoint used as reference for RampTime [x]. It
must be positive. If not it is assumed as positive
RampTime
Reset
Preset
float
int
int
always
always
if
Reset==0
Time [set] for RampOut to go from 0 to
RefSetPoint. It must be positive. If not it is
assumed as positive
If Reset!=0
RampOut
is set to 0
If Preset!=0 RampOut is set to SetPoint
185