Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 47 of 909
Beginning Programming
This chapter provides information on beginning programming with the SmartMotor. It
introduces you to using the SMI™ Program Editor, understanding program requirements,
creating a program, downloading the program and then running it in the SmartMotor. It
concludes with a sample for creating your first motion program.
Setting the Motor Firmware Version 48
Setting the Default Firmware Version 48
Checking the Default Firmware Version 49
Opening the SMIWindow (Program Editor) 49
Understanding the Program Requirements 50
Creating a "Hello World" Program 51
Entering the Program in the SMI Editor 51
Adding Comments to the Code 52
Checking the Program Syntax 52
Saving the Program 52
Downloading a Program to the SmartMotor 52
Syntax Checking, Compiling and Downloading the Program 53
Additional Notes on Downloaded Programs 53
Running a Downloaded Program 54
Using the Program Download Window 55
Using the Terminal Window and Run Program Button 55
Using the RUN Command in the Terminal Window 55
Creating a Simple Motion Program 56
Part 1: Programming: Beginning Programming