Hello Guest it is April 28, 2024, 06:59:56 AM

Author Topic: Why does Mach 4 store machine position during probe strike in G54?  (Read 747 times)

0 Members and 1 Guest are viewing this topic.

Like the title states why does Mach 4 store machine position during probe strike in G54?

This messes up my work offsets when probing tool length during a tool change.

Is it possible to stop this, or change it to a different location?
Re: Why does Mach 4 store machine position during probe strike in G54?
« Reply #1 on: March 11, 2022, 11:45:27 AM »
It should store both
#5061-#5066 is probe position X-C axis in part coordinates
#5071-#5076 is probe position X-C axis in machine coordinates

Alternatively you can just use mc.SV_PROBE_POS_Z (#5063) or mc.SV_PROBE_MACH_POS_Z (#5073) with mcCntlGetPoundVar
« Last Edit: March 11, 2022, 11:47:07 AM by SwiftyJ »
Re: Why does Mach 4 store machine position during probe strike in G54?
« Reply #2 on: March 11, 2022, 05:51:13 PM »
It seems to do this by default.

Is it possible to prevent this from happening?

Offline smurph

*
  • *
  •  1,546 1,546
  • "That there... that's an RV."
    • View Profile
Re: Why does Mach 4 store machine position during probe strike in G54?
« Reply #3 on: March 20, 2022, 02:22:11 AM »
It does both by default.  Why would you want to prevent it?  Just use the machine coordinates.

Steve
Re: Why does Mach 4 store machine position during probe strike in G54?
« Reply #4 on: March 20, 2022, 11:08:40 AM »
I want oprevent it because it messes up the work offsets.

Once I have my material all set up and the 0,0,0 position of the stock is set, The tool change messes up the Z offset, now my 0,0,0 position is no longer where my stock is. That breaks tools or ruins workpieces which means lost $$$$