Fanuc Oi - MC - Problem with AI contour control (G05.1 Q1) by macro programming


Results 1 to 5 of 5

Thread: Fanuc Oi - MC - Problem with AI contour control (G05.1 Q1) by macro programming

  1. #1
    Member
    Join Date
    Jun 2009
    Location
    Slovenija
    Posts
    146
    Downloads
    0
    Uploads
    0

    Default Fanuc Oi - MC - Problem with AI contour control (G05.1 Q1) by macro programming

    I have problem with AI contour Control, when I put "G05.1 Q1" in main program, "#5" in macro is not properly defined. In the example below, should be the value of the parameter equal to 10. In my case, it has already been determined prior to that, when set to 10. At the beginning of the macro I tried to cancel the "AI contour compensation" with "G05.1 Q0" and at the end of the macro again to activate the 'G05.1 Q1 ", but we machine reports a Error... What should I do?


    O0001 (MAIN PROGRAM)

    G54 G0 G80 G90 G17
    G05.1 Q1
    M6 T1
    S1000 M3
    X10 Y10
    G43 Z10 H1
    G66 P9110 R2 Z-25 F300
    X10 Y10
    X20
    G67
    G53Z0
    M5
    M9
    M30


    O9110;
    #1=#4001; . . . . . . . . . . . . . . Stores G00/G01.
    #3=#4003; . . . . . . . . . . . . . . Stores G90/G91.
    #4=#4109; . . . . . . . . . . . . . . Stores the cutting feedrate.
    #5=#5003; . . . . . . . . . . . . . . Stores the Z coordinate at the start of drilling. (In this block have I problem, when I use in main program AI Contour control,)


    G00 G90 Z#18; . . . . . . . . Positioning at position R
    G01 Z#26 F#9; . . . . . . . . . Cutting feed to position Z
    IF[#4010 EQ 98]GOTO 1; Return to position I
    G00 Z#18; . . . . . . . . . . . . . Positioning at position R
    GOTO 2;
    N1 G00 Z#5; . . . . . . . . . . . . . Positioning at position I
    N2 G#1 G#3 F#4; . . . . . . . . Restores modal information.
    M99;

    Similar Threads:


  2. #2
    Member
    Join Date
    Dec 2009
    Location
    ROMANIA
    Posts
    952
    Downloads
    0
    Uploads
    0

    Default Re: Fanuc Oi - MC - Problem with AI contour control (G05.1 Q1) by macro programming

    how deep is your driiling hole?



  3. #3
    Member
    Join Date
    Jun 2009
    Location
    Slovenija
    Posts
    146
    Downloads
    0
    Uploads
    0

    Default Re: Fanuc Oi - MC - Problem with AI contour control (G05.1 Q1) by macro programming

    That in this case is not important (Z-25)... I need to know how to use the "Stores the Z coordinate at the start of drilling from # 5003"... The "G05.1 Q1 'cause the we do not save the true value of the parameter" # 5 ".



  4. #4
    Member
    Join Date
    Dec 2009
    Location
    ROMANIA
    Posts
    952
    Downloads
    0
    Uploads
    0

    Default Re: Fanuc Oi - MC - Problem with AI contour control (G05.1 Q1) by macro programming

    when i need to drill a deep hole or when i mill a piece many times in z direction i use like this:

    N1
    #100=#5043----z absolute value
    #101=#5043-1----will go deep 1 mm from the start point i made
    G1 Z#101...
    .....
    ....
    IF[#101 LT 23] GOTO 1
    G28Z0
    M30

    So will keep going deep on z until i will have z-23 (in this case is an example for you will be #101 LT 25)



  5. #5
    Member
    Join Date
    Jun 2009
    Location
    Slovenija
    Posts
    146
    Downloads
    0
    Uploads
    0

    Default Re: Fanuc Oi - MC - Problem with AI contour control (G05.1 Q1) by macro programming

    I would have done in such a way as written standard cycles ... My problem is basically just that, to determine the value of the parameter before that, when it comes to the desired sentence ... If it were possible to without complications switch between the "G05 .1 Q1 "and" G05.1Q0 "would be all right ... but now my machine displays an error if the program change value for" AI contour compensation ".

    This can be maybe an error of controller?



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Fanuc Oi - MC - Problem with AI contour control (G05.1 Q1) by macro programming

Fanuc Oi - MC - Problem with AI contour control (G05.1 Q1) by macro programming