Results 1 to 9 of 9

Thread: Fadal VMC 15

  1. #1
    Registered
    Join Date
    Aug 2009
    Location
    usa
    Posts
    5
    Downloads
    0
    Uploads
    0

    Fadal VMC 15

    I am very new at Fadal machines. I have been given the task of writing a new program for this machine, and I dont understand the programming. I do know how to program CNC machines but this is like no other CNC that I've worked with. I don't understand the "subroutine". The other 2 programs that Ihave in the machine have subroutines (L100) is that in the machine? if it is then how do I find it? also I wrote a new program today and it won't run. I'm getting a bad Z or R0 in can cycle statement when I go to "sum". Maybe you guys can catch my mistake. Thanks for any help!


    N10G20
    N20G17G40G80
    N30G90G54G0X0.25Y-0.361S1000M03M8
    N40G1.Z0.5F11.
    N50M6T6(DRILL)
    N60M3S1000
    N70G81Z-0.85R1.1F11H6
    N80X1.75
    N90X3.25
    N100X4.75
    N110X6.25
    N120X7.75
    etc....

    the machine says the error is in line 70, but I see nothing wrong.


  2. #2
    Gold Member
    Join Date
    May 2003
    Location
    USA
    Posts
    232
    Downloads
    0
    Uploads
    0

    fix

    hears your fix one thing your z start was below the r value and you forgot G43
    and you can not have 2 m commands in 1 line like m3 and m8

    N10G20
    N20G17G40G80
    N30G90G54G0X0.25Y-0.361S1000M03
    N35G43X0.25Y-0.361Z1.75H6M8
    N40G1Z01.5F11.
    N50M6T6(DRILL)
    N60M3S1000
    N70G81Z-0.85R1.1F11
    N80X1.75
    N90X3.25
    N100X4.75
    N110X6.25
    N120X7.75
    etc....
    Last edited by heilcnc; 08-20-2009 at 08:08 PM.


  3. #3
    Registered jbexplorer's Avatar
    Join Date
    Jul 2008
    Location
    U.S.A.
    Posts
    21
    Downloads
    0
    Uploads
    0
    I don't see an H offset and the Z is at .5 but the R0 is at 1.1 The Z needs to be the same or higher then the R0 Change it to this.


    N30G90G54G0X0.25Y-0.361S1000M03M8
    N40G1.Z0.5F11.
    N50M6T6(DRILL)
    N60M3S1000
    E1X0Y0
    H6Z.1

    N70G81Z-0.85R0+.1F11.M45
    N80X1.75
    N90X3.25
    N100X4.75
    N110X6.25
    N120X7.75
    etc....


  4. #4
    Registered
    Join Date
    Aug 2009
    Location
    usa
    Posts
    5
    Downloads
    0
    Uploads
    0
    I noticed the Z is lower then the R0 and I changed that at the machine and it still didn't work. but I didn't think about the M43 or having 2 M codes in one line. Thanks alot guys! I'll try those suggestions tomorrow.

    Still looking for a little help with the subroutines.


  • #5
    Registered
    Join Date
    Feb 2005
    Location
    usa
    Posts
    376
    Downloads
    0
    Uploads
    0
    First on a Fadal, you don't need a G43 when calling a height offset, it will take it, but its not necessary. Also M codes, no problem whatsoever with and M3 and an M8 on the same line.

    I see several problems, besides the R being higher than than the Z.

    N10G20
    N20G17G40G80
    N30G90G54G0X0.25Y-0.361S1000M03M8
    N40G1.Z0.5F11. <--- go to Z .5
    N50M6T6(DRILL) <--- change tool which brings you back to H0Z0
    N60M3S1000
    N70G81Z-0.85R1.1F11H6 <---- calling up a height offset in a canned cycle, not cool.
    N80X1.75
    N90X3.25
    N100X4.75
    N110X6.25
    N120X7.75


    JBexplorers code looks pretty happy to me, though I'm not sure what line 40 is for.

    Guido, download the manuals, they are actually fairly easy to understand, also, type MU from the command line and I think it starts from page 29, but the syntax of all the canned cycles is actually in the control if you need a quick reference.


  • #6
    Registered
    Join Date
    Apr 2008
    Location
    USA
    Posts
    847
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by guido5286 View Post
    Still looking for a little help with the subroutines.
    If you are familiar with sub programs, user subroutines will feel familiar. Instead of being a separate program, they are inside the program all the way at the top. In Format 2 (maybe 1 also??) they are separated from the main program by an M30. They have a special end of subroutine function denoted by M17

    Code:
    L100 ( FIRST SUBROUTINE )
    G91
    X0.5 Y0.866
    G90
    M17 ( END OF SUB 1 )
    L200 ( SECOND SUBROUTINE )
    G91
    X-1
    G90
    M17 ( END OF SUB 2 )
    L300 ( THIRD SUBROUTINE )
    G91
    X0.5 Y-.866
    G90
    M17 ( END OF SUB 3 )
    M30 ( END OF ALL SUBROUTINES )
    G20 ( FIRST LINE OF MAIN PROGRAM )
    G0 G17 G40 G80 G90 (SAFE CODE, USE YOUR OWN! )
    T1 M6 (TOOL CHANGE )
    S1000 M3 (SET SPINDLE SPEED )
    G90 E1 X0 Y0 ( RAPID TO FIXTURE 1, CAN USE G54 INSTEAD OF E1 )
    G43 Z3.5 H1 (THE H AND THE G43 ARE TOTALLY REDUNTANT, USE H ALWAYS )
    M8
    Z0.25 D1
    G1 Z-1. F25.
    L101 ( RUN SUB 1 ONCE )
    L201 ( RUN SUB 2 ONCE )
    L301 ( RUN SUB 3 ONCE )
    L102 ( RUN SUB 1 TWICE )
    L202 ( RUN SUB 2 TWICE )
    L302 (RUN SUB 3 TWICE )
    G0 Z0.25
    M5 M9
    G53 Z0
    Y8.5 E48
    T1 M6
    M30


  • #7
    Monkeywrench Technician DareBee's Avatar
    Join Date
    Jan 2004
    Location
    Stratford, Ont. Canada
    Posts
    2,979
    Downloads
    0
    Uploads
    0
    N40G1.Z0.5F11. < you need to remove the decimal point between the G1 and Z as well
    www.integratedmechanical.ca


  • #8
    Registered
    Join Date
    Mar 2011
    Location
    USA
    Posts
    26
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by SBC Cycle View Post
    If you are familiar with sub programs, user subroutines will feel familiar. Instead of being a separate program, they are inside the program all the way at the top. In Format 2 (maybe 1 also??) they are separated from the main program by an M30. They have a special end of subroutine function denoted by M17

    Code:
    L100 ( FIRST SUBROUTINE )
    G91
    X0.5 Y0.866
    G90
    M17 ( END OF SUB 1 )
    L200 ( SECOND SUBROUTINE )
    G91
    X-1
    G90
    M17 ( END OF SUB 2 )
    L300 ( THIRD SUBROUTINE )
    G91
    X0.5 Y-.866
    G90
    M17 ( END OF SUB 3 )
    M30 ( END OF ALL SUBROUTINES )
    G20 ( FIRST LINE OF MAIN PROGRAM )
    G0 G17 G40 G80 G90 (SAFE CODE, USE YOUR OWN! )
    T1 M6 (TOOL CHANGE )
    S1000 M3 (SET SPINDLE SPEED )
    G90 E1 X0 Y0 ( RAPID TO FIXTURE 1, CAN USE G54 INSTEAD OF E1 )
    G43 Z3.5 H1 (THE H AND THE G43 ARE TOTALLY REDUNTANT, USE H ALWAYS )
    M8
    Z0.25 D1
    G1 Z-1. F25.
    L101 ( RUN SUB 1 ONCE )
    L201 ( RUN SUB 2 ONCE )
    L301 ( RUN SUB 3 ONCE )
    L102 ( RUN SUB 1 TWICE )
    L202 ( RUN SUB 2 TWICE )
    L302 (RUN SUB 3 TWICE )
    G0 Z0.25
    M5 M9
    G53 Z0
    Y8.5 E48
    T1 M6
    M30
    It was my understanding that the above is a Format 1 method of calling up subs....with Format 2 using the M98 to call the sub...not with L words as you have indicated. Is this correct?


  • #9
    Monkeywrench Technician DareBee's Avatar
    Join Date
    Jan 2004
    Location
    Stratford, Ont. Canada
    Posts
    2,979
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by FFWD View Post
    It was my understanding that the above is a Format 1 method of calling up subs....with Format 2 using the M98 to call the sub...not with L words as you have indicated. Is this correct?
    This example of subroutines works in format 2 on my machine
    www.integratedmechanical.ca


  • Similar Threads

    1. nc fadal
      By fourperf in forum Fadal
      Replies: 11
      Last Post: 04-10-2013, 11:50 AM
    2. Need Help!- Advice from Fadal owners, for a (hopefully) new Fadal owner
      By building it all in forum Fadal
      Replies: 23
      Last Post: 11-17-2008, 04:28 PM
    3. What is your best mod you have done to your Fadal
      By carbidecraters in forum Fadal
      Replies: 51
      Last Post: 05-14-2008, 12:43 AM
    4. Replies: 4
      Last Post: 03-01-2006, 10:46 PM
    5. Fadal EMC
      By YZ426Tony in forum Fadal
      Replies: 7
      Last Post: 12-13-2005, 02:01 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.