Results 1 to 4 of 4

Thread: Probing B axis with VM-3

  1. #1
    Registered
    Join Date
    Nov 2011
    Location
    US
    Posts
    8
    Downloads
    0
    Uploads
    0

    Question Probing B axis with VM-3

    I could be doing something wrong hear but I spent a good chunk of my night trying to get the following bit of code to work. The goal is to orientate the part in B axis, while attempting to debug, I found if I just use a certain line twice, it works, otherwise, the value I was attempting to set, remains the same as it was... Anyone have a clue?

    The program worked from the get go, only it would not change the machines G54 B axis value, unless I told it twice.

    (CALL PROBE)
    G00 G90 G54
    T24 M06
    X-2. Y0.183
    G43 H24 Z4.

    (PROBE - SINGLE SURFACE IN Z LEFT SIDE)
    G65 P9995 W55. A20. H-0.3
    G00 Z5.
    X2.
    Z4.

    (PROBE - SINGLE SURFACE IN Z RIGHT SIDE)
    G65 P9995 W56. A20. H-0.3

    (RETRACT AWAY)
    G00 G91 G28 Z0.

    (DO THE MATH)
    #19= [ [ #5243 - #5263 ] / 4 ]
    #19= ATAN[ #19 ]
    G91 B - [ ROUND[ #19 ] ]

    (CODE SO NICE YOU MUST SAY IT TWICE)
    #5225= #5025
    #5225= #5025
    (END PROBE)


  2. #2
    Registered
    Join Date
    Apr 2005
    Location
    Paradise, Ca, USA
    Posts
    624
    Downloads
    0
    Uploads
    0
    You could try G103 P1 before any macros, which limits lookahead to one block. Then G103 by itself after your macros to unlimit lookahead for the rest of the program.


  3. #3
    Registered
    Join Date
    Feb 2010
    Location
    USA
    Posts
    691
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Matt@RFR View Post
    You could try G103 P1 before any macros, which limits lookahead to one block. Then G103 by itself after your macros to unlimit lookahead for the rest of the program.
    +1


  4. #4
    Registered
    Join Date
    Nov 2011
    Location
    US
    Posts
    8
    Downloads
    0
    Uploads
    0
    Thanks guys, next time I set up this job I'll try that. I am however a little bit concerned, I use 'macros' very often and have never had a problem with the look ahead. When exactly must I cancel the look ahead? I've never had a problem otherwise ( and I have canned 'macro' programs )...


Similar Threads

  1. Need Help!- 5 axis probing. Can Mach3 do it?
    By neilw20 in forum Machines running Mach Software
    Replies: 3
    Last Post: 02-10-2012, 11:40 AM
  2. Z-Axis Move During Comp X/Y Probing
    By jduckjr in forum Tormach Personal CNC Mill
    Replies: 12
    Last Post: 05-07-2011, 11:29 AM
  3. 5 Axis probing on 88hs -4 system
    By carbidecraters in forum Fadal
    Replies: 2
    Last Post: 04-02-2009, 12:20 PM
  4. setting up 4th axis for DIY probing in Mach?
    By Rich05 in forum Digitizing and Laser Digitizing
    Replies: 0
    Last Post: 01-16-2009, 09:43 AM
  5. Probing
    By geverhart in forum WoodWorking
    Replies: 1
    Last Post: 09-03-2004, 03:41 PM

Tags for this Thread

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.