Lenze PMSS1000 Simple Servo Manuel d'utilisateur Page 69

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 72
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 68
Indexer-Programmer-Manual.pdf REV 1.3
REGISTRATION ON Registration On Statement
Purpose This statement arms registration input (input IN_C3). When registration input is
activated current position is captured to the RPOS System variable and Flag variable
F_REGISTRATION is set. User program then can retrieve RPOS to get a position
when registration input was activated. REGISTARTION ON statement resets
F_REGISTARTION flag.
Syntax
REGISTARTION ON ;flag F_REGISTARTION is reset and
registration input is
;armed
See Also MOVEDR, MOVEPR
Example:
…{statements}
;Move until input is activated and then come back at the sensor ;position
REGISTARTION ON ;Arm registration input
MOVE UNTIL IN_C3 ;move until input is activated -
;sensor hit
MOVEP RPOS ;absolute move to the position of
;the sensor
…{statements}
RESUME Resume Statement
Purpose End and return from a fault handler to a specific line as specified by <label> argument.
Statement aloowed only in fault handler
Syntax RESUME <label>
<label> specifiec program's line marked with <label>
See Also ON FAULT
Example:
…{statements}
FaultRecovery:
…{statements}
END
ON FAULT ;any fault gets program flow here
…{statements}
RESUME FaultRecovery ;execution of resume ends fault handler
ENDFAULT ;must end with this terminator
69
Vue de la page 68
1 2 ... 64 65 66 67 68 69 70 71 72

Commentaires sur ces manuels

Pas de commentaire