As a supporter, when I apply the motor settings from a batch script I do not wish it to redefine the motor position in the controller. Seen on SURF, to reproduce:
Start IBEX
Run script defining motor settings including motor and encoder resolution changes
Positions do not change, including motor readbacks, controllers now have different 0 defined, even after galil restart/ and or changing to SECI.
Acceptance Criteria
Procedure or fix is provided so that the migration can be performed without losing motor positions.
Notes
I suspect but haven't confirmed that when you change the motor resolution on a galil that the current position is kept and the new motor step value for that position is calculated and sent to the controller. This may be avoided by simply running the script before setting the IP address of the controllers. There may be other ways around this.
In the case where an axis can be homed, this is not a problem because the next task after running the migration script is to home all motors; thus setting 0.
As a supporter, when I apply the motor settings from a batch script I do not wish it to redefine the motor position in the controller. Seen on SURF, to reproduce:
Acceptance Criteria
Notes