Description
Original instructions
Function description
The function block RAMP makes it possible to move in ramp form from an initial setpoint value to a particular target value. The gradients of positive and negative ramps can vary.
A signal (DONE output) indicates the user, whether a target value has already been reached or if the ramp had been implemented.
EN and ENO can be configured as additional parameters.
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
CAL RAMP_Instance (RSP:=RampTargetValue, PARA:=Parameters,
    TR_I:=InitialRampValue, TR_S:=RampInitializationOrder,
    SP=>Output, DONE=>ProgressFlag, STATUS=>StatusWord)
Representation in ST
Representation:
RAMP_Instance (RSP:=RampTargetValue, PARA:=Parameters,
    TR_I:=InitialRampValue, TR_S:=RampInitializationOrder,
    SP=>Output, DONE=>ProgressFlag, STATUS=>StatusWord) ;
Parameter description RAMP
Input parameter description:
Parameter
Data type
Meaning
RSP
Target value of the ramp
PARA
Parameter
TR_I
REAL
Initial value of the ramp
TR_S
Initialization command of the ramp
Output parameter description:
Parameter
Data type
Meaning
SP
REAL
Output
DONE
BOOL
"1": the target value has been reached
"0": the ramp function has been executed
STATUS
Status word
Parameter description Para_RAMP
Data structure description
Element
Data type
Meaning
inc_rate
Positive gradient in units per second (≥0)
dec_rate
REAL
Negative gradient in units per second (≥0)