Hello fellow Mach4ers,
I recently switched from Mach3 to Mach4 and try build my Mach3 functions now in LUA.
1. I'm building a script to probe a reference height tool and write the G31 probe value to a dro.
2. Next, I'm probing the actual tool during the Gcode and write probe height from the first step the Z-DRO.
My questions:
- How can I check if the Z axis is at a specific G53 position? Whats the handle (like " if selectedtool")?
- What would be the correct way to write/read/transfer the variables and DRO values?
Thanks a lot!!