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

Beckhoff: fill in DESC with description of axis #6860

Closed
3 tasks
rerpha opened this issue Oct 27, 2021 · 3 comments
Closed
3 tasks

Beckhoff: fill in DESC with description of axis #6860

rerpha opened this issue Oct 27, 2021 · 3 comments
Assignees

Comments

@rerpha
Copy link
Contributor

rerpha commented Oct 27, 2021

As a developer I would like to reduce the amount of manual steps taken when setting a Beckhoff on an instrument. One of these steps at the moment is filling in the .DESC field on the motor PV with a description of each Axis.

Acceptance Criteria

  • Discussion is had with Motion team to talk about how to add this information to the ST struct/global struct
  • This mechanism is utilised in the TWINCAT IOC, and when setting up the axes the DESC field is filled in
  • IOC tests are written for this.

Extra Information

Currently this information does not exist in the tpy file, maybe a good place to put it would be the globals struct (where things live that don't change dynamically, such as nAXIS_NUM which is the number of axes on a particular controller) - this is slightly problematic as we haven't got access to this information before an IOCInit therefore can't get its value when setting up the axes.

@DominicOram
Copy link
Contributor

It probably makes more sense to be in the Axis struct as it's per axis rather than global.

@rerpha

This comment was marked as outdated.

@rerpha
Copy link
Contributor Author

rerpha commented Oct 10, 2023

done in #7979

@rerpha rerpha closed this as completed Oct 10, 2023
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