Join us today!
TwinCAT Motion - Writing NC Parameters
Hi all,
I've written some code with the intention that, it shall write an array of values to the NC Parameters from a HMI screen, all configured within my project. To do this I used two FB's, ADS_Read (to read the NC) and ADS_Write (to.... write to the NC).
They both work perfectly for this purpose, and the changes can be seen updating from the HMIto the parameter tab of the Axis being uploaded to.
Now the issue is that, these changes are only uploaded to volatile memory, hence once they are lost once the project is restarted!
So the question is.... has anyone experienced this and how have you dealt with it, I've found a few FB's that be required, however I don't want to loose myself by going down any unnecessary rabbit wholes!!
Any help is greatly appreciated 🙂
- 17 Forums
- 280 Topics
- 945 Posts
- 2 Online
- 786 Members