CDRFLEx.set_robot_speed_mode
Features
This is a function for setting and changing the current operation robot system in the robot controller.
Parameter
Parameter Name | Data Type | Default Value | Description |
---|---|---|---|
eSpeedMode | enum.SPEED_MODE | - | Refer to the Definition of Constant and Enumeration Type |
Return
Value | Description |
---|---|
0 | Error |
1 | Success |
Example
if (drfl.get_robot_speed_mode()== SPEED_REDUCED_MODE){
// Changes the speed reduced mode to normal speed mode
drfl.set_robot_speed_mode(SPEED_NORMAL_MODE);
}