GetSpeedOverride and SetSpeedOverride Function
(Original Document)
Description
The GetSpeedOverride function sends the relevant speed modulation coefficient to an axis.
The SetSpeedOverride function sets the relevant speed modulation coefficient for an axis.
The value is explicitly specified as a percentage.
The coefficient is between 0 and 100.
A modulation coefficient of 0% would render the axis immobile.
A modulation coefficient of 100% would cause the axis to move at the commanded speed.
NOTE: The coefficient affects the acceleration and deceleration values.
NOTE: The axis follows the same trajectory whatever the speed modulation coefficient value.
How to Use These Functions
These functions are implemented with the help of the WRITE_CMD instruction (see WRITE_CMD).
Associated Language Objects
Exchange via WRITE_CMD:The table below presents the different language objects linked to these functions.
Object
Name
Function code
Description
%MWr.m.c.26
ACTION_CMD
1513
Read command
2513
Write command
%MFr.m.c.22
RETURN_CMD_2
-
Result of the read command
%MFr.m.c.31
PARAM_CMD_3
-
Value to write
%MWr.m.c.19
ERROR_CMD
-