Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 36 of 909
Part 1: Programming the SmartMotor
Part 1 of this guide provides information on programming, SMIsoftware features,
communications, variables, error and fault handling, I/Ocontrol, and other details required
for system and application development.
Beginning Programming 47
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
SMISoftware Features 57
Introduction 58
Menu Bar 58
Toolbar 59
Configuration Window 61
Terminal Window 63
Initiating Motion from the Terminal Window 65
Information Window 65
Part 1: Programming the SmartMotor