fix: online changes in e20639 for mcs card operating full 2D grid

This commit is contained in:
e20639
2023-09-13 17:28:39 +02:00
parent 0bf308a13d
commit 67115a0658
5 changed files with 63 additions and 29 deletions

View File

@@ -689,6 +689,10 @@ class SGalilMotor(Device, PositionerBase):
def stop(self, *, success=False):
self.controller.stop_all_axes()
#last_speed = self.controller.socket_put_and_receive("MG")
rtr = self.controller.socket_put_and_receive(f'SPC={2*10000}')
logger.info(f"{rtr}")
#logger.info(f'Motor stopped, restored speed for samy from {last_speed}mm/s to 2mm/s')
return super().stop(success=success)
def kickoff(self) -> DeviceStatus: