Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 520 of 909
EXAMPLE:
The following procedure is an example of the steps needed for an outside program to send an
SMX file to the SmartMotor.
1.
Write the LOAD command.
2.
Read a 0x06 character back from the motor.
3.
Write 32 bytes of the .SMX file to the motor at a time.
4.
Read the 0x06 character back from the motor.
5.
Write any remaining bytes of the .SMX file (< 32).
6.
Write 0xff 0xff 0x20.
RELATED COMMANDS:
LOCKP Lock Program (see page 521)
RCKS Report Checksum (see page 669)
RUN Run Program (see page 682)
RUN? Halt Program Execution Until RUN Received (see page 684)
UP Upload Compiled Program and Header (see page 758)
UPLOAD Upload Standard User Program (see page 760)
Part 2: Commands: LOAD