Demand Signal
Demand signals are similar to open loop controller blocks and are written similarly. Please refer to Open loop controller keyword types and their respective block definitions.
All of the methods (constant, expression, MotionView, and curve) are applicable for the demand signal as well.
The only difference is demand signals are always open loop signals, therefore TAG = ‘OPENLOOP’ is not required.
Examples
#Using constant value
[DEMAND_SPEED]
TYPE = 'CONSTANT'
VALUE = '18.25'
#Using a MotionSolve expression
[DEMAND_SPEED]
TYPE = 'EXPRESSION'
SIGNAL_CHANNEL = 0
EXPRESSION = ‘10 + SIN(2*TIME)’
#Using user signals in Altair Driver in MV
[DEMAND_SPEED]
TYPE = 'MOTIONVIEW'
SIGNAL_CHANNEL = 1
#Using curve points with independent variable time (TIME) or distance travelled (PATH_S)
[DEMAND_SPEED]
TYPE = ‘CURVE’
BLOCK = ‘SPEED_CRV’
[SPEED_CRV]
INDEPENDENT_VARIABLE = 'PATH_S'
DEPENDENT_VARIABLE = SIGNAL
INTERPOLATION = 'LINEAR'
{PATH_S SIGNAL}
0 10
50 10
100 10
150 15
200 20
250 25
300 30