P
ar
t
1: P
rog
ra
m
ming
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 164 of 909
RCP
Read Cam pointer
The RCP command reports the Cam pointer, and the CP variable can be used by the user
program.
RCTT
Read number of Cam tables
The RCTT command reports the number of Cam tables, and the CTT variable can be used by
the user program.
MC
Enter Cam mode
The MC command enters Cam mode and must be issued before the G command.
MCMUL=formula
Cam table value multiplier
This value is multiplied by the Cam table value and fed as a commanded value to the
trajectory of the camming motor.
MCDIV=formula
Cam table value divisor
This value is divided into the Cam table value and fed as a commanded value to the trajectory
of the camming motor
O(arg)=formula
Set move generator origin to value
The O()= command sets the move generator origin based on the following arguments:
0
Set the origin of the global move generator (sets value of PA)
1
Set the origin of move generator 1 (sets value of PC(1))
2
Set the origin of move generator 2 (sets value of PC(2))
OSH(arg)=formula
Shift move generator origin to value
The OSH()= command shifts the move generator origin based on the following arguments:
0
Shift the origin of the global move generator (sets value of PA)
1
Shift the origin of move generator 1 (sets value of PC(1))
2
Shift the origin of move generator 2 (sets value of PC(2))
Part 1: Programming: RCP