ISISComputingGroup / ISISComputingGroup/IBEX
Galil: Should be in alarm on startup if disconnected
- Dominant language
- No language data
- Stars
- 6
- Forks
- 2
- Avg merge
- 16h 40m
- Merged PRs (30d)
- 2
Description
As a user I would like to know if my motors are not connected. Currently if I start a Galil and it is not connected to any kit it will not go into alarm. To reproduce:
- Start a galil (with a valid MTRCTRL but not in RECSIM/DEVSIM)
- Do `caget -a %MYPVPREFIX%MOT:MTR0101` and confirm that the motor timestamp is undefined and the record is not in `COMM ERROR`
This was discovered when writing support for the Beckhoff. The underlying problem is that the motor will not go out of an undefined state if the position is set to 0 on the first poll of the axis. So to fix you need to set the position to non-zero when there is a comms error. This may be fixed by the new galil driver (https://github.com/ISISComputingGroup/IBEX/issues/2830) or by a later version of the motor record.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.