Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZOOM PGC: Send encoder settings on Galil power cycle #6312

Open
DominicOram opened this issue Mar 15, 2021 · 4 comments
Open

ZOOM PGC: Send encoder settings on Galil power cycle #6312

DominicOram opened this issue Mar 15, 2021 · 4 comments

Comments

@DominicOram
Copy link
Contributor

As a scientist on ZOOM I would like to be able to reliably move the PGC. The PGC uses absolute encoders and to set them up after a power cycle the following code has to be sent:

SYA=0
SSA=1,26,27,0<15
SYB=0
SSB=1,26,27,0<6

This was previously done using premove commands but the commands are too long to be put in the premove string.

Acceptance Criteria

@FreddieAkeroyd
Copy link
Member

SYA=0;SSA=1,26,27,0<15 doesn't look too long for MTR0101.PREM - or do A and B not refer to axes and both parts need to be sent to the axis?

@FreddieAkeroyd
Copy link
Member

FreddieAkeroyd commented Mar 15, 2021

Though I have a feeling that sending them every move on IMAT might have caused issues. MTR0101.INIT might be a good place, but i can't remember if that field is used by the Galil driver.

@DominicOram
Copy link
Contributor Author

Only one of the axes moves so both parts were being sent in the same string

@DominicOram
Copy link
Contributor Author

What I have done for now is set the PREMOVE string to just be SYA=0;SSA=1,26,27,0<15; this will ensure that the first encoder always works. The second one is just a backup anyway so whilst it would be good to get it sorted it's not required for running the instrument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants