P
ar
t
1: P
rog
ra
m
ming
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 214 of 909
Multiple Trajectory Support Status Bits
The SmartMotor system provides the ability to have multiple trajectory generators operating
at the same time. The outputs of the trajectory generators can be manipulated to affect the
SmartMotor in a combination of ways, which are discussed in other section of this manual.
The trajectory generator status bits help you properly control the use of the trajectory
generators from an application program or over a network.
The following example exercises the trajectory status bits of Status Word 7 in a standard
Class 5 SmartMotor:
EIGN
(W,0)
ZS
MFA
(1000)
'Set up Gearing Profile
MFR
(2)
'Gearing profile for Trajectory Generator (TG)2
O
=0
'Establish actual position to zero
PT
=0
'Set target position to zero
VT
=1000
'Set target velocity
ADT
=100
'Set accel/decel
MP
(1)
'Position mode for Trajectory Generator (TG)1
G
(2)
'Start TG 2, TG2 in Progress is ON
G
(1)
'Start TG 1, PC=PT so TG 1 in progress is OFF
PT
=10000
G
(1)
'Until PC=PT TG1 in progress is ON
TWAIT
(1)
OFF
END
Part 1: Programming: Multiple Trajectory Support Status Bits
Содержание SmartMotor
Страница 1: ...Developer s Guide Class 5 Later SmartMotor Technology with TM ...
Страница 909: ...PN SC80100003 002 Rev L ...