Hello Guest it is April 19, 2024, 08:41:55 AM

Author Topic: RE G31 PROBE COMMAND  (Read 5822 times)

0 Members and 1 Guest are viewing this topic.

RE G31 PROBE COMMAND
« on: June 29, 2006, 07:59:21 PM »
Hi please can anyone help with G31, when reading Mach 3 user's guide it states that you must use " at least 1 axis word " ( page 10-20 ) & " after successful probing parameters 2000 to 2005 will record trip point " page 10-21.

say try this line   code " G31 X50 Y50 "   no movement  I assumed it would move towards X50 Y50 stop when probe trips, is this possible as i need to probe at angle

                       code " G31 X50 " ok

         Many Thanks Paul Strotten
Re: RE G31 PROBE COMMAND
« Reply #1 on: June 29, 2006, 09:19:56 PM »
You can't probe at an angle with the Printer port :( The Grex wil be able to probe at an angle :)
Sorry Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: RE G31 PROBE COMMAND
« Reply #2 on: June 30, 2006, 07:59:41 AM »
Hi Brian thanks for fast reply, ok how about work round this appears to work on screen test with 1.5mm over run
 
    Call SETUSERDRO( 1007,GETDRO( 0 ))' = X PROBE TRIP POINT
    Call SETUSERDRO( 1008,GETDRO( 1 ))'  = Y PROBE TRIP POINT
    DOOEMBUTTON( 1001 )' STOPPED BY FEEDHOLD

will over run be consistent or vary due to buffer load . my probe allows for about 2mm over travel if over run consistant this ok.
or if possible could i use stop in place of feedhold. as running servo drives and not running very fast. please note this is for a hybrid portable router cutting Kitchen worktop joints, cutter system needs to be fully automatic with little operator input, thereby reducing  errors. have been following Grex with much intrest will possibly use on next mc. any info on work round please.

Thanks Paul Strotten
   
Re: RE G31 PROBE COMMAND
« Reply #3 on: June 30, 2006, 08:55:23 AM »
This is how you should get the point :)
There is a section on how to write a probe macro in the wiki that I think could help you :) If you need more please feel free!

    Call SETUSERDRO( 1007,GetVar(2000))' = X PROBE TRIP POINT
    Call SETUSERDRO( 1008,GetVar(2001))'  = Y PROBE TRIP POINT
    DOOEMBUTTON( 1001 )' STOPPED BY FEEDHOLD
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com