CURSPD
(System Variable)

Gets the current internal composite speed of joints included in a currently held arm group.

CURSPD

Executing this command in a task holding no arm group will return a value of 100.

Ex1
DIM lf1 As Single
|
|
lf1 = CURJSPD
|
'Assigns the current axis movement speed.
|
JSPEED CURJSPD * 0.5
|
'Sets the axis movement speed to 50% of the current value.
|
Ex2
PROGRAM PRO1
|
|
TAKEARM 1
|
'Get Arm Group 1.
|
SPEED 70
|
'Specify composite speed of joints included in
'Arm Group 1 at 70.
|
I0=CURSPD
|
'Return current speed 70 of Arm Group 1 to I0.
|
END
|
|