Programatic set Z Zero doesn't work when bitsetter enabled

When the Bitsetter is enabled, programmaticly setting Z Z doesn’t work.

NOTE - if you enable or disable the bitsetter, you must quit CM and restart it before continuing.

With the BitSetter disabled, the following quick action code sets Z Zero 50 mm below machine Z Zero. Since the Z axis is positioned to machine Z=-5mm, when complete the Position shows Z as 45mm, as expected.

G21 G90 G54
G53 G0Z-5
G10 L2 P1 Z50

Once the BitSetter is enabled, the same code end up with the Z Position (on my machine, with this bit) is now 126.975.

Is this a bug? Is there any way to set Z Zero that works as expected regardless of the bitsetter is enabled or not?

If the betsetter is enabled, it’s also applying the Tool Length Offset. If the new tool is 81.975 shorter than the previous tool, I would expect it to read 126.975.
As a test, include a G49 in your macro to cancel the TLO, and see what it reads.

You do not have to restart CM when changing the bitsetter setting. You do need to re-zero, because you have effectively turned ON/OFF the TLO.

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.