I'm making a tool change macro and stuck on trying to detect if the machine is homed. I've tried using GetOEMLed(807)/GetOEMLed(808)/GetOEMLed(809) as well as GetOEMDRO(33)/GetOEMDRO(34)/GetOEMDRO(35) but none of these return anything but 0 or false. I'm using Mach 3 v1.82 and I'm guessing the above is for later releases. Anyone know the proper voodoo to get 1.82 to tell me if the machine is homed? Thanks.
Mach3 2010 Screenset
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)