CURDEC (System Variable)


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


CURDEC


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.
DECEL 70
'Specify composite deceleration of joints included
'in Arm Group 1 at 70.
I0=CURDEC
'Return current deceleration 70 of Arm Group 1 to I0.
END


Top