Constants
Defines some Enumerations for constant values
- class pmac_motorhome.constants.ControllerType(value)[source]
Defines the types of controller supported
- brick = 'GeoBrick'
Geobrick controller
- pmac = 'PMAC'
VME PMAC Controller
- pbrick = 'PowerBrick'
Power pmac controller
- class pmac_motorhome.constants.PostHomeMove(value)[source]
Defines the set up actions available upon completion of the homing sequence
- none = 'None'
no action
- move_and_hmz = 'z'
move jdist counts away from the home mark and set that as home
- relative_move = 'r'
move jdist counts away from the home mark
- initial_position = 'i'
return to the original position before the homing sequence
- high_limit = 'h'
jog to the high limit
- low_limit = 'l'
jog to the low limit
- hard_hi_limit = 'H'
jog to the high limit, ignorning soft limits
- hard_lo_limit = 'L'
jog to the low limit, ignorning soft limits
- move_absolute = 'a'
jog to the absolute position in counts
- class pmac_motorhome.constants.HomingState(value)[source]
Defines the stages of homing as reported back to the monitoring IOC TODO docs for this are incorrect and I’m confusing HomingState with HomingStatus
- StateIdle = 0
Homing is not running
- StateConfiguring = 1
Homing is starting up
- StateMoveNeg = 2
Homing is moving in opposite direction to homing direction
- StateMovePos = 3
Homing is moving in the homing direction
- StateHoming = 4
HM command has been issued to the pmac
- StatePostHomeMove = 5
executing any post home moves
- StateAligning = 6
executing alignment (unused)
- StateDone = 7
Homing is complete
- StateFastSearch = 8
Pre Home fast search for home position
- StateFastRetrace = 9
Moving back to just before home position
- StatePreHomeMove = 10