Mint NextMove PCI Installationsanleitung Seite 25

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 153
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 24
Mint™ v4 Advanced Programming Guide
16 MN1270 02.2002
?FASTPOS.0 : REM latch position of axis 0
?FASTPOS.1 : REM latch position of axis 1
RETURN
REM
REM fast interrupt 2
REM
#FASTIN2
?”Input 2 Latched”
?FASTPOS.3 : REM latch position of axis 3
RETURN
REM
REM fast interrupt 3
REM
#FASTIN3
?”Input 3 Latched”
?FASTPOS.2 : REM latch position of axis 2
RETURN
Single handler
DIMi=0
FASTSELECT.0=0:REMaxis 0 will use input 0 to latch position
FASTSELECT.1=0:REMaxis 1 will use input 0 to latch position
FASTSELECT.2=3:REMaxis 2 will use input 3 to latch position
FASTSELECT.3=2:REMaxis 3 will use input 2 to latch position
FASTLATCHMODE[0,1,2,3] = 1; : REM re-latch only when the handler is complete
FASTENABLE[0,1,2,3] = 0; : REM clear all latches
PAUSE INKEY : REM wait for key press
END : REM end of program
REM
REM fast interrupt handler
REM
#FASTIN
FORi=0TO4
IF FASTLATCH.i THEN ?”Axis “, i, “ latched : ”, FASTPOS.i
NEXT
RETURN
Seitenansicht 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 152 153

Kommentare zu diesen Handbüchern

Keine Kommentare