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 #53 background imageLoading...
Page #53 background image
Part 1: Programming
Moog Animatics SmartMotor Developer's Guide,Rev. L
Page 53 of 909
Syntax Checking, Compiling and Downloading the Program
The program can be syntax checked, compiled and transmitted to the SmartMotor in one
operation.
To compile the program and then transmit it to the SmartMotor:
NOTE: SMI transmits the compiled version of the program to the SmartMotor.
1. Click the Compile and Download Program button ( ) on the toolbar or press the F5 key.
The Select Motor window opens, which is used to specify which motor(s) will receive the
program.
2.
Select the desired motor(s) from the list. The SMI software compiles the program
during this step and also checks for errors. If errors are found, make the necessary
corrections and try again.
3.
Click OK to close the window and transmit the program. A progress bar shows the status
of the transmission.
Because the SmartMotor's EEPROM (long-term memory) is slow to write, the terminal
software uses two-way communications to regulate the download of a new program.
Additional Notes on Downloaded Programs
Keep the following items in mind regarding programs that have been downloaded to the
SmartMotor:
l
After the program has been downloaded into the SmartMotor, it remains there until
replaced.
l
The downloaded program executes every time power is applied to the motor.
l
There is a 500 ms timeout before the motor will accept commands on the serial
port. Any commands sent during that time are buffered and then accepted once
the 500 ms timeout expires. Because incoming commands take priority over the
internal program, buffered commands run before the internal program begins.
l
If you do not want the program to execute every time power is applied, you must
add a RUN? command as the first line/command of the program. For an example,
see Creating a "Hello World" Program on page 51.
l
To get a program to operate continuously, write a loop. For details, see Program
Flow Details on page 181.
l
A program cannot be erased; it can only be replaced. To effectively replace a program
with nothing, download a program with only one command: END.
Remember that all programs, even "empty" ones, must contain at least one
ENDcommand. For more details on program requirements, see Understanding the
Program Requirements on page 50.
Part 1: Programming: Syntax Checking, Compiling and Downloading the Program

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