1
VB and the development of wizards / Tool zeroing macro help
« on: November 08, 2012, 08:01:40 PM »
Hi everyone,
I need some help on writing a macro for zeroing the tool. I always zero the tool by the center of the work piece, so I touch one side of the piece with the tool or edge finder, then zero it, go to the other side and touch the piece again; then I divide the DRO value by 2 and that's it. same procedure for both x & y axis.
So, here's my idea: a macro that would get the DRO value, divide it by two, move the axis to this new value and zero the tool.
Can anyone help me writing this?
Thanks
I need some help on writing a macro for zeroing the tool. I always zero the tool by the center of the work piece, so I touch one side of the piece with the tool or edge finder, then zero it, go to the other side and touch the piece again; then I divide the DRO value by 2 and that's it. same procedure for both x & y axis.
So, here's my idea: a macro that would get the DRO value, divide it by two, move the axis to this new value and zero the tool.
Can anyone help me writing this?
Thanks