SpeedRefresh

Is there a way to return the Robot speed to 100% if the Operator has set the speed to 50% from TP? If an operator changes the speed override from the TP, I want it to default back to 100%. The “SpeedRefresh” instruction works to lower the speed, but only works to increase the speed up to the speed set from the TP (i.e., if TP speed = 70%, SpeedRefresh 100; will not return the robot to 100%).

I have done something similar before without any problem.

First I read the current speed override, then slowed the robot down if necessary:
nNormalSpeed := CSpeedOverride();

**!**If slow speed less than current speed reduce to slow speed

If nNormalSpeed>nSlowSpeed THEN

SpeedRefresh nSlowSpeed;

ENDIF

Later I would return to the normal speed with
SpeedRefresh nNormalSpeed;

This worked fine with the normal speed being 100%

Moved to RobotWare forum

I don’t know the answer to this question, but from a safety perspective I think it would be a safety risk if the RAPID code can override the speed reduction defined on the FlexPendant. I doubt that this is possible.