CURJDEC (System Variable)


Gets the current internal deceleration of individual joints included in a currently held arm group.


CURJDEC


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



Ex1
DIM lf1 As Single
lf1 = CURDEC
'Assigns the current deceleration value to lf1.
DECEL CURDEC * 0.5
'Sets the deceleration to 50% of the current value.

Ex2(extended-joint)
PROGRAM PRO1
TAKEARM 1
'Get Arm Group 1.
JDECEL 70
'Specify current deceleration of individual joints
'included in Arm Group at 70.
I0=CURJDEC
'Return current deceleration 70 of Arm Group 1 to I0.
END


Top