Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: Kimcnc on April 12, 2022, 04:03:58 PM

Title: Setting of digital read out values using script Mach4
Post by: Kimcnc on April 12, 2022, 04:03:58 PM
Hello,

I am struggling to understand if it possible to set a digital read out value like the Gage Block dro in the offsets page for Mach4 mill, using a script.

My m6 macro is already successfully reading the Z-axis machine coordinate and it stores that value to the tool table for the selected tool number. Now I would just like to improve it and store this value also to the Gage Block dro. This will make easier for me to Set Z work offset for my parts.

Any advice?

Thanks!
Title: Re: Setting of digital read out values using script Mach4
Post by: Bill_O on April 13, 2022, 08:39:38 AM
It will take a little coding.
Here is a doc that might help.
https://www.machsupport.com/forum/index.php?topic=45397.msg289143#msg289143