586,076 active members*
3,814 visitors online*
Register for free
Login
Results 1 to 11 of 11
  1. #1
    Join Date
    Feb 2008
    Posts
    11

    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
    Join Date
    Feb 2007
    Posts
    514
    AFAIK, it would be one for each possible axis.

    John

  3. #3
    Join Date
    Feb 2008
    Posts
    11

    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
    Join Date
    Feb 2007
    Posts
    514
    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. #5
    Join Date
    Feb 2008
    Posts
    11
    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. #6
    Join Date
    Feb 2008
    Posts
    11
    Ok. So ran up AXIS 2.3.0-beta1 and used the log file functionality )LOGOPEN, LOG, LOGCLOSE). This all works nicely.

  7. #7
    Join Date
    Feb 2007
    Posts
    514
    In 2.3 you can clear the offsets from the Machine menu.

    John

  8. #8
    Join Date
    Feb 2008
    Posts
    11
    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. #9
    Join Date
    Feb 2007
    Posts
    514
    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. #10
    Join Date
    Feb 2008
    Posts
    11
    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. #11
    Join Date
    Feb 2007
    Posts
    514
    Your welcome

    John

Similar Threads

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •