DEFJNT (Statement)


Declare a joint variable.


DEFJNT <variablename>[=<joint constant>][,<variablename>
[=<joint constant>]...]


This statement declares the variable specified by <variablename> as a joint type.
Specifying an equal sign and constant immediately following <variablename> performs initialization at the same time in declaration.
More than one variable name can be declared at a time by delimiting those names with commas.



6-axis
DEFJNT ljx, ljy, ljz
'Declare ljx, ljy, and ljz as joint variables
DEFJNT ljx = (10, 10, 5, 0, 9, 0)
'Declare ljx as a joint variable and set the initial
'value (10, 10, 5, 0, 9, 0)

4-axis
DEFJNT ljx, ljy, ljz
'Declare ljx, ljy, and ljz as joint variables
DEFJNT ljx = (10, 10, 5, 0)
'Declare ljx as a joint variable and set the initial
'value (10, 10, 5, 0)


Top