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 #751 background imageLoading...
Page #751 background image
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 751 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:
R
Bt Bit, Trajectory In Progress (see page 340)
TSWAIT Trajectory Synchronized Wait (see page 749)
WAIT=formula Wait for Specified Time (see page 795)
Part 2: Commands: TWAIT(gen#)

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