[ Log In ]
[ Register ]

Question #: 14565

Question: Can you control the VFD from mach3?

Current Solution

Yes, you can control the VFD using the a relay.  You will need to connect the relay output (NO) to the forward terminal of the VFD and the gnd terminal.  You will need to look at the diagram for your VFD to determine which gnd to use in the set of terminals that is associated with the forward terminal.  The forward terminal may be called something else, but the manual will tell you (something like X1, or D1, etc.)

You will also need to change a parameter in the VFD to use the external terminals as opposed to the control from the control panel.

Respond:

Other Possible Solutions to this Question

  • [575] Can it make the spidle control PWM to a VFD witch 5 V input

    In theory, utilizing a 5V reference in the 10V terminal of the Mach3 USB controller should yield functional results, although I haven't personally tested this configuration. If you possess an oscilloscope, you can monitor the PWM signal to verify whether the AVI output achieves a peak 5V PWM square wave.

    Click the link to add information to this solution:
    [575] Can it make the spidle control PWM to a VFD witch 5 V input

  • CAN I USE A MAC TO CONTROL THE CNC?

    There are several CAD/CAM programs out there for MacOS. Here is a list of a few: http://www.macuser.de/forum/f53/3d-2d-cad-395058/#post4499316
    I've also read good things about punchCAD: http://www.punchcad.com/
    Of course, there is always SketchUp if you are in a pinch. There are a few CAM plugins for SketchUp as well, but I've never used them, so I can't vouch for them.

    CAD/CAM will get you as far as designing your parts and producing the g-code, but if you also want to run the CNC machine with your Mac, you will need a piece of software similar to Mach3 or EMC to run the g-code. I haven't been able to find anything like these programs that runs on Mac, so you may have to run Mach3 or EMC in Windows using Boot Camp or a virtual machine such as VMware or Parallels.

    Personally, I would use the Mac to do all the CAD/CAM, then use a cheap PC to run the CNC machine.

    Additional Information:


    Additional Information:
    EasyDNC for OSX
    www.dnc-x.com

    Additional Information:


    Additional Information:
    Hi guys I’m new to the cnc and I’m beginning to learn how to operate and cad-cam software also my cnc runs on Mach3 my questions is if I should use MacBook to do all designs if I can have all this software to run on Mac or I have to use windows software to operate it? I have separate small computer connected to the cnc table who have Mach3 on it please help. Also if you know any other software much easy for beginners please let me know thank you guys!
    My email if needed is r1jastrzebski@gmail.com

    Additional Information:


    Additional Information:
    Hi , thank you for your advise!

    Additional Information:
    Hi , thank you for your advise!

    Additional Information:
    Hi , thank you for your advise!

    Additional Information:
    Hi , thank you for your advise!

    Additional Information:

    Click the link to add information to this solution:
    CAN I USE A MAC TO CONTROL THE CNC?

  • I HAVE YOUR MACH3 USB BOB, DO YOU GUYS SELL A TORCH CONTROL RELAY CAN WIRE UP TO TURN MY PLASMA ON AND OFF HOW WOULD WIFE THAT TOO THIS BOB?

    We do have a relay board that words like a standard relay.

    Here is the URL of the relay board that we offer:

    https://www.buildyourcnc.com/item/electronicsAndMotors-breakout-Relays-relay-board-250V-12A-5V

    Click the link to add information to this solution:
    I HAVE YOUR MACH3 USB BOB, DO YOU GUYS SELL A TORCH CONTROL RELAY CAN WIRE UP TO TURN MY PLASMA ON AND OFF HOW WOULD WIFE THAT TOO THIS BOB?

  • How can I control my VFD using Mach4 cnc control software?

    The best way to determine how to control your VFD using Mach4 is to read the MAch4 manual found here:
    http://www.machsupport.com/wp-content/uploads/2014/05/Mach4%20Installation%20Manual.pdf

    You will find that there a a few ways to control the spindle/VFD on your CNC machine or CNC Router.
    - The first and easiest is to have your VFD's power controlled by a relay. This will allow your spindle to have on/off control through Mach4 with an output pin.
    - The second is to have a controller output a DAC voltage between 0-10 volts to control speed on the VFD/Spindle. There is a termial on the VFD to receive this signal line. The controller will also have an output that outputs a high or low and that can control the on/off on the VFD.
    - The third, and more difficult of the three methods is to use a USB to Serial adapter (USB to USART or RS-485). The Computer plugs into the adapter using a USB cable and the adapter uses the RX/TX to connect to the VFD's terminals for communication. This will provide a great amount of control. Mach4 will need a plug-in to make this option work.

    Click the link to add information to this solution:
    How can I control my VFD using Mach4 cnc control software?

  • HOW TO CONTROL MY 2.2 KW SPINDLE VIA MACH3

    You can go to our instructions on for the breakout board here: http://www.buildyourcnc.com/item/electronicsAndMotors-parallel-breakout-relay to get the information on turning the spindle on and off from the computer and mach3. Alternatively, you can connect the computer using RS485 serial to the inverter and send control commands that way.

    Additional Information:
    HOW TO CONTROL MY 2.2 KW SPINDLE VIA MACH3 usb

    Additional Information:


    Additional Information:


    Additional Information:
    How should I wire the Mach3 card (red, 4 axis) and the vfd (Yl620-a)?

    Additional Information:



    Additional Information:



    Additional Information:

    Click the link to add information to this solution:
    HOW TO CONTROL MY 2.2 KW SPINDLE VIA MACH3

  • MACH3 CONTROL SPINDLE

    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:
    MACH3 CONTROL SPINDLE

  • DO YOU SUPPLY THE MALE PORTION OF MOTOR CONTROL CABLES WITH REDLEAF?

    Yes and properly soldered.

    Additional Information:
    20

    Click the link to add information to this solution:
    DO YOU SUPPLY THE MALE PORTION OF MOTOR CONTROL CABLES WITH REDLEAF?

  • HOW COMPLEX IS YOUR KIT TO ASSEMBLE, AND MOST IMPORTANTLY - HARD IT SETUP CONTROL THE LASER WITH MACH3?

    The blackTooth Laser cutter and Engraver can be built in a weekend. Take a look at the build instructions and try to determine if you feel you have sufficient capability to put together the laser system.

    Click the link to add information to this solution:
    HOW COMPLEX IS YOUR KIT TO ASSEMBLE, AND MOST IMPORTANTLY - HARD IT SETUP CONTROL THE LASER WITH MACH3?

  • I have a Glack CNC motor and VFD and confused if a ground from the Pokeys57 needs to be ran to the VFD to turn on and off the motor and to also control the speed. I can provide a picture

    No, ground from the pokeys57cnc controller should not be required. Your VFD should have two terminals that will turn on and off the spindle (forward, or stop). These two terminals simply need to be connected to each other to invoke that operation. In the VFD manual, you will see a schematic with a normally open switch symbol between these two terminals. The onboard relay on the pokeys57CNC would be a great feature of the board to connect to the two terminals of the VFD.

    Click the link to add information to this solution:
    I have a Glack CNC motor and VFD and confused if a ground from the Pokeys57 needs to be ran to the VFD to turn on and off the motor and to also control the speed. I can provide a picture

  • IS THE MACH3 SOFTWARE COMPATIBLE WITH 3 AXIS MOTION CONTROL COMBO KITS? PLANET CNC MENTIONED AS BEING COMPATIBLE.

    Mach 3 is compatible with our electronic combo's that include the Parallel Breakout Board.
    Planet-CNC is compatible with our electronic combo's that included our USB Breakout Board.

    The parallel breakout board is compatible to a wide variety of software control packages. The USB interface board that we sell can only be used with the Planet-cnc control software.

    If you are concerned with your computer (desktop) not having a parallel port, one can be purchased and inserted into a PCI slot on the motherboard. Some motherboard also come with a parallel port header (connector) on the motherboard and a simple cable can be connected to this connector to get that functionality on the computer. The former solution of getting a parallel port adapter card to plug into the motherboard is probable the easiest and least expensive option.

    Additional Information:


    Additional Information:
    Is the mach 3 software compatible with kollmorgen s200 servo motors and controllers?

    Click the link to add information to this solution:
    IS THE MACH3 SOFTWARE COMPATIBLE WITH 3 AXIS MOTION CONTROL COMBO KITS? PLANET CNC MENTIONED AS BEING COMPATIBLE.

  • HOW MANY AXES CAN MACH 3 CONTROL?

    Mach 3 CNC software can do the following:

    Converts a standard PC to a fully featured, 6-axis CNC controller
    Allows direct import of DXF, BMP, JPG, and HPGL files through LazyCam
    Visual Gcode display
    Generates Gcode via LazyCam or Wizards
    Fully customizable interface
    Customizable M-Codes and Macros using VBscript

    SET:

    Spindle Speed control
    Multiple relay control
    Manual pulse generation
    Video display of machine
    Touch screen ability
    Full screen eligibility

    EQUIPMENT:

    Lathes
    Mills
    Routers
    Lasers
    Plasma
    Engravers
    Gear cutting

    Additional Information:
    how to wire relay with mach board. I have mach interface board with one relay

    Click the link to add information to this solution:
    HOW MANY AXES CAN MACH 3 CONTROL?

  • Can you provide setting for the VFD setting for 110v US, 1.5kw 220v spindle?

    The configuration settings for our VFD's are these: VFD Setup:
    Change PD001 to '0' (source of run commands)
    Change PD003 to 300 (main frequency - Hz)
    Change PD004 to 300 (base frequency - Hz)
    Change PD005 to 400 (max operating frequency - Hz)
    Change PD006 to 2.5 (intermediate frequency - Hz)
    Change PD008 to 220 (max voltage - V)
    Change PD009 to 15 (intermediate voltage - V)
    Change PD010 to 8 (minimum voltage - V)
    Change PD011 to 100 (frequency lower limit - Hz)
    Change PD142 to 7 (rated motor current - Amps)
    Change PD143 to 2 (motor pole number)
    Change PD144 to 3000 (rated motor revolution)
    For further info please refer to (https://www.buildyourcnc.com/item/spindle-inverter-2!2kw-spindle-novfd#prettyPhoto) for wiring and other specifications.

    Click the link to add information to this solution:
    Can you provide setting for the VFD setting for 110v US, 1.5kw 220v spindle?

  • Is there a way to use Mach4 to control my VFD?

    The best way to determine how to control your VFD using Mach4 is to read the MAch4 manual found here:
    http://www.machsupport.com/wp-content/uploads/2014/05/Mach4%20Installation%20Manual.pdf

    You will find that there a a few ways to control the spindle/VFD on your CNC machine or CNC Router.
    - The first and easiest is to have your VFD's power controlled by a relay. This will allow your spindle to have on/off control through Mach4 with an output pin.
    - The second is to have a controller output a DAC voltage between 0-10 volts to control speed on the VFD/Spindle. There is a termial on the VFD to receive this signal line. The controller will also have an output that outputs a high or low and that can control the on/off on the VFD.
    - The third, and more difficult of the three methods is to use a USB to Serial adapter (USB to USART or RS-485). The Computer plugs into the adapter using a USB cable and the adapter uses the RX/TX to connect to the VFD's terminals for communication. This will provide a great amount of control. Mach4 will need a plug-in to make this option work.

    Click the link to add information to this solution:
    Is there a way to use Mach4 to control my VFD?

  • WHAT IS THE SYSTEM PASSWORD FOR LASER CONTROL UNIT?

    The password is: 608

    Click the link to add information to this solution:
    WHAT IS THE SYSTEM PASSWORD FOR LASER CONTROL UNIT?

  • Can you provide configuration setting for the 110v Huangyang VFD and 1.5 kw spindle?

    The configuration settings for our VFD's are these: VFD Setup:
    Change PD001 to '0' (source of run commands)
    Change PD003 to 300 (main frequency - Hz)
    Change PD004 to 300 (base frequency - Hz)
    Change PD005 to 400 (max operating frequency - Hz)
    Change PD006 to 2.5 (intermediate frequency - Hz)
    Change PD008 to 220 (max voltage - V)
    Change PD009 to 15 (intermediate voltage - V)
    Change PD010 to 8 (minimum voltage - V)
    Change PD011 to 100 (frequency lower limit - Hz)
    Change PD142 to 7 (rated motor current - Amps)
    Change PD143 to 2 (motor pole number)
    Change PD144 to 3000 (rated motor revolution)
    For further info please refer to (https://www.buildyourcnc.com/item/spindle-inverter-2!2kw-spindle-novfd#prettyPhoto) for wiring and other specifications.

    Click the link to add information to this solution:
    Can you provide configuration setting for the 110v Huangyang VFD and 1.5 kw spindle?

  • CAN THERE BE CLOSED LOOP CONTROL WITH STEPPING MOTORS?

    I haven't delved into using encoders with stepping motors too much. From my research, you need to have a controller that can provide the closed loop control, rather than software handling that process. I have also found from my research that using encoders on stepping motors is generally used to stop the machine in the case that the motor failed to achieve the commanded position for some reason and gives the user the chance to correct and continue with the job.

    If you want proper closed loop control, it may be best to go with servos and servo controller that provide the closed loop control within the real of those two components.

    Click the link to add information to this solution:
    CAN THERE BE CLOSED LOOP CONTROL WITH STEPPING MOTORS?

  • HOW DO YOU HOOK UP THE VFD TO SPINDLE?

    U - Pin1
    V - Pin2
    W - Pin3
    Pin4 Dead

    Additional Information:
    My home made cnc is a big problem with my NC connection. When in start my spindle it will be gone wrong. It will be limith switch problem anytime. Need help thanks.

    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:



    Additional Information:

    Click the link to add information to this solution:
    HOW DO YOU HOOK UP THE VFD TO SPINDLE?

  • HOW DO YOU SETUP THE SPINDLE INVERTER VFD?

    Change PD001 Source of Run Commands to '1'
    Change PD005 Max operating frequency to 400hz
    Change PD004 base frequency to 400hz
    Change PD003 Main frequency to 400hz
    Change PD006 Intermediate frequency to 2.5
    Change PD008 max voltage to 220v
    Change PD009 Intermediate voltage to 15v
    Change PD010 Min voltage to 8
    Change PD011 frequency lower limit to >100hz (120hz to start)
    Change PD142 7 Amps
    Change PD143 2
    Change PD144 3000

    Note: PD001 had to be changed back to 0 to allow for keypad control.
    Note2: I had to reverse U and V to get the spindle to go forward in FWD. (reverse any two wires, u&v or w&v for example)

    Additional Information:

    Click the link to add information to this solution:
    HOW DO YOU SETUP THE SPINDLE INVERTER VFD?

  • It is possible to control externally the 1.5kW Inverter (VFD) (220 Volt) with PWM so i can control the spindle rotation? Do you have the documentation? Thank you

    Our spindle VFD's, have a multitude of different connectors that can be used for different operations. There is a manual that comes with each VFD, and you can refer to page 11 for different functions and descriptions.

    We currently have a PWM, working with our machine, however it is connected via USB, and setup through Mach 3.
    Also if you may have misplaced or lost the manual here is a link to the pdf:

    (https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CCAQFjAAahUKEwibxaaIndTHAhXQlogKHZVyDFE&url=http%3A%2F%2Fwww.c-n-c.cz%2Fdownload%2Ffile.php%3Fid%3D42252&ei=_cHkVdvSC9CtogSV5bGIBQ&usg=AFQjCNHTQcxs-KhJkvkhMdxVFPzkoYJtsA&sig2=JAcZawTGMuC-t4wmn1z-rA)

    Click the link to add information to this solution:
    It is possible to control externally the 1.5kW Inverter (VFD) (220 Volt) with PWM so i can control the spindle rotation? Do you have the documentation? Thank you

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.