Hello Guest it is April 16, 2024, 01:40:47 PM

Author Topic: G31 Bug?  (Read 5820 times)

0 Members and 1 Guest are viewing this topic.

G31 Bug?
« on: February 18, 2009, 10:48:29 PM »
When I do a "G31 Z-0.5000", the Z axis starts moving, and keeps going forever.  Isn't it supposed to stop when it reaches the target position of -0.5000. if it hasn't seen the probe input go active?

Regards,
Ray L.
Regards,
Ray L.

Offline Tweakie.CNC

*
  • *
  •  9,197 9,197
  • Super Kitty
    • View Profile
Re: G31 Bug?
« Reply #1 on: February 19, 2009, 02:59:34 AM »
Thought I would try this and mine does the same - 'no probe, no stop'.

Tweakie.
PEACE

Offline Tweakie.CNC

*
  • *
  •  9,197 9,197
  • Super Kitty
    • View Profile
Re: G31 Bug?
« Reply #2 on: February 19, 2009, 03:19:44 AM »
Update.

Restarted Mach and it works fine now - stops as it is supposed to. Could it have been something left in a buffer from the previous program ?.

Tweakie.

PEACE

Offline Tweakie.CNC

*
  • *
  •  9,197 9,197
  • Super Kitty
    • View Profile
Re: G31 Bug?
« Reply #3 on: February 19, 2009, 03:29:11 AM »
Hi Himy,

After trying many possibilities it only happens when 'Machine Coordinates' are checked. So uncheck and problem solved perhaps ?.

Tweakie.
PEACE

Offline jimpinder

*
  •  1,232 1,232
  • Wakefield, West Yorks, UK
    • View Profile
Re: G31 Bug?
« Reply #4 on: February 19, 2009, 04:39:30 AM »
Ray - As far as I can see, G31 works on Program Co-ordinates only - in other words the number you put in the command refers to the program co-ordinate, not the machine co-ordinate, Perhaps you were looking at the Machine Co-ordinates when you did this.
Not me driving the engine - I'm better looking.

Offline Greolt

*
  •  956 956
    • View Profile
Re: G31 Bug?
« Reply #5 on: February 19, 2009, 06:04:25 AM »
Ray

Is this with the SmoothStepper or LPT ?


Greg
Re: G31 Bug?
« Reply #6 on: February 19, 2009, 10:24:28 AM »
Makes no difference whether I'm in machine or user coordinates.  I zero both, issue the G31, and off it goes, never to stop.  I"m just doing it in simulation, right now, no machine at all.

Regards,
Ray L.
Regards,
Ray L.
Re: G31 Bug?
« Reply #7 on: February 19, 2009, 09:58:57 PM »
Turns out, G31 does not work right if you don't have the PP driver installed.....

Regards,
Ray L.
Regards,
Ray L.

Offline jimpinder

*
  •  1,232 1,232
  • Wakefield, West Yorks, UK
    • View Profile
Re: G31 Bug?
« Reply #8 on: February 20, 2009, 03:15:36 AM »
I take it you mean the Mach 3 drivers installed - because it seems to work alright on both my computers, one with and one without machines attached, but both with drivers..
Not me driving the engine - I'm better looking.
Re: G31 Bug?
« Reply #9 on: February 20, 2009, 11:09:06 AM »
I take it you mean the Mach 3 drivers installed - because it seems to work alright on both my computers, one with and one without machines attached, but both with drivers..

Correct.
Regards,
Ray L.