12-56
CURSPD (System Variable)
Function
Gets the current internal composite speed of joints included in a currently held
arm group.
Format
CURSPD
Explanation
Executing this command in a task holding no arm group will return a value of
100.
Related Terms
CURACC, CURDEC, CURJSPD, CURJACC, CURJDEC
Example
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
Comments to this Manuals