I'm trying to read a custom user field that I'm putting in a tool table.
I want to add the field "Heavy Tool" to the tool table. I've got it set up but I don't know the syntax to read it from the m6.
Going back to my Hurco code, I am reading the Pocket from the tool table, here is that line of code:
local Pocket = mc.mcToolGetData(inst, mc.MTOOL_MILL_POCKET, Tool);
I named my user field "Heavy" to keep it simple for now and tried this code and it did not work...:
local HeavyToolCheck = mc.mcToolGetData(inst, mc.MTOOL_MILL_HEAVY, Tool);
When you set the user field up it asks for a Key Name input, So I made it "Heavy" I figured that would be what I put in the macro, but it isn't.
Anyone know how to do this?