603,310 active members*
2,628 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > G-Code Programing > How to prevent shortest path movement using G53
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2013
    Posts
    179

    How to prevent shortest path movement using G53

    I have my probe on my Haas DM2 setup to probe two differant pieces and when I get to the line labeled "(MOVE TO P2 POSITION)
    When it runs this line it's moving my probe both in the X, Y and Z at the same time ( so in other words it's taking the shortest path ) verses moving to X-19.81 Then Y-6.59 and finally dropping down to the Z-9.50

    It's working fine, but my concern is down the road if I had something such as a work piece stop mounted on the vise it could colide with it as it's moving to that second postion.

    So long story short... how can you set this code to move in strait lines?

    Thanks,

    Kent


    (--START OF PROBING--)

    ( LOAD PROBE )
    T17 M6

    (MOVE INTO POSITION)
    G53 G1 F200.0 X-19.81 Y-6.59 Z-9.50

    (PROBE - P1)
    G65 P9995 W154.01 A20. H-1

    (RAISE TO SAFE HEIGHT)
    G53 G1 F200.0 Z-3.0

    (MOVE TO P2 POSITION)
    G53 G1 F200.0 X-8.22 Y-6.59 Z-9.50

    (PROBE - P2)
    N19 G65 P9995 W154.02 A20. H-1.

    (RAISE TO SAFE HEIGHT)
    G53 G1 F200.0 Z-3.0

    (--END OF PROBING--)

  2. #2
    Join Date
    Dec 2012
    Posts
    410

    Re: How to prevent shortest path movement using G53

    Hi Kent,

    Replace both G53 G1 F200.0 X-19.81 Y-6.59 Z-9.50 lines with

    G53 G1 F200.0 X-19.81 Y-6.59
    G53 G1 F200.0 Z-9.50

    Regards.

  3. #3
    Join Date
    May 2013
    Posts
    179

    Re: How to prevent shortest path movement using G53

    Thank You very much.... that did the trick.

  4. #4
    Join Date
    Dec 2012
    Posts
    410

    Re: How to prevent shortest path movement using G53

    You're welcome.

Similar Threads

  1. Replies: 5
    Last Post: 02-11-2018, 07:11 PM
  2. Need to bypass Random selection/shortest path tool selection method
    By Tizbass in forum Mazak, Mitsubishi, Mazatrol
    Replies: 4
    Last Post: 02-13-2012, 02:38 AM
  3. B-axis rotation - shortest route
    By pwilson101 in forum Parametric Programing
    Replies: 3
    Last Post: 02-07-2012, 02:17 PM
  4. g53
    By Claude Boudreau in forum BobCad-Cam
    Replies: 9
    Last Post: 12-20-2009, 09:40 PM
  5. Shortest path between points? Software?
    By jderou in forum Uncategorised CAM Discussion
    Replies: 2
    Last Post: 12-22-2005, 11:45 PM

Tags for this Thread

Posting Permissions

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