[ Log In ]
[ Register ]

Question #: 13841

Question: Mach3 stopping while cutting, no programmed pause or stop.

Current Solution

On the Mach3 main screen (program run tab), is there a status message when the Mach3 and machine stops?

Additional Information:
We didn't look, we don't experience a lot of problems. Are those messages stored in a cache file ?

Additional Information:
I don't believe there is a log associated with the status messages (in my brief research). There should be, definitely.

Next time this happens, check out that message.

You may find that the limit switch was triggered from some interference from the motors or other EMF source. If that is the case, then you will need to do the following:
- Use shielded cable for the limit swtches
- Reorganize the limit switch cables far away from the motor cables
- Adjust the debounce parameter for the limit switches within Mach3

Additional Information:
I am embarrassed to say we don't have limit switches installed. It does share power with other machines, like a table saw and a big dust collector.

Additional Information:
Well, for personal safety, the machine will not be able to break through the extents of the machine, so you are fine.

The limit switch triggering is the only thing I can think of that would stop Mach3. I would love to know the status message when it happens again. Just for fun, check the inputs section of the "ports and pins" dialog and make sure all of the inputs (that you are not using) are disabled, so they don't act as antennae.



Additional Information:
Will do, thank you very much.

Additional Information:
You are very welcome and thanks for using this customer service section so this question can help others too.

Respond:

