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

Functionality for disabled NC axes and integration with ads-ioc #266

Open
klauer opened this issue May 27, 2021 · 2 comments
Open

Functionality for disabled NC axes and integration with ads-ioc #266

klauer opened this issue May 27, 2021 · 2 comments

Comments

@klauer
Copy link
Contributor

klauer commented May 27, 2021

Question: Should pytmc/ads-deploy not generate a motor record for disabled NC axes?

Sub-question: can a disabled-at-build-time NC axis be dynamically enabled during runtime?

In my opinion:

  • If the answer to the sub-question is "no", then pytmc/ads-deploy should skip the axis entirely.
  • If the answer to the sub-question is "yes", then pytmc/ads-deploy may (should?) create a motor record

cc @slactjohnson @ZLLentz @slacAWallace

@ZLLentz
Copy link
Member

ZLLentz commented Jun 1, 2021

I don't think any item in the TwinCAT tree can be dynamically enabled during runtime. I've always needed to reactivate config, so I assumed that a disabled item wasn't even sent to the PLC- could be wrong on the implementation detail, but I'm pretty sure that you cannot (and am 100% sure that you should not) enable NC items dynamically during runtime.

@klauer
Copy link
Contributor Author

klauer commented Jun 1, 2021

Then that solves it: pytmc/ads-deploy should skip the axis entirely.

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