Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 578 of 909
EXAMPLE:
Enter the following commands in the SMI software Terminal window:
ENC0 'Read position from internal encoder
O=1234 'Set origin to 1234
RPA 'Responds with 1234
'Manually rotate the motor shaft a few turns clockwise
RPA 'Responds with a higher count, like 9936
MINV(1) 'Inverts the direction convention
RPA 'Responds with same higher count, like 9936
'Manually rotate the motor shaft a few turns clockwise
RPA 'Responds with a lower count, like 694
MINV(0) 'Restores the default direction convention
'Manually rotate the motor shaft a few turns clockwise
RPA 'Responds with a higher count, like 8723
RELATED COMMANDS:
R
CTR(enc) Counter, Encoder, Step and Direction (see page 374)
R
PA Position, Actual (see page 615)
Part 2: Commands: MINV(arg)