ramp
Purpose:
- Ramp a real variable to a specified target value at a given rate.
Enter:
- ramp <variable> <target> <ramp_rate>
Where:
-
variable Specify the name of the variable to which a ramp is applied. target Specify the final value to achieve as a result of the ramp. ramp_rate Specify the ramp rate to apply to the variable in units per second. Rate is always positive.
Example:
- ramp RPM 1200 50
The above command ramps the value of the RPM variable from its current value to 1200 RPM by 50 rpm/sec.
Notes:
-
If the ramp_rate is 0, the variable is immediately set to the target and the program exits.
The target and ramp_rate may be specified as variable labels.