
12-46
JSPEED (Statement)
Function
Specifies the internal speed of individual joints included in a currently held arm
group.
Format
JSPEED <Movement speed>
Explanation
The <JointSpeedRatio> should be the target ratio (%) of the maximum
internal speed of individual joints in a currently held arm group. The entry range
is from 0.1 to 100 of a real number.
NOTE: If less than 0.1 is specified, no error will occur, but the actual speed
may differ from the specification. If 0 or less is specified, an error will result.
The actual speed value is (external × internal ÷ 100).
If JSPEED is set, then JACCEL and JDECEL are also changed.
Example: If you write JSPEED 50, the following will be set automatically:
JACCEL 25 (JSPEED*JSPEED÷100)
JDECEL 25 (JSPEED*JSPEED÷100)
If you write JSPEED without getting any arm group beforehand, an error will
result.
Related Terms
CURJSP, JACCEL, JDECEL, SPEED
Example
Ex1 DIM li1 As Integer
JSPEED 100 'Sets the movement speed of an axis to 100.
JSPEED li1/100 'Sets the movement speed of an axis to the value of (li1/100).
Ex2(extended-joint)
PROGRAM PRO1
TAKEARM 1 'Get Arm Group 1 (involving 7th and 8th joints).
JSPEED 100 'Specify speed of joints (7th and 8th) involved
'in Arm Group 1.
END
Komentáře k této Příručce