Motor¶
- class asgard_alignment.ESOdevice.Motor(name, semaphore_id, named_positions={})¶
Bases:
ESOdevicethat in IC0FB, all motors are considered as “discrete”. A discrete motor can be set to any given encoder position, so continuous motors are actually discrete motors with no named positions defined.
This class covers both continuous and discrete motors.
Methods Summary
move_abs(position)Methods Documentation
- abstract move_abs(position: float)¶
- abstract disable()¶
The DISABLE command can be used to request the MCU to power off devices.
- abstract enable()¶
The ENABLE command can be used to request the MCU to power on devices.
- abstract move_abs(position: float)¶
- abstract move_relative(position: float)¶
- abstract online()¶
Upon reception, the ICS back-end server of the MCU shall power on all the controlled devices and have them ready to accept SETUP commands.
- abstract ping()¶
The PING command is used to check the status of the controller, sending a dummy command such as *IDN? and making sure there is a reply
- abstract read_state()¶
- abstract setup(value: str | float)¶
Command to move a device to a given position. The position is given in the value field.
- abstract standby()¶
Upon reception, the ICS back-end server of the MCU shall move some of the controlled devices to a safe “parking” position (if required) and power off all the controlled devices.
- abstract stop()¶
The STOP command is issued by the ICS on wag to immediately stop the motion (initiated by a SETUP command) of devices.