SetCPSpdMode
(Library)
[Version 1.8 or later]

Keeps the TCP speed (Tool end speed in CP motion) constant or restores it to the default.

SetCPSpdMode<SetValue>

If you specify a CP motion involving the rotation of the robot hand, then the system will automatically decrease the TCP speed according to the rotation angle by default. Setting 1 to <SetValue> may keep the TCP speed constant as long as the rotation angle is less than the specified value.

If <SetValue> is set to 1, the rotation speed will vary depending upon the robot motion in order to keep the TCP speed constant. If you specify such a motion that will exceed the rotation speed limit, then the system will issue a warning message and run the robot while decreasing the TCP speed.

CALL SetCPSpdMode(0)
|
'Restore to the default.
|
CALL SetCPSpdMode(1)
|
'Set the TCP speed to "1."
|