Open klauer opened 3 years ago
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.
Then that solves it: pytmc/ads-deploy should skip the axis entirely.
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:
cc @slactjohnson @ZLLentz @slacAWallace