ok- probably about 10 hours of head scratching and question asking to get this far! but its looking good and working well
firstly- thanks to the chaps here that helped.
saves tool holder pocket content on shut down - and instantly from my m6 macro. ie what tool is in what tool pocket position
reloads all info on startup
sets last tool used and re loads the correct offset and verifies after startup.
lets me know its all done
lots of converting from string to double, double to int etc had to be done to accomplish this- thats why it took so long.
not bad for someone who isnt a programmer !
have a look- let me know thoughts
https://www.youtube.com/watch?v=PGzKizW ... e=youtu.be