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

Question #: 14417

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

Current Solution

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.

Respond:

Other Possible Solutions to this Question

  • I get a probediag.dat error=5 when I start Mach3?

    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:
    I get a probediag.dat error=5 when I start 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?

  • WILL THE USB BREAKOUT BOARD WORK WITH MACH3?

    Sure, the USB interface has a place for 4 axes of limit switches.

    Each axis can have two limit switches: one for the ++ (positive) end and one for the -- (negative) end. The positive end would be the limit switch at the end of the machine that, say the machine has a 4'x8' area, reaches a bit after the 8 foot mark. The negative end would be the limit switch behind the 0 foot location behind the origin. If the origin is in the middle, the negative would be at a little more than the -4 foot end and the positive would be at a bit more than the +4 foot end. Note that you can have more than one switch on each pin where the NC is connected in serial fashion and the NO is connected in parallel fashion (this can be seen on the diagram in the multiple limits switch section). The software configurations for the limits switches are under File -> Settings -> Limit.

    A typical limit switch has three connections on it. These connections consist of COM (common), NC (normally closed) and NO (normally open). The COM would generally go to GND and the NC or the NO would go to the pin. If the NC is used, then the the switch is constantly connected until the switch is pushed (engaged) then the connection from the pin to gnd is broken (open). Use the settings in software to set whether in NC or NO configuration.

    Let me know if this information was helpful (or not) by adding information to this question. Thanks.

    User response:
    Thank you very much for this helpful information. I'm still a little fuzzy on how the 6 limit switches physically connect to each other and to the USB breakout board. You've stated one switch (home) goes to positive and another switch (limit) goes to negative. Are all the GND prongs from all 6 switches connected to each other and going to GND on the breakout board, or no? And the NC prongs, how exactly are they connected to each other? And to the board? There has to be a diagram somewhere shows this visually, no? I don't know how to wire the switches in series or in parallel. I have already physically installed all the switches on the machine and ran the wires to where the board is. Now I just need to know where to plug these wires into the board. Also, taking into consideration that I'm using the Planet CNC software, the only settings I have pertaining to limit switches is "Enable/Disable" for each axis, and the actual limit for each axis. Nothing about NC or NO. Is that only in Mach3?
    Thank you.

    buildyourcnc response:
    On the USB interface, the COM on the switch connects to GND and the NC or NO connects to the input pin (i.e. x++, y--, etc.)

    Limit switch configuration is rather difficult to understand, especially with series and parallel. You can think of series as a single wire going from GND to the axis letter input terminal (i.e. X++ or X--). If the wire is broken, then the circuit is open (or the switch is engaged in a normally closed scenario). Normally closed is like an actual wire, and when engaged, the switch "opens" (breaks the wire). This is why we recommend in some systems that you can put many switches in series on a single pin. When one of the switches is engaged (breaking the connection) then the entire circuit of switches is broken and the machine stops.

    In a parallel scenario, the state of the circuit is always broken until the one of the switches is engaged and the circuit is then closed or connected. The topology looks like a ladder. All the switches connect to both sides of the ladder and the switches are like the runs of the ladder (the horizontal bars that the feet are placed while climbing). Imagine all of the switches broken in this scenario (normally open). It would be like the ladder could be split in two, but if one of the ladder runs (switches) is closed by engaging it, then that run would connect both sides of the ladder and the two sides of the ladder would have a connection.

    There is a diagram on the USB page of the various limit switch configurations. If you need more information (visual and/or otherwise), please let us know and we will immediately add that information to benefit everyone.

    Click the link to respond:
    WILL THE USB BREAKOUT BOARD WORK WITH MACH3?

  • Will the USB breakout board work with Mach3?

    Our newer USB board will work with Mach3 and can be found here at this URL:

    https://www.buildyourcnc.com/item/electronicsAndMotors-electronic-component-breakout-Mach3-USB-Board

    Click the link to respond:
    Will the USB breakout board work with Mach3?

  • Will Mach3 USB Interface board fit in my redleaf, in lieu of the breakout board that came with it?

    The Mach3 USB board will fit in the redLeaf, but you may need to modify the Plexiglas top for proper mounting. However, the redLeaf has the proper parallel GPIO on the motherboard for use with the Parallel breakout board. If you have a laser on the machine you are using, then I would urge you to maintain the parallel breakout board as the Mach3 USB board will not work correctly using the Z-direction pin and you will need to determine how to use the output pins onthe USB board to ensure proper laser functionality.

    Click the link to respond:
    Will Mach3 USB Interface board fit in my redleaf, in lieu of the breakout board that came with it?

  • Is there any other software that will work with your controller Mach3?

    The mach3 control software will work with all major CAM software (CAMBAM, Aspire and Vectric, BobCAD/CAM, ArtCAM, Dolphin CAM, CAM software that integrate with SolidWorks and AutoDesk Inventor, and many more).

    Click the link to respond:
    Is there any other software that will work with your controller Mach3?

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

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

  • I AM INTERESTED IN THE 3 AXIS COMBO USB OPTION. NOTICE YOU ENDORSE PLANET-CNC FOR USE WITH THIS BUT WILL MACH3 INTERFACE WELL BEAK OUT BOARD?
  • Will the Mach3 interface board accommodate 5 wire steppers?

    Wow, I've never heard of 5 wire stepper motors. Typically, stepper motors have two wires per coil (the start and end of the coil) and sometimes there is a midpoint wire on each coil making for 6 wires. Other stepper motors may have the midpoint cut and two wires extending from the midpoint (essentially making 4 coils) which creates 8 wire stepper motors.

    Having 5 wires seems odd to me. Can you measure the resistance between the 5 wires with all combinations?

    Click the link to respond:
    Will the Mach3 interface board accommodate 5 wire steppers?

  • How long does it take to get my Mach3 license emailed to me?

    Should be the same day. Please call us if you don't receive the license in the same day.

    Click the link to respond:
    How long does it take to get my Mach3 license emailed to me?

  • how do I connect my spindle to mach3 so mach3 can control it

    It is not necessary to connect the spindle VFD (Variable Frequency Drive also called an Inverter) to the computer or CNC motion electronics. The VFD can be controlled independently using the control panel on the VFD. The control panel has the ability to control all aspects of the spindle including Speed, Torque, limits, etc. However, you can connect the VFD to the computer so the CNC control program can control the spindle during the CNC Machine operation. You will need to connect the VFD to the computer via a serial conection (in this case, it is the RS-485 protocol).

    The following are instructions on how to connect the VFD to Mach3 via this RS-485 serial connection.

    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:
    The question was how to connect the spindle to the redfy. I did not receive a VFD.
    I have the redFly system and a 2.2kW Spindle - 110V how do i connect the spindle?

    Additional Information:
    If you received a spindle without a VFD, please contact us asap. Our spindle will not work without a VFD.

    Additional Information:
    Hi, how is this setup in mach4?

    Click the link to respond:
    how do I connect my spindle to mach3 so mach3 can control it

  • Is there a downloadable manual for the usb Mach3 interface board? I'm not sure one came with my Redleaf. Cheers.
  • I ordered a redLeaf with Mach3 installed. Do you guys configure any of the setting in mach3 or will I need to do that all myself?

    The redLeaf CNC computer systems will have either Mach3 or LinuxCNC installed as per the customer's request. If the Mach3 license is purchased, the license file will also be installed on the redLeaf CNC computer system.

    The Mach3 or LinuxCNC settings will be configured during the assembly of the system. We contact the customer to determine the drive (mechanics) and inertial (weight of gantry and other parts of the gantry) specifications in order to correctly configure the steps per inch, velocity and acceleration.

    Click the link to respond:
    I ordered a redLeaf with Mach3 installed. Do you guys configure any of the setting in mach3 or will I need to do that all myself?

  • When I try to run Mach3 It just crashes and restarts my computer.

    What Windows version are you running? I have heard of a windows update that crashes Mach3. Try uninstalling Mach3 then re-installing it to see if that works. Make sure to save your .xml files under the Mach3 folder or you will lose your settings. Also, copy your license file under that folder so you can re-copy it into the new folder.

    Another solution is to roll back the windows update to a previous version (just prior to the update).

    Additional Information:

    Click the link to respond:
    When I try to run Mach3 It just crashes and restarts my computer.

  • How do I calibrate my machine with mach3

    In Mach3, go to the Settings Tab, and select "Set Steps Per Unit". It will ask you how far to move the machine. Before you do this, make a mark on the table exactly where the end mill is resting. You can do this by lowering the end mill until it touches the material, then spinning it by hand to cut a small dimple in the material. Then, raise the end mill to clear the material, and assign a distance to move the machine. Once the machine moves and stops, measure the exact distance that it actually traveled with a tape measure, and enter this value into the dialog box that asks how far it moved. Mach3 will automatically adjust your steps per unit for that axis to be more accurate. Do this for all axes often to ensure you are cutting accurately. The longer distances you use calibrate, and the more precise you are with your measurements, the better.

    Click the link to respond:
    How do I calibrate my machine with mach3

  • What functionality is lost if 24V power supply not provided to "Mach3 USB Motion Card"?

    If the Mach3 USB does not have a 24V power on the limit switch/output/DAC side of the board, then those functions (limit switches, outputs and the DAC) will not work. If you have a spindle, you can use the 24V output from the VFD (Variable Frequency Drive) to serve as the 24V supply.

    Click the link to respond:
    What functionality is lost if 24V power supply not provided to "Mach3 USB Motion Card"?

  • will mach3 work on a cnc masters mill

    Yes, you can use the Mach3 software on a CNC Masters Mill, but you will need to replace the main controller card with one of the following:

    Our breakout board (works with Mach3 and LinuxCNC and requires a parallel port on your computer):
    https://www.buildyourcnc.com/item/electronicsAndMotors-parallel-breakout-relay

    The PoKeys57CNC (works with Mach3 and Mach4):
    https://www.buildyourcnc.com/item/electronicsAndMotors-electronic-component-breakout-Mach4-mach3-USB-ethernet-Board

    Generic USB breakout board (works with Mach3):
    https://www.buildyourcnc.com/item/electronicsAndMotors-electronic-component-breakout-Mach3-USB-Board

    This board will need to be connected to the drivers for each stepper motor. From my research, these mills have gecko drivers to drive the individual stepper motors.

    It has also been noted with the power supply may be under powered as well. If you feel that is the case, you may want to consider replacing that as well.

    Click the link to respond:
    will mach3 work on a cnc masters mill

  • Im having software setup problems with my backtooth (mach3) and i seem not to find a solution in the forum. what can i do?

    You can call us, send an email, or pose the specific question on this customer service live that pertains to the issue that you are having.

    Click the link to respond:
    Im having software setup problems with my backtooth (mach3) and i seem not to find a solution in the forum. what can i do?

  • With the Mach3 USB board, my stepper motors are moving or spinning slowly.

    If your motors turn very slowly using your Mach3 USB board, then either the pulse from the board is being output at a slow rate or the motor drivers are set to a higher than expected microstepping:

    The Mach3 USB board outputs the pulse rather than the computer, but Mach3 controls this pulse frequency within the motor tuning section. First, determine if the travel distance is correct with the computer and the physical travel of the machine.

    If the travel is different, then your stepper motor driver's microstepping is incorrect, or the steps per inch/mm in the motor tuning within Mach3 is incorrect.

    If the travel is correct, then simply change the velocity and acceleration parameters to your desired level. If Mach3 will not achieve the velocity you desire, then decrease your stepper motor driver's microstepping setting, readjust the step per inch/mm in mach3 and readjust the acceleration and velocity to your desired levels.

    Click the link to respond:
    With the Mach3 USB board, my stepper motors are moving or spinning slowly.