585,759 active members*
4,349 visitors online*
Register for free
Login
Results 1 to 13 of 13
  1. #1
    Join Date
    May 2008
    Posts
    8

    Fanuc OM Program Execution

    Hi all,
    I have just purchased a Leadwell VMC with a Fanuc OM control. I have got the dnc communication working from my PC, I can select & edit programs OK, however I cannot workout how to put the program into Auto mode and execute via cycle start.

    Any assistance would be appreciated.

    Thanks

  2. #2
    Join Date
    Dec 2003
    Posts
    24220
    Select AUTO mode, select the program by typing in Oxxxx program number and press cycle start.
    Do you not have the manuals?
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  3. #3
    Join Date
    May 2008
    Posts
    8
    Hi Al,

    I tried what you said, (auto) mode, program # o0005, (input), the lsk text at the bottom of the screen flashes continuously but no program is shown and wont cycle start. It does have the program number in the top right corner of the screen though. I do have the manuals but are vague at best.

    Thanks

    Cam

  4. #4
    Join Date
    Mar 2003
    Posts
    2932
    In AUTO mode, PROG function, key-in the program number, i.e.: O0005 then press the cursor down key. You should then see the program in the display. Press Cycle Start. Don't use INPUT.

  5. #5
    Join Date
    May 2008
    Posts
    8
    Hi dcoupar,

    I tried what you described...no luck. I did manage to execute a program last night and cut metal . I noticed when cycle start was pressed the LSK letters flashed so guessed it was looking for something through DNC. I sent a program fom the PC DNC then cycle start, hey presto the program from the PC executed. Does this mean it would be drip feeding or has the PC sent the whole program?

    I am guessing the Fanuc control has been previously configured to only accept DNC programs for execution. It would be nice to be able to run from Fanuc memory though.

    Another question (hope I'm not pushing my luck!), I had to remove the Z axis servo motor to get the machine in my workshop, the MTB manual said I have to check the Z axis home position in relation to the ATC otherwise it could damge the ATC. Using a straight edge, I checked the clearances from the tool to the ATC and they are out by about 2mm. So I need to reset the home position up 2mm. Quote from manual "Set the correct position value (from display of CRT) to parameter NO.510 Z axis".

    Parameter 510 currently reads -900, would this value mean -9mm, ie I would need to input -700 to come up 2mm on the home position? Also, nowhere in the manuals can I find how the alter the parameter settings and I have tried just about everything to change these values.

    Sorry for the long winded reply,

    I appreciate everyones help.

    Cam

  6. #6
    Join Date
    May 2007
    Posts
    17

    Fanuc OM Program Execution

    With mode in MDI, turn on "parameter write enable", also don't forget to turn it off when you are done.

  7. #7
    Join Date
    Dec 2003
    Posts
    24220
    Quote Originally Posted by Camber View Post
    Parameter 510 currently reads -900, would this value mean -9mm, ie I would need to input -700 to come up 2mm on the home position?
    This value is the grid shift in basic encoder resolution counts.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  8. #8
    Join Date
    Sep 2008
    Posts
    67
    hi all
    i need help
    a machine maximart vmc150-E fanuc OMD
    when i need chnanging by mdi or automatique mode an alarme 115 P/S ALARME
    mybe dis in macro valu
    thaks

  9. #9
    Join Date
    Feb 2006
    Posts
    1792
    You have used illegal variable number.
    For example, use of #35 would throw this alarm.

  10. #10
    Join Date
    Sep 2008
    Posts
    67
    Quote Originally Posted by sinha_nsit View Post
    You have used illegal variable number.
    For example, use of #35 would throw this alarm.
    thaks
    dis problem is only in tool change (disc tool chnge)
    when i need call a tool dhe cn call prog O9001
    dis is prog O9001

    O9001
    #3003=1
    M5
    #990=#4003
    #991=#4006
    #102=0
    IF[#4120LT17]GOTO10
    M92
    #3000=1
    GOTO500
    N10
    IF[#1002EQ0]GOTO20
    #102=1
    N20
    IF[#1001EQ1]GOTO500
    IF[#1000EQ1]GOTO400
    IF[#102EQ0]GOTO200
    M92
    G28G91Z0
    M5
    M19
    M89
    G4X0.5
    M90
    G4X1.
    M94
    G30G91Z0
    M95
    M91
    M87
    GOTO500
    N200M92
    G30G91Z0
    M5
    M19
    M88
    G4X0.5
    M90
    G4X1.
    M94
    G28G91Z0
    M89
    G4X0.5
    N300G30G91Z0
    M95
    M91
    M87
    GOTO500
    N400
    IF[#102EQ1]GOTO500
    M92
    G30G91Z0
    M5
    M19
    M88
    G4X0.5
    M90
    G4X1.
    M94
    G28G91Z0
    M95
    M91
    M86
    N500M93
    N510G#990G#991
    #3003=0
    M99
    best regards

  11. #11
    Join Date
    Mar 2003
    Posts
    2932
    Common variables #990 & #991 are only available if the extended variables option is on. You might try replacing #990 with #100 and #991 with #101 in the macro.

  12. #12
    Join Date
    Feb 2006
    Posts
    1792
    Some problem in this part also:
    ...
    IF[#4120LT17]GOTO10
    M92
    #3000=1
    GOTO500
    N10
    ...

    After the macro alarm, GOTO 500 would never be executed.

  13. #13
    Join Date
    Sep 2008
    Posts
    67

    Smile

    Quote Originally Posted by dcoupar View Post
    Common variables #990 & #991 are only available if the extended variables option is on. You might try replacing #990 with #100 and #991 with #101 in the macro.
    Thank you so much to help me! It will be very helpful!

    Wish you happy Easter holidays!

    Best regards from MOROCCO

Similar Threads

  1. Can't load program to Fanuc 21i-m
    By dpy in forum DNC Problems and Solutions
    Replies: 10
    Last Post: 04-09-2009, 11:18 AM
  2. Fanuc 10M will not let program download.
    By rchunter94 in forum DNC Problems and Solutions
    Replies: 4
    Last Post: 05-12-2008, 10:59 PM
  3. Purpose and execution of G39 ?
    By MauserBob in forum G-Code Programing
    Replies: 2
    Last Post: 04-14-2008, 03:48 PM
  4. CNC Program Needed using Fanuc/G34
    By Wedge lover in forum Employment Opportunity
    Replies: 1
    Last Post: 05-28-2007, 07:18 PM
  5. FANUC 6M Program format
    By Moolvie in forum Fanuc
    Replies: 3
    Last Post: 10-08-2005, 03:37 AM

Posting Permissions

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