
9-14
DEFJNT (Statement)
Function
Declares a joint type variable.
Format
DEFJNT <Variable name>[=<Joint type constant>][,<Variable name>[=<Joint
type constant>]...]
Explanation
This statement declares a variable designated by <Variable name> as a joint
type variable. By writing a constant after <Variable name>, initialization can
be carried out simultaneously with the declaration.
Multiple variable names can be declared at a time by delineating the names
using “,”.
Related Terms
DEFPOS, DEFTRN, DEFVEC
Example
6-axis DEFJNT ljx, ljy, ljz
'Declares ljx, ljy, and ljz as joint type variables.
DEFJNT ljx = (10, 10, 5, 0, 9, 0)
'Declares ljx as a joint type variable and sets the
'initial 'value to (10, 10, 5, 0, 9, 0).
4-axis DEFJNT ljx, ljy, ljz
'Declares ljx, ljy, and ljz as joint type variables.
DEFJNT ljx = (10, 10, 5, 0)
'Declares ljx as a joint type variable and sets the
'initial 'value to (10, 10, 5, 0).
Kommentare zu diesen Handbüchern