Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: turmite on June 07, 2018, 03:11:44 PM
-
Hello all,
I now have a good stable working M6 macro and need to start using it. To do this I need to be able to see the tool length offsets and have discovered there are several different methods.
I could use some guidance in this area.
Mike
-
Did you get anywhere with this? i'm having some problems too
-
it's possible using the screen editor. but depends on how you want to view it. If you only need it in the script use the mc.mcToolGetDataExDbl(inst, toolnum, "Length") LUA API call. for putting it in DRO, Label or Text box you can use the scr.SetProperty(componentName, "Value", toolLength) API call.
mayb easier to do in screen editor if you knew which pound var numbers were associate with tool lengths in the table.