Hello Guest it is April 19, 2024, 01:56:19 AM

Author Topic: M40 Triplet File Issues  (Read 2279 times)

0 Members and 1 Guest are viewing this topic.

M40 Triplet File Issues
« on: May 02, 2016, 12:03:49 AM »
I am using a cheap NO switch to create a digitizing probe. The switch itself is a simple switch with a roller point often used as a limit switch. It is connected to pin #11 and 5v. The switch works perfectly. G31 probes down, the switch trips and a line is written to the M40 file. The problem is the Z height recorded is wrong! X & Y locations are correct but the Z height is off by about 0.25 or so. It shows correctly on the Mach3 screen. Anyone have any idea why the Z height would be recorded wrong?
Thanks Dave

Offline Tweakie.CNC

*
  • *
  •  9,198 9,198
  • Super Kitty
    • View Profile
Re: M40 Triplet File Issues
« Reply #1 on: May 02, 2016, 01:40:26 AM »
Could it be that the G31 is storing the true point of touch in Var(2002) whereas the Z xis is actually using the specified deceleration before coming to rest ?

Tweakie.
PEACE
Re: M40 Triplet File Issues
« Reply #2 on: May 02, 2016, 08:51:05 AM »
Thanks for the reply. Possible. The start point is 0.25. The stored value seems to be 0.25 +/- the touch height. Using an F5 so I wouldn't think there would be a much deceleration. I have a lot of ideas to troubleshoot to include single step and watching the variable.
Dave