Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 592 of 909
EXAMPLE: (Fault-handler subroutine, shows use of MTB and US)
C0 'Fault handler
MTB:0 'Motor will turn off with Dynamic
'braking, tell other motors to stop.
US(0):0 'Set User Status Bit 0 to 1 (Status
'Word 12 bit zero)
US(ADDR):0 'Set User Status Bit "address" to 1
'(Status Word 12 Bit "address")
RETURNI
RELATED COMMANDS:
BRKRLS Brake Release (see page 330)
FSA(cause,action) Fault Stop Action (see page 450)
G Start Motion (GO) (see page 456)
OFF Off (Drive Stage Power) (see page 605)
Part 2: Commands: MTB