P
ar
t
2: C
omman
d
s
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 309 of 909
EXAMPLE:
(fast position capture)
EIGN(6)
'Set port 6 as input port
EIRI
'Set port 6 to register internal encoder
'Set F command flags
VT=
100000
'Set velocity
ADT=
100
'Set accel/decel
MV
'Set to Velocity Mode
Aj
(0)
'Arm registration
G
'Start moving
WHILE
Bj
(0)==0
'Travel until index reached
LOOP
X
'Decelerate to a stop
RJ(0)
'Report registered position
END
RELATED COMMANDS:
Arm Index Rising Edge Then Falling Edge (see page 266)
Arm Index Falling Edge (see page 268)
Arm Index Falling Edge Then Rising Edge (see page 270)
R
R
Bit, Index Input, Real-Time (see page 346)
Enable Index Register, External-Input Capture (see page 412)
Enable Index Register, Internal-Input Capture (see page 414)
R
Index, Falling-Edge Position (see page 493)
R
Report Specified Status Word (see page 793)
Total CPU Reset (see page 806)
Reset Specified Status Bit (see page 808)
Global Reset System State Flag (see page 818)
Part 2: Commands: Bj(enc)
Содержание SmartMotor
Страница 1: ...Developer s Guide Class 5 Later SmartMotor Technology with TM ...
Страница 909: ...PN SC80100003 002 Rev L ...