[ Log In ]
[ Register ]

Question #: 13979

Question: How do I connect the outputs on the Mach3 USB motion card?

Current Solution

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.

Respond:

Other Possible Solutions to this Question

  • 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 add information to this solution:
    How do I connect the outputs on the USB motion card for Mach3?

  • How do I use the outputs on the Mach3 USB controller?

    I created a video to demonstrate how to use the outputs on the Mach3 USB controller. You can find this video on the following page:
    https://www.buildyourcnc.com/item/electronicsAndMotors-electronic-component-breakout-Mach3-USB-Board

    Scroll down to the 5th video on that page. The title of the video is: Mach3 USB Controller Outputs

    Click the link to add information to this solution:
    How do I use the outputs on the Mach3 USB controller?

  • What Relay do I need for the Mach3 usb motion card?

    You will need a 24V DC Solid State Relay to accompany the Mach3 USB Motion Card as the outputs on that motion card requires a 24V Power Supply.

    Until we start supplying this relay, you can find these relays here:
    https://www.mcmaster.com/#relays/=1d535ws

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

    Additional Information:
    Specifically, you will need a relay link this one:
    https://www.mcmaster.com/#7170k1/=1d536ko

    Additional Information:
    This one has an easier method of connecting:
    https://www.mcmaster.com/#7266k38/=1d53765

    Click the link to add information to this solution:
    What Relay do I need for the Mach3 usb motion card?

  • The mach3 USB card requires 24V, how do I supply this?

    If you are using a spindle with a VFD, there is a 24 volt power supply that will provide the correct power for the V+ and V- on the Mach3 USB. The 12V option is only if you are using the limit switches on that side of the board, but if you are using it to control spindle speed and for the outputs, it's best to use a 24V power supply, or the 24V output on the VFD.

    Additional Information:
    Closed loop

    Additional Information:
    Can i use 12v in the 24v input

    Click the link to add information to this solution:
    The mach3 USB card requires 24V, how do I supply this?

  • How can I connect an inductive proximity sensor to the Mach3 USB controller?

    I would suggest using the NPN proximity sensor for the Mach3 USB or the Pokeys57cnc. The proximity sensors have a top DC voltage limit of 30 volts, so it would be best to use the 24V power supply that is used to power the controller. Both controllers have a 24V power requirement, so that is convenient.

    The blue wire of the proximity sensor is the GND wire and is connected to the 24V power supply's V- terminal. The brown wire is the positive wire and is connected to the V+ terminal of the 24V power supply. The black wire is the signal wire and is connected to the input terminal of the controller.

    Click the link to add information to this solution:
    How can I connect an inductive proximity sensor to the Mach3 USB controller?

  • How do I connect a Z-Axis touch plate to the Planet-CNC USB interface?

    "Semi automatic" measuring is possible.
    1. Place movable tool sensor (touch plate) on material.
    2. Click "Measure Offset Z". Tool will move down, touch sensor and move up.
    3. "Measure Offset Z" button is still down.
    4. Click "Offset - Current Z" - this will set offset Z
    5. Click "Measure Offset Z" again to release it and restore normal mode."

    The connections to the USB interface is as follows:
    - The spindle is connected to the gnd terminal (which is also connected to the end mill). Alternatively, you can connect the gnd directly to the end mill is access is permitted.
    - The touch plate (movable tool sensor) is connected to the Z-- terminal.

    What will happen: When the end mill (gnd) is in contact with the touch plate (Z--), there will be a connection from gnd to the Z-- triggering this Z-- action and the software will recognize the connection (like a button press, or a limit switch triggering).

    Additional Information:


    Additional Information:

    Click the link to add information to this solution:
    How do I connect a Z-Axis touch plate to the Planet-CNC USB interface?

  • What is the relay coil on the USB motion card for?

    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 add information to this solution:
    What is the relay coil on the USB motion card for?

  • 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 add information to this solution:
    how do I connect my spindle to mach3 so mach3 can control it

  • I need wiring instructions for the ST- USB MOTION CARD

    You can find the wiring diagram for the Mach3 USB card on its product page here:
    https://www.buildyourcnc.com/item/electronicsAndMotors-electronic-component-breakout-Mach3-USB-Board

    Here is a direct link to the diagram:
    https://www.buildyourcnc.com/Documents/Electric%20Wiring%20Diagram.pdf

    Click the link to add information to this solution:
    I need wiring instructions for the ST- USB MOTION CARD

  • [575] How do I get the USB Driver to work with Mach3 Version 1.84

    What problems are you experiencing?

    Additional Information:
    Are you able to install a newer version of Mach3? If you are worried that your configuration will be lost, you can save the configuration by copying all of the XML files from the Mach folder. The XML files contain all of the settings that you applied in Mach3. Just in case the XML files are not compatible with the new version, make sure not to erase the current Mach3 that you have on the machine.

    Click the link to add information to this solution:
    [575] How do I get the USB Driver to work with Mach3 Version 1.84

  • HOW DO I CONNECT A TOUCH PLATE TO THE BREAKOUT BOARD?

    The instructions on how to do this are found here, in these two videos, http://buildyourcnc.com/PrimeronHomingandLimitSwitches.aspx

    Additional Information:

    Click the link to add information to this solution:
    HOW DO I CONNECT A TOUCH PLATE TO THE BREAKOUT BOARD?

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

    Additional Information:


    Additional Information:


    Additional Information:
    good day, does this controller board support the M11/M10 command set.

    Click the link to add information to this solution:
    How do you install the software for the Mach3 USB controller?

  • How do I connect my motor wires to the driver?

    Use the datasheet associated to the motor that you purchased. Use the bipolar parallel configuration to optimum performance. The datasheets are located in their respective motor product pages. Just click on the motion electronics at the left and scroll down to the motor you have and click on the title, or datasheet link next to the motor. The datasheet will either be in the form of a pdf, or within the instructions on that product page.

    Additional Information:
    wiring diagram



    Additional Information:


    Additional Information:

    Click the link to add information to this solution:
    How do I connect my motor wires to the driver?

  • How do I connect a heated bed to the whiteant

    Connecting a heater bed to the whiteAnt is currently unavailable with our current version electronics, as we have tried to get around that issue here! We do not have the available slot for another thermocouple, so reading the temperature will not be possible for the heater bed. Also doubling the heater bed and extruder is not recommended, in which our current electronics will not be able to work with the additional heater bed.

    Click the link to add information to this solution:
    How do I connect a heated bed to the whiteant

  • how do I connect the parallel breakout board?

    You can go here to find the diagrams and instruction on connecting the parallel breakout board:

    https://www.buildyourcnc.com/item/electronicsAndMotors-parallel-breakout-relay

    Also, please make sure to watch all of the electronics tutorial videos here:
    https://www.buildyourcnc.com/CNCElectronicsandWiring.aspx

    Click the link to add information to this solution:
    how do I connect the parallel breakout board?

  • Whereb can I find directions on how to install the Mach3 USB board with Mach 4 software? I do not have a parallell port.

    You can find instructions for the Mach3 USB here:
    https://www.buildyourcnc.com/item/electronicsAndMotors-electronic-component-breakout-Mach3-USB-Board

    You will probably need to use the Mach3 USB board with Mach3. We have not tested the Mach3 usb card with Mach4.

    Click the link to add information to this solution:
    Whereb can I find directions on how to install the Mach3 USB board with Mach 4 software? I do not have a parallell port.

  • HOW MUCH SILICONE TUBE DO I NEED FOR A GREEN LEAN TO CONNECT THE SPINDLE

    The greenlean requires 56 feet of 1/4 Inside Diameter and 3/8 Outside Diameter silicon tube for the spindle.

    Additional Information:
    20

    Additional Information:
    20

    Click the link to add information to this solution:
    HOW MUCH SILICONE TUBE DO I NEED FOR A GREEN LEAN TO CONNECT THE SPINDLE

  • How can I to connect a signal to turn on a mist in a USB board? Thank you

    You will need a 24V relay to control mist using the Mach3 USB breakout board. The wiring diagram (link below) will show one of the output terminals (O1, O2, O3 or O4) connected to one of the leads of the relay. The other lead is connected to the V+ to complete the circuit. The other part of the relay is used as a switch to control the mist on/off.

    Wiring diagram: https://www.buildyourcnc.com/Documents/Electric%20Wiring%20Diagram.pdf

    Mach3 USB Breakout Board for CNC Routers: https://buildyourcnc.com/item/electronicsAndMotors-electronic-component-breakout-Mach3-USB-Board

    Click the link to add information to this solution:
    How can I to connect a signal to turn on a mist in a USB board? Thank you

  • I HAVE THE REDFLY SYSTEM AND A 2.2KW SPINDLE - 110V HOW DO CONNECT SPINDAL?

    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 add information to this solution:
    I HAVE THE REDFLY SYSTEM AND A 2.2KW SPINDLE - 110V HOW DO CONNECT SPINDAL?

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.