Hi all-
I have added a bit of code to my tool change macro that updates the Z min soft limit based on the difference in tool length offsets between the old and new tools (SetOEMDRO(158, OffsetDiff). The goal is to avoid slamming my tools into the table.
This macro works perfectly in the sense that the Z min soft limit is updated correctly.
The problem is that Mach3 (.062 or .066) is not "aware" that the soft limit has been updated until a reset (pushing the reset button twice) is performed.
I have tried to incorporate a DoOEMButton(1021) into my macro (should mimic a reset button press). I actually tried two of these call separated by a sleep 100 command, but this does not work.
Does anyone know how to reset Mach3 from within a macro ?
Thx
Jake
Sent from my iPad using Tapatalk