Results 1 to 11 of 11

Thread: Undrestanding G38.2 probe file output

  1. #1
    Registered
    Join Date
    Feb 2008
    Location
    United Kingdom
    Posts
    11
    Downloads
    0
    Uploads
    0

    Undrestanding G38.2 probe file output

    Can anyone interpret the contents of the file referenced by a PROBEOPEN statement. I have a 3 axis mill, the x and y values make sense but I can make no sense of the z value. Also there are nine entries per G38.2 statement executed. I assume this is a feature, sorry bug?


  2. #2
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    514
    Downloads
    0
    Uploads
    0
    AFAIK, it would be one for each possible axis.

    John


  3. #3
    Registered
    Join Date
    Feb 2008
    Location
    United Kingdom
    Posts
    11
    Downloads
    0
    Uploads
    0

    Function GET_EXTERNAL_PROBE_POSITION in emccanon.cc

    As far as I can make out this is the code that outputs the x,y,x,a,b,c,u,v and w coordinate values. Possibly this called once per gcode co-ordinate system. Have not got that far yet. However the Z value is at odds with the displayed value in the AXIS opengl window. Whereas axis reports a value of say -0.0057 (inches) the probe output file contains a value of -0.001322. Even worse I get an axis value of -0.0040 (inches) the probe output file value is 0.000278. Thats a change of sign so this is not simply a matter of scaling. I am still trying to get my head around the code so any help in this specific area would be welcome


  4. #4
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    514
    Downloads
    0
    Uploads
    0
    I did get a verification on that and it is X Y Z A B C U V W as you have discovered. And I'll add that to the manual...

    I would have to assume you have some kind of offset set.

    John


  • #5
    Registered
    Join Date
    Feb 2008
    Location
    United Kingdom
    Posts
    11
    Downloads
    0
    Uploads
    0
    Had the same thoughts about having an offset set.Trouble is what offset?
    I am trying to find the bit of axis code that populates the Z axis GUI field and see how it doe it. I am not concerned about whether axis displays the right answer or the probe file has the right answer. Hey whats right and whats wrong, all I want to know is why they are different.


  • #6
    Registered
    Join Date
    Feb 2008
    Location
    United Kingdom
    Posts
    11
    Downloads
    0
    Uploads
    0
    Ok. So ran up AXIS 2.3.0-beta1 and used the log file functionality )LOGOPEN, LOG, LOGCLOSE). This all works nicely.


  • #7
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    514
    Downloads
    0
    Uploads
    0
    In 2.3 you can clear the offsets from the Machine menu.

    John


  • #8
    Registered
    Join Date
    Feb 2008
    Location
    United Kingdom
    Posts
    11
    Downloads
    0
    Uploads
    0
    Have started using 2.3 beta 2. Had a 'doh' moment when I realised that the probe values for Z are when the probe switch trips. However the value displayed by AXIS is the Z position after EMC has stopped decelerating the probe. I did a few measurements and found that the difference between the two constant down to the fourth decimal place. Phew! Anyway having read the 2.3 docs and found that there are four variations on the G38.2 (3,4,5) command I am now looking at taking measurements when the probe approaches the workpiece and also when moving away from it. I wonder if the mean of the two will be any more accurate.
    Thanks for your help (and patience) big john t


  • #9
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    514
    Downloads
    0
    Uploads
    0
    The extra probing codes allow you to do faster probing as I understand it. Take a look at the smart probe pointed to here

    http://www.linuxcnc.org/docview/deve...de.html#r1_1_4

    John


  • #10
    Registered
    Join Date
    Feb 2008
    Location
    United Kingdom
    Posts
    11
    Downloads
    0
    Uploads
    0
    Like the smartprobe.ngc code. Keeps the probe tip a 'deceleration distance' away from the workpiece during the x direction traversal. The G38.3 detects if the probe collides with the workpiece when doing a lateral move.
    Like it and many thanks Big John T


  • #11
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    514
    Downloads
    0
    Uploads
    0
    Your welcome

    John


  • Similar Threads

    1. Probe output data??
      By mgb1974 in forum Haas Mills
      Replies: 7
      Last Post: 10-31-2008, 11:20 AM
    2. Running a gcode output file in the computer
      By Palafox in forum General CAM Discussion
      Replies: 3
      Last Post: 06-10-2008, 06:56 PM
    3. Replies: 1
      Last Post: 01-28-2008, 07:51 PM
    4. Output to file instead of stepper
      By mohd_madhoun in forum General CNC (Mill and Lathe) Control Software (NC)
      Replies: 5
      Last Post: 01-12-2008, 03:55 PM
    5. Probe output + DNC = confusion
      By ghyman in forum Digitizing and Laser Digitizing
      Replies: 0
      Last Post: 08-30-2007, 10:41 AM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.