Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 9 of 909
OSH(arg)=formula 164
Cam Example Program 165
Mode Switch Example 168
Position Counters 170
Modulo Position 171
Modulo Position Commands 171
Dual Trajectories 172
Commands That Read Trajectory Information 174
Dual Trajectory Example Program 175
Synchronized Motion 175
Synchronized-Target Commands 175
PTS(), PRTS() 175
VTS=formula 176
ADTS=formula, ATS=formula, DTS=formula 177
PTSS(), PRTSS() 177
A Note About PTS and PTSS 177
Other Synchronized-Motion Commands 178
GS 178
TSWAIT 179
Program Flow Details 181
Introduction 182
Flow Commands 182
RUN 183
RUN? 183
GOTO#, GOTO(label), C# 183
GOSUB#, GOSUB(label), RETURN 184
IF, ENDIF 184
ELSE, ELSEIF 185
WHILE, LOOP 186
SWITCH, CASE, DEFAULT, BREAK, ENDS 186
TWAIT 187
WAIT=formula 187
STACK 187
END 188
Program Flow Examples 189
IF, ELSEIF, ELSE, ENDIF Examples 189
WHILE, LOOPExamples 189