Denso RC5 Dokumentacja Strona 228

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 692
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 227
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).
Przeglądanie stron 227
1 2 ... 223 224 225 226 227 228 229 230 231 232 233 ... 691 692

Komentarze do niniejszej Instrukcji

Brak uwag