Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 823 of 909
Part 3: Example SmartMotor
Programs
Part 3 of this guide provides examples of SmartMotor programs that can be used as reference
material for application development. The code examples can be copied and pasted into the
SMIprogram editor.
Move Back and Forth 824
Move Back and Forth with Watch 824
Home Against a Hard Stop (Basic) 825
Home Against a Hard Stop (Advanced) 825
Home Against a Hard Stop (Two Motors) 826
Home to Index Using Different Modes 828
Maintain Velocity During Analog Drift 829
Long-Term Storage of Variables 830
Find Errors and Print Them 830
Change Speed on Digital Input 831
Pulse Output on a Given Position 831
Stop Motion if Voltage Drops 832
Camming - Variable Cam Example 833
Camming - Fixed Cam with Input Variables 834
Camming - Demo XYCircle 836
Chevron Traverse & Takeup 838
CAN Bus - Timed SDOPoll 840
CAN Bus - I/OBlock with PDOPoll 841
CAN Bus - Time Sync Follow Encoder 844
Text Replacement in an SMI Program 852
Part 3: Example SmartMotor Programs