DAMCMOTCTRL Class Commands
Name
Input type
Output type
Level
Description
State DEV_VOID DEV_STATE OPERATOR This command gets the device state (stored in its device_state data member) and returns it to the caller.
Status DEV_VOID CONST_DEV_STRING OPERATOR This command gets the device status (stored in its device_status data member) and returns it to the caller.
Calibrate DEV_DOUBLE DEV_LONG OPERATOR The input argument defines the position the motor is set to.
StopMove DEV_VOID DEV_VOID OPERATOR Soft stop
Configure DEV_VOID DEV_VOID OPERATOR Sets the attributes to default values:

`Acceleration`: 200000,
`BaseRate`: 20,
`Conversion`: 200000,
`SettleTime`: 0.1,
`SlewRate`: 40000,
`StepBacklash`: 20000,
`StepCalibration`: 0,
`StepLimitMax`: 1000000,
`StepLimitMin`: -1000000,
`StepCalibration`: 0,
`UnitCalibration`: 0,
`HomePosition`: 0,
`ConversionEncoder`: 200000,
`EncoderRegister`: 0

self.write_axis( ``LO%d`` % 0)
SetStepRegister DEV_LONG DEV_VOID OPERATOR Sets the register to the specified value,
adjusts the StepCalibration to leave
the StepPosition unchanged
CalibrateEncoder DEV_VOID DEV_LONG OPERATOR Calibrates the encoder position to the current motor position
by adjusting the HomePosition