584,863 active members*
4,905 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008
    Posts
    1632

    ATP keeps failing in Macro

    I keep failing in the same spot and don't know why. New to me machine.
    I keep ending up at 49 stating that "#3000= 85 (SETTINGS 59-334 AND MACRO #10582-585 NOT EQUAL)"
    but I have checked them over and over and the probe settings

    User Macros on Left and Settings on Right.
    10582 = 59
    10583 = 60
    10584 = 333
    10585 = 334

    I don't know anything about Haas Macros so help would be appreciated.

    Code:
    O09120 (HAAS LATHE SETTINGS CHECK) 
    (CREATED FOR NGC 8/28/2017)
    G103 P1 
    #10= #1
    (CHECK FOR SETTINGS ZERO)
    IF[ [#20059 + #20060 + #20334] EQ 0 ]GOTO10
    IF[ [#20059 * #20060 * #20334] EQ 0 ]GOTO48
    GOTO20
    N10 (CHECK MACROS ZERO)
    IF[ #[ #10 ] + #[ #10 + 1 ] + #[ #10 + 3 ] EQ 0] ]GOTO48
    IF[ #[ #10 ] * #[ #10 + 1 ] * #[ #10 + 3 ] EQ 0] ]GOTO48
    GOTO100
    N20 (CHECK MACROS NOT ZERO)
    IF[ #[ #10 ] + #[ #10 + 1 ] + #[ #10 + 3 ] EQ 0] ]GOTO45
    N30 (CHECK SETTINGS EQUAL MACROS)
    IF[ [ #20059 * [ 1. + #20285 ] ] NE #[ #10 ] ] GOTO49 
    IF[ [ #20060 * [ 1. + #20285 ] ] NE #[ #10 + 1 ] ] GOTO49 
    IF[#20334 NE #[ #10 + 3 ] ]GOTO49
    IF[#20333 NE 0 ]GOTO50
    GOTO100
    N45 (PUSH SETTINGS TO MACROS)
    #[ #10 ]= #20059 * [ 1. + #20285 ]
    #[ #10 + 1 ]= #20060 * [ 1. + #20285 ]
    (#[ #10 + 2 ]= #20333)
    #[ #10 + 3 ]= #20334
    GOTO100
    N48
    #3000= 84 (CHECK PROBE CALIBRATION)
    N49
    #3000= 85 (SETTINGS 59-334 AND MACRO #10582-585 NOT EQUAL)
    N50
    #3000= 86 (SETTING 333 MUST BE ZERO)
    N100
    M99

  2. #2
    Join Date
    Oct 2008
    Posts
    1632

    Re: ATP keeps failing in Macro

    Fixed - Clear all global variables, entered probing vars back in, and it works.

Similar Threads

  1. RFQ - ATP 5 /MIC 6 CNCd
    By Nanokid in forum North America RFQ's
    Replies: 5
    Last Post: 04-22-2020, 03:58 PM
  2. ATP calibration Haas ST10
    By Steve Manthey in forum Haas Lathes
    Replies: 5
    Last Post: 05-12-2019, 01:17 AM
  3. Machining atp-5
    By QuinnSjoblom in forum MetalWork Discussion
    Replies: 0
    Last Post: 08-02-2018, 07:19 PM
  4. Mastercam ATP
    By glorious in forum Mastercam
    Replies: 0
    Last Post: 12-19-2011, 09:00 PM
  5. ATP problems
    By willsens in forum EnRoute
    Replies: 0
    Last Post: 11-29-2011, 10:32 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
  •