Denso RC5 Spécifications Page 306

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 692
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 305
12-30
DESTTRN (System Variable)
Function
Obtains the current movement instruction destination position with type T.
When the robot stops, the current position (instruction value) is obtained.
Format
DESTTRN
Explanation
The destination position of the previous movement instruction is stored using a
type T data format. Because the data can be obtained with a system variable,
it does not require to transfer the data to another program with variables such
as local variables or global variables.
Use CURTRN to obtain positions detected with each axis encoder.
Related Terms
CURTRN, DESTJNT, DESTPOS
Example
DEFPOS lp1, lp2
MOVE P, @P lp1, NEXT
lp2 = DESTTRN+(100, 10, 10) 'In this case, DESTTRN = lp1.
Notes
When the movement stop instruction (refer to Part 2 “5.3.3 INTERRUPT
ON/OFF”) is entered and the movement stops, the stop position is stored.
(Example) INTERRUPT ON
MOVE P, T1 An interrupt signal turns ON during movement.
INTERRUT OFF
T2=DESTTRN
T1=T2 is not satisfied. T2 is a stop position.
Vue de la page 305
1 2 ... 301 302 303 304 305 306 307 308 309 310 311 ... 691 692

Commentaires sur ces manuels

Pas de commentaire