Lenze PMSS1000 Simple Servo Bedienungsanleitung Seite 69

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 72
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 68
1 2 ... 64 65 66 67 68 69 70 71 72

Kommentare zu diesen Handbüchern

Keine Kommentare