EasyManuals Logo

Moog SmartMotor User Manual

Moog SmartMotor
909 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #389 background imageLoading...
Page #389 background image
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 389 of 909
EXAMPLE: (Subroutine shows use of DITR, EITR, TMR and TWAIT)
C10 'Place a label
IF PA>47000 'Just before 12 moves
DITR(0) 'Disable interrupt
TWAIT 'Wait till reaches 48000
p=0 'Reset variable p
PT=p 'Set target position
G 'Start motion
TWAIT 'Wait for move to complete
EITR(0) 'Re-enable interrupt
TMR(0,1000) 'Restart timer
ENDIF
GOTO10 'Go back to label
RELATED COMMANDS:
EISM(6) E-Configure Input as Sync Master (see page 416)
EITR(int) Enable Interrupts (see page 417)
ITR(Int#,StatusWord,Bit#,BitState,Label#) Interrupt Setup (see page 486)
ITRD Interrupt Disable, Global (see page 489)
ITRE Enable Interrupts, Global (see page 491)
RETURNI Return Interrupt (see page 676)
Part 2: Commands: DITR(int)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Moog SmartMotor and is the answer not in the manual?

Moog SmartMotor Specifications

General IconGeneral
BrandMoog
ModelSmartMotor
CategoryServo Drives
LanguageEnglish

Related product manuals