Other Possible Solutions to this Question

  • WHAT CAUSES ONE OF MY TWO AXIS MOTORS TO STOP WHILE THE MACH3 PROGRAM IS STILL RUNNING

    If one of your stepper motors decides to stop moving and the others are moving during a CNC milling or laser cutting job, then there could be two things that could be causing this.

    - The motor found its limiting torque (usually comes with a not-so-pleasant sound). This is where the control software is trying to move the stepper motor too fast (velocity, or too fast too quickly, acceleration) and the load against the stepper motor (inertia of the machine, or the material against the end mill while milling). Recommended action is to lower the velocity and/or acceleration, and/or lower the feedrate when cutting.

    - There is a wiring issue with the wiring from the driver to the motor. This could be a loose wire, or a chafed wire (or two shorting together). It can also be a loose digital wire from the controller board to the driver. Sometimes wire ties can be the culprit. Recommended action would be to thoroughly inspect the wiring.

    It's probably not the limit switches since that would cause a stop to the entire motion of the cnc router or laser machine.

    Sometimes Mach3 will show a status when something goes wrong, but in cases where the motor is stopping due to its torque limit, then that would not be shown in the status. It's always good to check it anyway.

    Additional Information:
    I need to clarify my situation a little better after going to my shop and trying to run another program on Mach 3. About 15 minutes into the milling process all the motors (2-X axis, Y axis and Z axis)stop but the program continues to run. I stop the program and after a couple of minutes when I try to restart the program all the motors start working again. Then after another 15 minutes or so, all the motors stop again. I checked and rechecked my wiring. This has never happened to me before when running the same programs with the same setups and motor speeds. All of a sudden when I reloaded a program I successfully used before it does this. Do you have any recommendations?

    Additional Information:
    Yeah, it sounds like a more complex issue. Have you tried running in the air without using the spindle. This may be a power related issue.

    Additional Information:
    That's exactly what I did. I ran the program without the router motor on just to see if the motors would get through the whole program but they stopped working after about fifteen minutes and then I was able to start them again after about 3 or 4 minutes. I never had this problem before so you can imagine my frustration especially after ruining a couple of projects on expensive material.

    Additional Information:
    Sure. I can completely understand. Try this: disconnect all but one of the driver from power and digital connection and do the air run. Repeat this for each driver and note your findings. This will rule out the drivers causing a power failure.

    Also, is your stepper motors and drivers on a separate power circuit from the computer?

    Additional Information:
    I will try disconnecting each driver and digital connection, which will be a real pain because it will be hard to access.

    All the stepper motors, drivers and computer are plugged into the same power strip.

    Additional Information:
    Ok, so there is no power failure going on, but I believe it is necessary to test each stepper motor and driver pair individually. Hopefully that will lead to a conclusion.

    Additional Information:
    It will take a little time but I will do it and report back on my findings.

    Additional Information:
    Curious, what machine is exhibiting this problem?

    Additional Information:
    I purchased a BYCNC kit back in 2009 with an approximate cutting area of 2' X 4'. I later changed out the Z-Axis Motor and controller for a larger one and have two X-axis motors and controllers. In 2010 I rebuilt the machine out of birch plywood instead of the particle board that the kit supplied. I sent Patrick pictures to him. The machine never gave me a problem till now.

    Additional Information:
    Thanks for the update. This is Patrick by the way. I answer pretty much all of the Customer Service questions. That machine has given quite a good history.

    Additional Information:
    I love the machine and made a number of samples of my work for my e-commerce site, but I can't start selling product until I know this problem is solved because I will not be able to fulfill orders. I finally got all the electronics out of its enclosed protected area near the machine so that I test each controller as you recommended. I hope the problem can be rectified. Will let you know.

    Additional Information:
    Thanks.

    Additional Information:
    I tested each stepper motor and driver pair individually and they worked so what might be the next step?

    Additional Information:
    Did each stepper motor driver pair work for the full +15 minutes?

    Additional Information:
    Yes, I had them in operation for over 30 minutes.

    Additional Information:
    Ok, well it’s good that the motors and driver are ok. We are now down to the power supply and the breakout board as possible causes for the stop. I have a feeling it may be the power supply where with all three drivers drawing current and the power supply maybe getting too hot. Is the fan in the power supply working? You can also test to see if there is 36 volts on the power supply voltage output (V+ and V-).

    Regarding the breakout board, if you have an oscilloscope, you can test if the driver pulses are outputting, but I would consider this as a last resort after you determine if there is a problem with the power supply.

    Additional Information:
    I tested the power supply with a voltmeter and each output was registering 39-40 volts. I think the problem may be the g-code. I am using V-Carve pro to do design and output to Mach 3 Mill g-code. When I studied the g-code lines I noticed that further into the program the z-axis g-code stopped zeroing out to move to the next part of the carving. In other words both the x and y keep moving and the z just stopped working because there was g-code missing. I think something is missing when the design was converted to g-code. I noticed that when I ran a simpler project it worked without problems so I need to investigate this further.

    Additional Information:
    New Update, Its not the g-code. I started to run the long program and everything was working fine until about 45 minutes into it, all the motors stopped working (but the program was still running) and there was a high pitched hum. When I put my hands on the motors they were all trying to move but it seemed they were all stalled. I turned the power off, gave it a minute and when I turned it back on I was able to move the motors again. Could this be a power supply problem?

    Additional Information:
    It does sound more and more like a power supply problem. Did you test the power supply after the motors stopped?

    Additional Information:
    No, I did not. What should I be looking for.

    Additional Information:
    It’s good that you know the voltage during normal operation, so you have a base understood. If the power supply is the problem, the voltage will be reduced or non existent when measured after the problem.

    Additional Information:
    Also, check to see if the fan is running on the power supply when the motors stop. That may (not absolutely) be an indication.

    Additional Information:
    I'll run another test, check the voltage and fan when the problem occurs and let you know. Thanks for hanging in there with me as we try to resolve the problem.

    Additional Information:
    It’s my pleasure. This service is rarely used and is faster then email. Odd nobody uses it. Any recommendations you can give would be great. No problem using this FAQ to pose ideas as this resolution will be cleaned up later.

    Additional Information:
    It might be that people do not realize you can communicate through the sight like this because they are so used to e-mail and texting. You may want to explain this feature in the customer service section.

    I ran the program this morning and it did not take long before the motors stopped. While operating the voltages for all three motors was 46 volts, when the motors stalled (and again there was a high pitch hum) the voltage went up to 60 volts and the fan on the power supply was operating.

    Additional Information:
    So, the driver work individually, but not all together. There is a high pitch sound when the motors fail. You have noted 60 volts from the power supply and the supply fan remains on. This is a difficult issue to resolve, but it seems to me that your power supply may be bad. The 60v measurement tells me that the current dropped and ohms law tells us that is current drops, volts will rise if the resistance stays the same.

    Additional Information:
    As one last test I am going to test each driver again and let them go through the entire program because it seems that the failure can occur at the beginning or towards the end of the program. When I originally tested ach driver I let them run for about a half an hour and the program takes over an hour to run completely. I just want to make sure that it is not the drivers. I will report back when I finished but as you noted it may be the power supply but I want to make sure.

    Additional Information:
    That’s a great idea.

    Additional Information:
    I just ran the x-axis through the whole program and there was no problem especially since I have two NEMA 23 motors moving that axis. Before I check the Y and Z could having a NEMA 34 on the Z axis with appropriate controller be a problem. I used the larger motor on the z axis because the router I am using is a large 1 1/2 hp. I've run this program in the past with this set-up and have not had a problem.

    Additional Information:
    Having a, say 3.0 amp driver, driving a stepper motor that typically requires a 6 amp driver would not seem to be an issue since the driver is limiting the current draw, but the driver may not be able to handle larger coil and back EMF with the protection on the 3.0 amp driver. With that said, I don’t believe that is the issue in this case.

    Additional Information:
    I don't either because I was able to run this and other complicated programs with this set-up in the past. I will let you know on the y and z axis.

    Additional Information:
    Thanks

    Additional Information:
    I ran the Y axis and z axis separately through the entire program and there was no stopping or problem. I guess the culprit is the power supply and I'll order a new one and hope that resolves the problem.

    Additional Information:
    Yes, that is the most probable cause. Please keep me informed. Thanks!

    Additional Information:
    Received and installed the new power supply. I ran the program with the router on and it worked flawlessly. The program runs for an hour and a half and I did not have a single problem. I guess it was the power supply but I was glad to go through all the diagnostics we discussed before replacing it. I hope this power supply lasts a lot longer than the last one. Thanks much for hanging in there with me and coming up with the solution.

    Additional Information:
    It’s my absolute pleasure and I am so happy to hear that the power supply replacement solved the problem.

    Additional Information:


    Additional Information:
    Y axis stop working X & Z work fine Y axis has two motors have check wiring & connections new breakout board still the same port & Pin set OK dont no were to go next David

    Additional Information:


    Additional Information:
    my cnc plasma cutter will run out the program when cutting. what is the cause?

    Additional Information:
    The cnc plasma question shod be a separate question. Can you pise that question by clicking the customer service live menu button at the top? Thanks.

    Click the link to respond:
    WHAT CAUSES ONE OF MY TWO AXIS MOTORS TO STOP WHILE THE MACH3 PROGRAM IS STILL RUNNING

  • What causes the cnc machine to stop/pause a second, or 2, in the middle of operation

    Did you look at the g-code instruction during the pause? There could be a dwell operation. Also, take a look at the status bar next to the reset button. There is information at that location that may be helpful.

    Click the link to respond:
    What causes the cnc machine to stop/pause a second, or 2, in the middle of operation

  • What causes the cnc machine to stop/pause a second, or 2, in the middle of operation

    Did you look at the g-code instruction during the pause? There could be a dwell operation. Also, take a look at the status bar next to the reset button. There is information at that location that may be helpful.

    Click the link to respond:
    What causes the cnc machine to stop/pause a second, or 2, in the middle of operation

  • What causes one of my two x-axis motors to stop while the Mach 3 program is still running?

    If one of your stepper motors decides to stop moving and the others are moving during a CNC milling or laser cutting job, then there could be two things that could be causing this.

    - The motor found its limiting torque (usually comes with a not-so-pleasant sound). This is where the control software is trying to move the stepper motor too fast (velocity, or too fast too quickly, acceleration) and the load against the stepper motor (inertia of the machine, or the material against the end mill while milling). Recommended action is to lower the velocity and/or acceleration, and/or lower the feedrate when cutting.

    - There is a wiring issue with the wiring from the driver to the motor. This could be a loose wire, or a chafed wire (or two shorting together). It can also be a loose digital wire from the controller board to the driver. Sometimes wire ties can be the culprit. Recommended action would be to thoroughly inspect the wiring.

    It's probably not the limit switches since that would cause a stop to the entire motion of the cnc router or laser machine.

    Sometimes Mach3 will show a status when something goes wrong, but in cases where the motor is stopping due to its torque limit, then that would not be shown in the status. It's always good to check it anyway.

    Additional Information:
    I need to clarify my situation a little better after going to my shop and trying to run another program on Mach 3. About 15 minutes into the milling process all the motors (2-X axis, Y axis and Z axis)stop but the program continues to run. I stop the program and after a couple of minutes when I try to restart the program all the motors start working again. Then after another 15 minutes or so, all the motors stop again. I checked and rechecked my wiring. This has never happened to me before when running the same programs with the same setups and motor speeds. All of a sudden when I reloaded a program I successfully used before it does this. Do you have any recommendations?

    Additional Information:
    Yeah, it sounds like a more complex issue. Have you tried running in the air without using the spindle. This may be a power related issue.

    Additional Information:
    That's exactly what I did. I ran the program without the router motor on just to see if the motors would get through the whole program but they stopped working after about fifteen minutes and then I was able to start them again after about 3 or 4 minutes. I never had this problem before so you can imagine my frustration especially after ruining a couple of projects on expensive material.

    Additional Information:
    Sure. I can completely understand. Try this: disconnect all but one of the driver from power and digital connection and do the air run. Repeat this for each driver and note your findings. This will rule out the drivers causing a power failure.

    Also, is your stepper motors and drivers on a separate power circuit from the computer?

    Additional Information:
    I will try disconnecting each driver and digital connection, which will be a real pain because it will be hard to access.

    All the stepper motors, drivers and computer are plugged into the same power strip.

    Additional Information:
    Ok, so there is no power failure going on, but I believe it is necessary to test each stepper motor and driver pair individually. Hopefully that will lead to a conclusion.

    Additional Information:
    It will take a little time but I will do it and report back on my findings.

    Additional Information:
    Curious, what machine is exhibiting this problem?

    Additional Information:
    I purchased a BYCNC kit back in 2009 with an approximate cutting area of 2' X 4'. I later changed out the Z-Axis Motor and controller for a larger one and have two X-axis motors and controllers. In 2010 I rebuilt the machine out of birch plywood instead of the particle board that the kit supplied. I sent Patrick pictures to him. The machine never gave me a problem till now.

    Additional Information:
    Thanks for the update. This is Patrick by the way. I answer pretty much all of the Customer Service questions. That machine has given quite a good history.

    Additional Information:
    I love the machine and made a number of samples of my work for my e-commerce site, but I can't start selling product until I know this problem is solved because I will not be able to fulfill orders. I finally got all the electronics out of its enclosed protected area near the machine so that I test each controller as you recommended. I hope the problem can be rectified. Will let you know.

    Additional Information:
    Thanks.

    Additional Information:
    I tested each stepper motor and driver pair individually and they worked so what might be the next step?

    Additional Information:
    Did each stepper motor driver pair work for the full +15 minutes?

    Additional Information:
    Yes, I had them in operation for over 30 minutes.

    Additional Information:
    Ok, well it’s good that the motors and driver are ok. We are now down to the power supply and the breakout board as possible causes for the stop. I have a feeling it may be the power supply where with all three drivers drawing current and the power supply maybe getting too hot. Is the fan in the power supply working? You can also test to see if there is 36 volts on the power supply voltage output (V+ and V-).

    Regarding the breakout board, if you have an oscilloscope, you can test if the driver pulses are outputting, but I would consider this as a last resort after you determine if there is a problem with the power supply.

    Additional Information:
    I tested the power supply with a voltmeter and each output was registering 39-40 volts. I think the problem may be the g-code. I am using V-Carve pro to do design and output to Mach 3 Mill g-code. When I studied the g-code lines I noticed that further into the program the z-axis g-code stopped zeroing out to move to the next part of the carving. In other words both the x and y keep moving and the z just stopped working because there was g-code missing. I think something is missing when the design was converted to g-code. I noticed that when I ran a simpler project it worked without problems so I need to investigate this further.

    Additional Information:
    New Update, Its not the g-code. I started to run the long program and everything was working fine until about 45 minutes into it, all the motors stopped working (but the program was still running) and there was a high pitched hum. When I put my hands on the motors they were all trying to move but it seemed they were all stalled. I turned the power off, gave it a minute and when I turned it back on I was able to move the motors again. Could this be a power supply problem?

    Additional Information:
    It does sound more and more like a power supply problem. Did you test the power supply after the motors stopped?

    Additional Information:
    No, I did not. What should I be looking for.

    Additional Information:
    It’s good that you know the voltage during normal operation, so you have a base understood. If the power supply is the problem, the voltage will be reduced or non existent when measured after the problem.

    Additional Information:
    Also, check to see if the fan is running on the power supply when the motors stop. That may (not absolutely) be an indication.

    Additional Information:
    I'll run another test, check the voltage and fan when the problem occurs and let you know. Thanks for hanging in there with me as we try to resolve the problem.

    Additional Information:
    It’s my pleasure. This service is rarely used and is faster then email. Odd nobody uses it. Any recommendations you can give would be great. No problem using this FAQ to pose ideas as this resolution will be cleaned up later.

    Additional Information:
    It might be that people do not realize you can communicate through the sight like this because they are so used to e-mail and texting. You may want to explain this feature in the customer service section.

    I ran the program this morning and it did not take long before the motors stopped. While operating the voltages for all three motors was 46 volts, when the motors stalled (and again there was a high pitch hum) the voltage went up to 60 volts and the fan on the power supply was operating.

    Additional Information:
    So, the driver work individually, but not all together. There is a high pitch sound when the motors fail. You have noted 60 volts from the power supply and the supply fan remains on. This is a difficult issue to resolve, but it seems to me that your power supply may be bad. The 60v measurement tells me that the current dropped and ohms law tells us that is current drops, volts will rise if the resistance stays the same.

    Additional Information:
    As one last test I am going to test each driver again and let them go through the entire program because it seems that the failure can occur at the beginning or towards the end of the program. When I originally tested ach driver I let them run for about a half an hour and the program takes over an hour to run completely. I just want to make sure that it is not the drivers. I will report back when I finished but as you noted it may be the power supply but I want to make sure.

    Additional Information:
    That’s a great idea.

    Additional Information:
    I just ran the x-axis through the whole program and there was no problem especially since I have two NEMA 23 motors moving that axis. Before I check the Y and Z could having a NEMA 34 on the Z axis with appropriate controller be a problem. I used the larger motor on the z axis because the router I am using is a large 1 1/2 hp. I've run this program in the past with this set-up and have not had a problem.

    Additional Information:
    Having a, say 3.0 amp driver, driving a stepper motor that typically requires a 6 amp driver would not seem to be an issue since the driver is limiting the current draw, but the driver may not be able to handle larger coil and back EMF with the protection on the 3.0 amp driver. With that said, I don’t believe that is the issue in this case.

    Additional Information:
    I don't either because I was able to run this and other complicated programs with this set-up in the past. I will let you know on the y and z axis.

    Additional Information:
    Thanks

    Additional Information:
    I ran the Y axis and z axis separately through the entire program and there was no stopping or problem. I guess the culprit is the power supply and I'll order a new one and hope that resolves the problem.

    Additional Information:
    Yes, that is the most probable cause. Please keep me informed. Thanks!

    Additional Information:
    Received and installed the new power supply. I ran the program with the router on and it worked flawlessly. The program runs for an hour and a half and I did not have a single problem. I guess it was the power supply but I was glad to go through all the diagnostics we discussed before replacing it. I hope this power supply lasts a lot longer than the last one. Thanks much for hanging in there with me and coming up with the solution.

    Additional Information:
    It’s my absolute pleasure and I am so happy to hear that the power supply replacement solved the problem.

    Additional Information:


    Additional Information:
    Y axis stop working X & Z work fine Y axis has two motors have check wiring & connections new breakout board still the same port & Pin set OK dont no were to go next David

    Additional Information:


    Additional Information:
    my cnc plasma cutter will run out the program when cutting. what is the cause?

    Additional Information:
    The cnc plasma question shod be a separate question. Can you pise that question by clicking the customer service live menu button at the top? Thanks.

    Click the link to respond:
    What causes one of my two x-axis motors to stop while the Mach 3 program is still running?

  • where on your mk1 usb controller is the input port i can use for pause or estop comand thanks

    On our USB breakout boards, the pins available for any inputs (e-stop/limit switches).
    Are x++ - a-- (x++,x--,y,z,a(same)) in the settings menu you will have to specify the pin!

    Here is a good forum on Planet-CNC.com to help setting up Planet-CNC software:(http://www.planet-cnc.com/faq/machine_setup/)

    Additional Information:


    Additional Information:
    In the planetcnc software the inputs are greyed out I have a licenced copy and I have all limits setup and working correctly id like to use the a++ or a-- as a manual program pause if my plasma fails torch ignition and id like it to continue after re ignition. When the mk1 controller is unplugged the inputs are available but when the controller is plugged in there greyed out is these options unavailable with your controller please help.

    Click the link to respond:
    where on your mk1 usb controller is the input port i can use for pause or estop comand thanks

  • 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.

  • My Mach3 will not start, it says probediag.dat error=5.

    Erase the file named probediag.txt and everything should work fine. Start Mach3 again and you should not get the error.

    If you still get the error, please submit additional information on this FAQ.

    Click the link to respond:
    My Mach3 will not start, it says probediag.dat error=5.

  • limit switch does not work as wired mach3 usb

    Are you connecting the limit switch in normally open mode? I would suggest connecting a single limit switch from the DCM terminal to one of the input terminals. Make sure you have a 24v power supply connected between the 24V terminal and the DCM terminal.

    Additional Information:
    Are you connecting the limit switch in normally open mode? I would suggest connecting a single limit switch from the DCM terminal to one of the input terminals. Make sure you have a 24v power supply connected between the 24V terminal and the DCM terminal.

    Click the link to respond:
    limit switch does not work as wired mach3 usb

  • Mach3 status showed PWM Bumped to Minimum Setting. The CNC machine stopped

    If mach3 displays a message in the status line with "PWM Bumped to Minimum Setting" and the CNC router or CNC machine stopped in the middle of the milling, you will need to do the following:

    - Note the current g-code line where the machine stopped.
    - 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.

    Click the link to respond:
    Mach3 status showed PWM Bumped to Minimum Setting. The CNC machine stopped

  • Mach3 USB CNC Interface EMERGENCY STOP

    To connect an emergency stop (e-stop) to the Mach3 USB controller, use the emergency stop switch/button on the NO (normally open) connections of the switch. Connect one side of the NO connection to IN1 and the other side of the NO connection to the DCM, or GND (V-) of the 24V power supply that is used to power the Mach3 USB controller.

    Additional Information:
    The configuration in Mach3 should be default if you used the XML file that is here:
    https://www.buildyourcnc.com/item/electronicsAndMotors-electronic-component-breakout-Mach3-USB-Board

    Click the link to respond:
    Mach3 USB CNC Interface EMERGENCY STOP

  • Backlash correction is not reflected in Mach3 Turn. Is there a way to reflect it?

    Mach3Turn has backlash settings under Config -> Backlash. You will be able to set backlash parameters in distance for each axis and/or by backlash speed percentage of Max. Make sure to enable the backlash compensation by clicking on the Backlash Enabled checkbox.

    It is highly recommended that you resolve any backlash in the mechanics of the machine rather than relying on the software to compensate for backlash.

    Click the link to respond:
    Backlash correction is not reflected in Mach3 Turn. Is there a way to reflect it?

  • How should I wire the E-stop button? NC or NO?

    I would recommend wiring the E-Stop to an input terminal via an NC connection. This is the industry standard. It requires a NC (Normally connected) circuit for the machine to be operational, and when the circuit breaks, the machine shuts off. This is better than having a circuit NO (normally open), open circuit that requires a circuit to be created to have the machine shut off for safety.

    Having en E-Stop run through the mains line would only work for a single circuit (or use multiple E-stops, which defeats the purpose). The E-stop connected to the input terminal would shut off all machine functions.

    Additional Information:
    100% agree. When we have our automatic fire suppression systems wired in, we always do them NC (Normally Connected/Normally Closed). You can see more at www.reactonfire.com/what-we-protect/cnc-fire-suppression/ If you're doing a fire system (ours or others) be sure to shut down the machine and mist collectors)

    Additional Information:
    100% agree. When we have our automatic fire suppression systems wired in, we always do them NC (Normally Connected/Normally Closed). You can see more at www.reactonfire.com/what-we-protect/cnc-fire-suppression/ If you're doing a fire system (ours or others) be sure to shut down the machine and mist collectors)

    Click the link to respond:
    How should I wire the E-stop button? NC or NO?

  • I get random e-stop while machining. I checked the connections on the redfly and they are OK

    You can increase the debouncing for the input terminals where the limit and e-stop switches are connected. Go to Mach3 and the config menu. Click on General Config... in the config menu. The General Logic Configuration dialog box will appear. On the top right of that screen, you will see Debounce Interval. Increase this number until the problem stops.

    You might also want to check your wiring. You don't want the limit switch wiring close to any motor wires, including the spindle cable. The limit switch cabling should be shielded and the shielding of the cable should be grounded.

    Click the link to respond:
    I get random e-stop while machining. I checked the connections on the redfly and they are OK

  • how to calibrate stepper motors with ballscrews In mach3

    The easy way is to use Mach3's calibration process to calibrate the axis with the ballscrew coupled to the stepper motor. This is done in the settings tab of Mach3 and clicking the button just above the "Reset" button called "Set Steps Per Unit". A dialog box will appear asking how far you want Mach3 to move that axis. Mach3 will move that axis at a distance that is determined by the existing steps per unit value set in the motor tuning dialog box (config menu -> motor tuning). Not knowing the distance that this axis will travel, it's best to use a very small value.

    The more difficult way and the technique that should be used to create the initial value for the step per unit in the motor tuning dialog box. Use the steps/unit formula. This example will use inches.

    Steps/Inch
    = ((motor natural steps) x microsteps) / (the travel for one complete revolution)

    The travel for one revolution would be the distance a ball nut will travel with one complete turn of the ball screw. This is generally the number of starts / threads per inch. Say the ball screw has 5 starts (5 threads starting from the beginning of the screw) and 10 threads per inch (TPI), then the travel for one complete turn of the screw would be 5/10, or 1/2".

    Say you set the microstepping to be 1/4 on the stepper motor driver and your stepper motor has 200 natural steps per revolution (1.8 degrees per step), then the total steps would be 200 x 4 = 800.

    So, the steps/inch is 800 / 1/2" = 1600 steps per inch

    Hope that helps

    Click the link to respond:
    how to calibrate stepper motors with ballscrews In mach3

  • How do you install the software for the Mach3 USB controller?

    The Mach3 usb controller/interface has instructions and videos on this page:
    https://www.buildyourcnc.com/item/electronicsAndMotors-electronic-component-breakout-Mach3-USB-Board

    There is a 5 step process on that page to install the plug-in and the configuration xml file that is necessary for the proper functioning of the controller.

    The videos on that page also demonstrate in detail how to install the software, plug-ins, xml file and wiring and testing most of the features of the Mach3 USB interface.

    Hope this helps.

    Click the link to respond:
    How do you install the software for the Mach3 USB controller?

  • What are the pin numbers on the parallel port to use on Mach3?

    The pin numbers for our Parallel BoB, will be x-axis: step pin 2, dir pin 3, y-axis: step pin 4, dir pin 5, and for the z-axis step pin 6, dir pin 7.
    Step port and dir port, for x,y,z-axes will all be 1.


    Here is the link to our wiring diagram: https://buildyourcnc.com/item/electronicsAndMotors-parallel-breakout-relay#prettyPhoto/0/

    Additional Information:
    what are pinouts

    Additional Information:
    Pinouts are typically drawings or diagrams of pins with labels next to the pin that describes the function of the pin.

    Click the link to respond:
    What are the pin numbers on the parallel port to use on Mach3?

  • How to configure 2.2KW VFD for Modbus communication with Mach3

    It is possible to connect and configure the spindle VFD to the mach3 via an RS485 communication and protocol.

    The first thing you will need is the dynamic link library to pair with mach3 called the Huanyang VFD Mach3 PlugIn. You can find this file at the mach3 support forum here: http://www.machsupport.com/forum/index.php/topic,14182.0.html

    You will also need to download the Microsoft .net 3.5 framework and install it: https://www.microsoft.com/en-us/download/details.aspx?id=21

    Follow the pdf that comes with the library file, but here is a synopsis of what you need to do (I also added a lot more information that may be useful during this process as the manual does not cover the main connections that need to be done):

    You will need to program your VFD so that it knows how to communicate with mach3 and the computer (go into the programming mode of the VFD and change these parameters):
    - PD001 - value 2 - Enables with communication aspect of the VFD
    - PD002 - value 2 - Enables frequency control from the communcations port
    - PD163 - value 1 - VFD address
    - PD164 - value 1 - Baud rate of 9600 (speed of the communication)
    - PD165 - value 3 - 8N1 RTU - 8 bits (that's the size of the word that gets communicated), N (No parity or no error checking) and 1 (1 stop bit)

    Copy the dll file to the PlugIns folder of mach3.

    Connect the RX and TX lines to your computer. There are a couple ways you can do this, but the recommended way would be to use an FTDI USB device which converts a USB to a serial com port. The device will have Rx and Tx connectors to connect to the VFD terminals with the same labels. This method is recommended since serial ports are not as common in computers these days.

    Next, you will need to configure mach3 to use the plugin library. Start mach3 and click on Menu -> config ->Config Plugins. Enable the new plugin by clicking on the red cross on the left column next to the plug in. Restart mach3 after doing this.

    No you need to configure mach3 to use the HuanyangVFD plugin. Go to the ports & pins configuration and select the spindle setup tab. Make sure that the Disable Spindle Relays checkbox is unchecked. We don't want mach3 to output a signal for a relay since the spindle will start up and turn off within the VFD and not from an external relay.

    Next, go to the HuanyangVFD settings by clicking on Menu -> plugin control -> HuanyangVFD. Set the parameters to the same settings you put into the VFD programming. The com port will be shown as new hardward when you plug in the USB FTDI device. A little bubble will be displayed at the bottom right where it will notify you that a new device is being installed (be patient while windows assigns a com port). Alternatively, you can use the windows device manager to see which port was set for the new USB FTDI device). You may need to restart mach3 several times until you get the correct information displayed in the PD001 and PD002 fields. When the com port is correct and the other parameters, like baud and VFD address is the same as you entered in the programming, then the PD001 and PD002 will show the number 2, otherwise, a 99 will appear which means that communication was not successful.

    You can now control the on/off and RPM of the spindle using the RS485 communication between mach3 and the VFD.



    Additional Information:
    This looks easy enough, however, the VFD that came with my spindle is made by Huajiang, not a Huanyang. The parameter codes are different and do not line up with the ones offered in this response.

    Click the link to respond:
    How to configure 2.2KW VFD for Modbus communication with Mach3

  • How do I connect the outputs on the USB motion card for Mach3?

    A 24V connection to the USB motion card is only needed if you are using limit switches (inputs), powering the spindle/VFD speed and direction, and for the outputs, for powering other devices (mist, coolant, etc.).

    If you are using a VFD (Variable Frequency Drive, also called Inverter) for a spindle, they typically have a 24V out terminal that can be used with our USB motion card. If you are not using a spindle/VFD (we highly recommend one), then you will need to purchase a 24v power supply to power that side of the board.

    The outputs mentioned above are to connect to external devices and will require a relay (a mechanical switch that is controlled by a digital signal). This mechanical switch can turn on a device like coolant and mist, or even a router, if you are using one. A relay is required to turn on these devices because the devices are typically higher voltage, like mains (110v or 220v). So, a relay can turn on or off a high voltage device with a lower voltage (24v) signal.

    Click the link to respond:
    How do I connect the outputs on the USB motion card for Mach3?

  • Will the mach3 usb interface card work with Windows 7?

    Yes, Mach3 (the software profram) will work with Windows 7, and windows 10 when coupled with the Mach3 USB interface. If you intend to use the parallel port driver, stick with Windows 7 in 32-bit mode.

    Click the link to respond:
    Will the mach3 usb interface card work with Windows 7?

Get Help with:
This Product
Orders
Tech Support
Sales
This Product
Order Query
Tech Support
Sales
Not logged in. Log In Register
Track Order(s)
View Order(s)
I Want to Schecule a One-On-One Paid Tech Support Session
Book an Appointment Pertaining to a BuildYourCNC Product (Free)
Ask a Quesion Below (Free):
Book an Appointment Pertaining Other Equipment ($60/half hour)
Book an Immedite Appointment Pertaining Other Equipment ($120/half hour)
Ask a Quesion Below (Free):
Waiting for response... I may not answer immediately, but I was notified on my cellular phone so my response is forthcoming. If I don't respond immediately, you can always go to the [My Account] page to see all of our chats at any time.