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 #267 background imageLoading...
Page #267 background image
Part 2: Commands
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 267 of 909
EXAMPLE:
EIGN(W,0) 'Set all I/O as general inputs
a=0
ZS 'Clear all faults
Aij(0) 'Arm motor’s capture register
MV 'Set up slow velocity mode
VT=1000
ADT=10 'Set up slow accel/decel
G 'Start motion
WHILE Bi(0)==0 'While waiting for rising edge
LOOP 'Loop back
RI(0) 'Report rising edge
WHILE Bj(0)==0 'While waiting for falling edge
LOOP 'Loop back
RJ(0) 'Report falling edge
OFF
END
RELATED COMMANDS:
Ai(arg) Arm Index Rising Edge (see page 264)
Aj(arg) Arm Index Falling Edge (see page 268)
Aji(arg) Arm Index Falling Edge Then Rising Edge (see page 270)
R
Bi(enc) Bit, Index Capture, Rising (see page 304)
R
Bj(enc) Bit, Index Capture, Falling (see page 307)
EIRE Enable Index Register, External-Input Capture (see page 412)
EIRI Enable Index Register, Internal-Input Capture (see page 414)
R
I(enc) Index, Rising-Edge Position (see page 471)
R
J(enc) Index, Falling-Edge Position (see page 493)
Part 2: Commands: Aij(arg)

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