JDECEL
(Statement)
Specifies the internal deceleration ratio of individual joints included in a currently held arm group.
JDECEL <Axis deceleration>
The <DecelerationRatio> should be the target ratio (%) of the maximum internal deceleration of individual joints in a currently held arm group. The entry range is from 0.0001 to 100 of a real number.
If less than 0.0001 is specified, no error will occur, but the actual deceleration may differ from the specification. If 0 or less is specified, an error will result.
The actual axis deceleration value is (external × internal / 100).
If the axis speed is changed, the system automatically changes the axis deceleration to a value obtained by (JSPEED2 / 100).
If you write JDECEL without getting any arm group beforehand, an error will result.
Ex1
DIM li1 As Integer
|
|
JDECEL 100
|
'Sets the axis deceleration to 100.
|
JDECEL li1/100
|
'Sets the axis deceleration to the value of (li1/100).
|
Ex2
PROGRAM PRO1
|
|
TAKEARM 1
|
'Get Arm Group 1 involving 7th and 8th joints.
|
JDECEL 100
|
'Specify deceleration ratio of joints (7th and 8th)
'involved in Arm Group 1.
|
END
|
|