[ Log In ]
[ Register ]
NEW: CNC Router PLANS Available for all of our Newest CNC Models!! Click here to "Design Your CNC".

Question #: 14647

Question: My cnc router stops at gcode line 50,000 and cannot finish program

Current Solution

There should not be a limit to how many lines of g-code that Mach3 will run as long as you have the Mach3 license. Many g-code instructions can contain a very high number of lines since 3D carving operations require so many small changes.

Respond:

Other Possible Solutions to this Question

  • I'm new to CNC and just finish building my router.I need software for my post processor and not sure if your product is what I need?

    You will need a CNC software that will control your router cnc machine, and your design CAD/CAM software will need to know the CNC software you plan on using so the post processor in the CAM software can create the g-code for the CNC control software. So if you have for example, Mach 3 and our parallel breakout board, you can use the Mach 3 post processor in your design software.

    Click the link to respond:
    I'm new to CNC and just finish building my router.I need software for my post processor and not sure if your product is what I need?

  • What do I need to do to my breakout board to turn the router motor on at the beginning of the program and off at the end?

    The breakout board has a relay installed and uses the terminals labeled S, O and P. The following link explains the operation of this relay and how to connect the terminals:
    https://www.buildyourcnc.com/item/electronicsAndMotors-parallel-breakout-relay#prettyPhoto/8/

    You will run your power cord (use an extension cord rather than the actual power cord of the router) through the relay using the S, O and P. The P is a general connection and the S is normally closed (S and P is connected when the relay is not engaged) and O is normally open (O and p are not connected until the relay is engaged).

    There are three wires in the power cord: neutral (white), live (black) and earth ground (green). You will run your neutral wire (white wire) through this terminal. At some point in the power cord, remove the outer insulator and expose the three wires within. Cut your neutral wire and strip both ends of the cut. Then insert one end in P and the other end in O (normally open), so Mach3 or other control software you are using will engage the relay and the router will turn on.

    You will need to setup your control software to turn on the relay using Pin #16 as this is the digital signal pin that controls the relay.

    Click the link to respond:
    What do I need to do to my breakout board to turn the router motor on at the beginning of the program and off at the end?

  • Can I use your USB interface board and Mach4 on my 3 axis CNC router?

    The USB interface that we sell only works with planet-cnc software. We will be developing our own USB board and plug-in that will work with Mach4 very soon.

    Additional Information:
    does the mach3 usb interface board work with mach4?

    Click the link to respond:
    Can I use your USB interface board and Mach4 on my 3 axis CNC router?

  • Can I use your USB interface board and Mach3 on my 3 axis CNC router?

    Planet-CNC is the control software. If you decide to use the USB controller, you will need to use the planet-CNC software as the control software. You will be able to use any of the CAM software applications with the planet-CNC control software.

    Click the link to respond:
    Can I use your USB interface board and Mach3 on my 3 axis CNC router?

  • Do you have a laser kit that can be fitted onto another brand CNC router?

    We don't have a laser kit to retrofit another CNC router other than ours, but we can create one. Some things that may help:

    - You are located close to use so we can work closely with you to implement to retrofit,
    - or you can provide very detailed drawings or measurements so we can use them to create the necessary parts for the kit.

    Other things that you need to understand:

    - A laser has a number of parts that will bulk up the head of the CNC router causing a bit more inertia which may require lowering the acceleration for smooth ramping up and down of the velocity

    - The bulk of the parts required for the laser may restrict the travel of the x and/or y axes.

    - The nozzle of the laser will be offset from the end mill of the spindle.

    Can you tell me the brand of the CNC router that you would like to stick a laser on? (you can answer by submitting additional information.

    Click the link to respond:
    Do you have a laser kit that can be fitted onto another brand CNC router?

  • Having issues with my cnc router constructed with your materials.

    Please be very specific on what issue you are having.

    Is this the scratch build machine? It is a machine kit that you purchased from us?


    Having issues with my cnc router constructed with your materials.
    1.) Machine is calibrated with a precision six foot steel scale at 30” measurement and appears to be right on the dimension under no load condition.

    2.) When cutting a test program of a rectangle Y 12” x X 6” the final cut dimensions are:
    X = 5.946 (-.054) short and Y = 11.900 (-.100) short.
    This is a chain drive machine using your small chain stock.
    Can chain tension be part of the issue or am I missing something????
    Have made several cuts with reduced feed and depth of cuts. No change in errors……
    Best regards.
    Marc

    This is a machine of my own design that I built using your electronics package purchased in 2010. Including your five start Z axis lead screw and your small chain with spur gears package for the x and y axis. this machine is designed to fit that floor space of my shop. Last year I sent you folks a photo of the unit. It has hardened steel X,Y and Z rails not the aluminum rails that you offer. it is also made from Baltic Burch 3/4" plywood.

    When cutting a test program of a rectangle Y 12” x X 6” the final cut dimensions are:
    X = 5.946 (-.054) short and Y = 11.900 (-.100) short

    There is a dimensional discrepancy from programmed dimension and the actual cut dimension???? what could cause this issue????
    please refer to data supplied........... thanks.

    Click the link to respond:
    Having issues with my cnc router constructed with your materials.

  • Having issues with my cnc router constructed with your materials.

    Used your electronics package and chain drive materials to construct personal design cnc to fit my floor space.

    Machine is calibrated with a precision six foot steel scale at 30” measurement. When cutting a test program of a rectangle 6” x 12” the final cut dimensions are:
    X = 5.946 (-.054) short and Y = 11.900 (-.100) short.
    This is a chain drive machine using your small chain stock.
    Can chain tension be part of the issue or am I missing something????

    will be traveling to San Antoine this pm but will try to answer any follow up question after the first of the year.

    Happy New Year to all.

    Best regards.
    Marc

    Click the link to respond:
    Having issues with my cnc router constructed with your materials.

  • blackToe 2'x4' CNC Router - What are the actual x and y cutting dimensions (eg: 22"x46")

    The actual cutting dimensions for our blackToe machine is 2'(24") x 4'(48"), the overall size of the structure built is a bit larger so that our customers have the actual size mentioned with each of our machines!

    Click the link to respond:
    blackToe 2'x4' CNC Router - What are the actual x and y cutting dimensions (eg: 22"x46")

  • Can I put a laser on my cnc router that I didn't purchase from buildyourcnc?

    We don't have a laser kit to retrofit another CNC router other than ours, but we can create one. Some things that may help:

    - You are located close to use so we can work closely with you to implement to retrofit,
    - or you can provide very detailed drawings or measurements so we can use them to create the necessary parts for the kit.

    Other things that you need to understand:

    - A laser has a number of parts that will bulk up the head of the CNC router causing a bit more inertia which may require lowering the acceleration for smooth ramping up and down of the velocity

    - The bulk of the parts required for the laser may restrict the travel of the x and/or y axes.

    - The nozzle of the laser will be offset from the end mill of the spindle.

    Can you tell me the brand of the CNC router that you would like to stick a laser on? (you can answer by submitting additional information.

    Click the link to respond:
    Can I put a laser on my cnc router that I didn't purchase from buildyourcnc?

  • what does the plans, hardware, electronics and mechanical option consists of for a CNC router?

    The plans/hardware/electronics/mechanical includes everything but the wood structural components that can be cut by the customer. This plans/hardware option includes all of the electronics, like motors, drivers, controller, and all of the cables and wires to connect all of the electronics together. The mechanical components include shafts, couplings, linear rails, bearing blocks, sprockets, lead screws, etc. The hardware consists of all of the screws nuts, insert nuts, cross dowels, etc, to assemble all of the structural, mechanical, and electronics together.

    Click the link to respond:
    what does the plans, hardware, electronics and mechanical option consists of for a CNC router?

  • I have computer, Cad/Cam software and my router unit not sure what else I need?

    The main components for a CNC machine, includes:
    Computer (required with correct OS system for compatibility with the CNC control software and interface board)
    CAD/CAM Software
    CNC Control Software (Mach 3, Planet-CNC, Linux-EMC2)
    Interface Board (Our current models: Parallel interface board(mach3), USB interface board(planet-CNC))
    CNC Electronics (which should be included with most cnc kits)
    (ex.) Drivers, Motors, Power Supply, Interface Board
    CNC Machine

    Miscellaneous Items:
    Limit Switches
    Cable Carrier
    Wires (different gauges)
    End Mills/Bits
    Vacuum
    Emergency Stop Button
    Spindle/Router

    Click the link to respond:
    I have computer, Cad/Cam software and my router unit not sure what else I need?

  • WHAT IS THE MOST EASY WAY TO HOOK UP MILL IN THAT AUTOMATICALLY STARTS WHEN CYCLE STARTS, AND STOPS GCODE THROUGH?

    Does your breakout board (interface) have a relay? If so, you can connect one of the router/spindle's ac lines through the relay. The M3, M4 and M5 codes are used to control the router/spindle. Typically, the M codes are automatically added to the g-code regardless if you configure this in your CAM software. If you have the breakout board from buildyourcnc, you can go to the product page for the breakout board and the relay connection diagram and narrative is in the instructions on that page.

    Click the link to respond:
    WHAT IS THE MOST EASY WAY TO HOOK UP MILL IN THAT AUTOMATICALLY STARTS WHEN CYCLE STARTS, AND STOPS GCODE THROUGH?

  • I just wanted to know what I can expect to pay to build the blackFoot 4'x8' CNC machine, excluding computer, software and router? Is the kit complete or do I have to purchase additional items to finish?

    You will need to build the table unit for your machine. There are instructions on how to do this at the bottom of the product page here, https://www.buildyourcnc.com/Item/cnc-machine-blackFoot-v4
    There is no estimate on how much this will cost though, since there are too many variables involved to do this.

    - PC with parallel port and USB port
    - 20awg stranded wires for the motors - http://www.buildyourcnc.com/electronicscombo.aspx
    - 18awg stranded wires for power supply to drivers
    - 24awg stranded wires for breakout board to drivers
    (location and spacing of components varies from one person to another, so we do not provide cables/wires)
    - General purpose extension cord (cut the female end off) to provide power to power supply
    - USB cable to power breakout board
    - Parallel cable to communicate to breakout board
    - Router
    - (optional - instead of router) Spindle with power inverter http://www.buildyourcnc.com/SpindlesAndAccessories.aspx
    - (if purchasing spindle with inverter) General purpose extension cord (240v) (cut the female end off) to provide power to power inverter
    - End Mill(s) http://www.buildyourcnc.com/ProductsEndMills.aspx
    - CAD, and/or CAD-CAM software (to produce geometry, machine operations, and g-code) http://www.buildyourcnc.com/CNCsoftware.aspx
    - CNC control software (to read g-code and control machine) http://www.buildyourcnc.com/CNCsoftware.aspx

    This answer is applicable to most of our machines with the exception of the greenLean and the blueChick since those machines are equipped with a table structure.

    Click the link to respond:
    I just wanted to know what I can expect to pay to build the blackFoot 4'x8' CNC machine, excluding computer, software and router? Is the kit complete or do I have to purchase additional items to finish?

  • I have a planetcnc USB controller to run my project and when I start the 240v router the USB connection shuts down.

    The USB controller will only work with the Planet-CNC software. This software is well made and will provide great functionality. The planet-cnc software delivers instructions to the microcontroller on the board and the microcontroller will send out the pulse trains needed to move the machine correctly.

    There are two main alternatives if you want to use the mach3 software:
    First, get a parallel port card and add it to your computer and get a parallel breakout board. If you have a laptop/notebook computer, this will not be possible.
    Second, if you have a laptop, or really want to use the USB as the main interface for controlling the machine, you will need to get the smoothstepper board which works with mach3. The price combination is much higher than the USB controller with planet-cnc, but will work with Mach3.

    Additional Information:


    Additional Information:


    Additional Information:
    The planet cnc controller can be prone to electrical interference and has been known to cause such problems. In the first instance try to use a quality double sheilded USB cable, hopefully this will fix your problem. Alternatively you may need to sheild your limit switch, estop and or motor cabling. My pick is that a quality USB cable will fix it though, worked for me.

    Click the link to respond:
    I have a planetcnc USB controller to run my project and when I start the 240v router the USB connection shuts down.

  • I have a planetcnc USB controller to run my project and when I start the 240v router the USB connection shuts down.

    The USB controller will only work with the Planet-CNC software. This software is well made and will provide great functionality. The planet-cnc software delivers instructions to the microcontroller on the board and the microcontroller will send out the pulse trains needed to move the machine correctly.

    There are two main alternatives if you want to use the mach3 software:
    First, get a parallel port card and add it to your computer and get a parallel breakout board. If you have a laptop/notebook computer, this will not be possible.
    Second, if you have a laptop, or really want to use the USB as the main interface for controlling the machine, you will need to get the smoothstepper board which works with mach3. The price combination is much higher than the USB controller with planet-cnc, but will work with Mach3.

    Additional Information:


    Additional Information:


    Additional Information:
    The planet cnc controller can be prone to electrical interference and has been known to cause such problems. In the first instance try to use a quality double sheilded USB cable, hopefully this will fix your problem. Alternatively you may need to sheild your limit switch, estop and or motor cabling. My pick is that a quality USB cable will fix it though, worked for me.

    Click the link to respond:
    I have a planetcnc USB controller to run my project and when I start the 240v router the USB connection shuts down.

  • HAVE PORTER CABLE 7518 ROUTER ON MY CNC AND WOULD LIKE TO KNOW IF YOUR ER20 COLLET NUT, FOR THE CABLE, WILL FIT ROUTER.

    Yes, our porter cable collets and nuts will fit the porter cable 7518.

    Additional Information:

    Click the link to respond:
    HAVE PORTER CABLE 7518 ROUTER ON MY CNC AND WOULD LIKE TO KNOW IF YOUR ER20 COLLET NUT, FOR THE CABLE, WILL FIT ROUTER.

  • What is the benefit to using a spindle over a standard router?

    This solution will refer to the water cooled spindles that we sell. Generally, routers are air cooled which push air downwards through the router to cool the router motor. This has an undesirable effect for CNC machines that will blow the dust and chips into the air. The water cooled spindle will not blow since it uses water to cool the spindle motor. This allows the chips and dust to be confined within the dust shoe and get removed by the vacuum. Additionally, standard routers have a sound level that far exceeds that of the spindle.

    Click the link to respond:
    What is the benefit to using a spindle over a standard router?

  • My CNC router stopped in the middle of a job with mach3.

    Dealing with a mid-stop cut via Mach3, you will have to be careful if it is intentionally or unintentional. If you desire to stop your machine while in the middle of a cut be sure to stop it when the machine is moving in an upward motion on the z-axis and the X/Y-axis are stationary. Then you can choose the point (G-code) where the machine was left off and click on the Run from here button on the Program Run screen (left hand side) right above the Reset button.
    (Make sure spindle/router is running before hand!)

    Now if the machine stops unintentionally, and was moving in either the X/Y-axis, then it will be difficult to run the machine from the original point dealing with the coordinates might have been lost due the the machine continuing motion but via Mach3 the machine has stopped.

    If this occurs to fight this issue before hand, is marking your home with the spindle/router to make a hole were your home is. Although moving it manually back to home the machine can be off by the smallest amount and could cause an inconsistent cut. If accuracy is something that can not be risked, then you can home the machine about a 1/4" or 1/2" down from the original home to start your cut on the same material but loosing that small piece.

    Additional Information:


    Additional Information:
    My typical go to solution is:

    - Note the current g-code line where the machine stopped.
    - If Mach3 errored and you cannot control the machine, Exit Mach3 - you may find that reset, stop does nothing to stop the spindle. When you exit mach3, the spindle will stop automatically.
    - Restart Mach3. The DRO (Digital Readout) should show the correct coordinates where the machine position was before exiting Mach3.
    - Scroll to the g-code line where the machine stopped. You may need to go a few lines prior to make sure you are not skipping any machining operations (which is why it is a good idea to learn the basics of g-code - don't worry, it's easy)
    - Click on the "Run from Here" button.
    - Mach3 will present you with a "Preparation Move" dialog box with the location that it will move to. If the coordinates shows a position that is into the material, make sure to specify a rapid height (clearance height) so the machine will move up first and then move to the location before moving down into the material. If the spindle is automatically controlled by Mach3, make sure to check the turn spindle on checkbox. If not, make sure the router or spindle is on before clicking OK.

    Additional Information:
    My cnc router stops at gcode line 50,000 and cannot finish program. They are about 150k of lines total. I have Mach3 and have bought the additional line capability. Is 50,000 (or around that) the limit? Is Mach 4 hobby license better and in what ways? Thanks! Mike Huber

    Additional Information:
    If you have a license for Mach3, then you should be able to run g-code indefinitely. I think there is something else going on.

    Click the link to respond:
    My CNC router stopped in the middle of a job with mach3.

  • what program do I use to install ubuntu on my computer?

    Here is the direct link to download ubuntu (http://www.ubuntu.com/download/desktop), now installing it to your HDD you will need to install it to a USB or burn it to a DVD. Here is a following guide to install ubuntu (http://www.ubuntu.com/download/desktop/try-ubuntu-before-you-install).

    Additional Information:
    Ubuntu comes with a program that will replace the controller software (ex Mach 3/Planet CNC), called LinuxCNC, here is the main website (http://www.linuxcnc.org/) and the main download page(http://www.linuxcnc.org/index.php/english/download).

    Click the link to respond:
    what program do I use to install ubuntu on my computer?