584,802 active members*
5,071 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > Spindles / VFD > CNC - Speed control doesnt work
Results 1 to 11 of 11
  1. #1

    CNC - Speed control doesnt work

    Hey fellow engineers,

    So I build my first CNC and besides some minor issues everything worked great so far.
    The only thing left to do is to get the Spindle running via the Mach3 software, it already took me 2 weeks of troubleshooting and a lot brain cells I probably wont get back.
    I connected it like this guy right here with a PWM module - didn't work.
    In the meantime i connected it in every way i could find online but i dont remeber them,
    Right now i connected it like this https://buildyourcnc.com/FAQ/14137 - still doesnt work.

    P00.01 is set to 1 (Start / stop command source - From external end control Electric machinery,operation panel STOP key effective)
    P07.08 is set to 3 (Frequency source selection 1 - Motor speed control by external terminal)
    Mach 3 USB Controller : (https://www.buildyourcnc.com/item/el...ach3-USB-Board)
    VFD : YL620 2,2kw
    I also attached my Mach 3 Settings and a picture of my first router for anyone thats interested.

    I hope someone on here could help me, I'm really struggling right now to get my CNC finished.

  2. #2

    Re: CNC - Speed control doesnt work

    Nobody ?

  3. #3
    Join Date
    Jan 2005
    Posts
    15362

    Re: CNC - Speed control doesnt work

    Quote Originally Posted by Manuel_CNC View Post
    Nobody ?
    There is not many that could help with this, these Breakout Boards are hit and miss, along with a VFD Drive that is not that great also, and you have a lot of different things to get right.

    PWM in Mach3 will want to be 100

    Disconnect from the Breakout Board

    Are you using a Relay for the On / Off control?

    First get the PWM to analog 0-10v working at the Board

    To test this in MDI Mode M3S12000 this should give you around 5v at the AVI and AC
    Mactec54

  4. #4
    Join Date
    Jan 2018
    Posts
    1516

    Re: CNC - Speed control doesnt work

    Do you have 12-24v supply attached to the board?.

    May help a little?:
    https://drufelcnc.com/doc/DrufelCNC_BSMCE04U_manual.pdf

  5. #5

    Re: CNC - Speed control doesnt work

    Quote Originally Posted by mactec54 View Post
    There is not many that could help with this, these Breakout Boards are hit and miss, along with a VFD Drive that is not that great also, and you have a lot of different things to get right.

    PWM in Mach3 will want to be 100

    Disconnect from the Breakout Board

    Are you using a Relay for the On / Off control?

    First get the PWM to analog 0-10v working at the Board

    To test this in MDI Mode M3S12000 this should give you around 5v at the AVI and AC

    Hey, thanks for the answer, yeah i read that alot after i bought this board.
    No i dont use a relay.
    I will try this tomorrow when im at my workshop and keep you guys updated !

    Quote Originally Posted by dazp1976 View Post
    Do you have 12-24v supply attached to the board?.

    May help a little?:
    https://drufelcnc.com/doc/DrufelCNC_BSMCE04U_manual.pdf
    Yeah i got a 24V that also poweres my sensors + estop.
    I actually tried wiring it this way jumping the fwd and rws connections on the VFD but i dont know if it didnt work because of my Mach3 setting, the VFD setting or the wiring.

    Thank you !

  6. #6
    Quote Originally Posted by mactec54 View Post
    There is not many that could help with this, these Breakout Boards are hit and miss, along with a VFD Drive that is not that great also, and you have a lot of different things to get right.

    PWM in Mach3 will want to be 100

    Disconnect from the Breakout Board

    Are you using a Relay for the On / Off control?

    First get the PWM to analog 0-10v working at the Board

    To test this in MDI Mode M3S12000 this should give you around 5v at the AVI and AC
    Hey, so today i checked my on my wiring and i changed it a little, i think it works like this.
    I got the 5V that you mentioned while measuring, also the frequence on the VFD display changes when i change the rpm in the software, its not a steady number at lower - medium rpm but at max. rpm the frequence displays steady 400 hz.
    But the spindle still wont start, so maybe the start pins are still wrong or, what i think is the problem, my mach3 ports and pins are set wrong.
    Attached Thumbnails Attached Thumbnails B6AE7BF4-CABB-40B2-896B-FE0E19D0CE07.jpg  

  7. #7
    Join Date
    Jan 2005
    Posts
    15362

    Re: CNC - Speed control doesnt work

    Quote Originally Posted by Manuel_CNC View Post
    Hey, so today i checked my on my wiring and i changed it a little, i think it works like this.
    I got the 5V that you mentioned while measuring, also the frequence on the VFD display changes when i change the rpm in the software, its not a steady number at lower - medium rpm but at max. rpm the frequence displays steady 400 hz.
    But the spindle still wont start, so maybe the start pins are still wrong or, what i think is the problem, my mach3 ports and pins are set wrong.
    You need to use a relay between the FWD and COM this should have no voltage on this connection it is just a switch connected to FWD and COM

    Do a test with a jumper between FWD and Com if it does not start, when you make a speed command, M3S6000, then you have some Parameters to change in the VFD Drive P00.01=1 is one of them that needs to be set.
    Mactec54

  8. #8
    Join Date
    Feb 2022
    Posts
    3

    Re: CNC - Speed control doesnt work

    Many interesting things are in your articles and videos. I will apply it to my tiny fishing

  9. #9
    Join Date
    Aug 2022
    Posts
    5

    Re: CNC - Speed control doesnt work

    Is there a 12-24 volt power supply connected to the board? happy wheels

  10. #10

    Re: CNC - Speed control doesnt work

    Hi! any updates to this?

    I can confirm that it is necessary to have a relay that links FWD to the XGND pin on the VFD. I got my spindle to spin and be controllable like that. The only issue now is that the max voltage I get out of the board is ~7.6V instead of the 10V that should be coming out... Has anybody run into this issue? I have setup the spindle pulleys etc. like generally described. This 7.6V results in a max frequency of ~3000Hz on the VDF instead of the maximum 4000Hz.

    Any ideas on how to solve this?

    Thanks in advance!

  11. #11
    Join Date
    Mar 2017
    Posts
    4

    Re: CNC - Speed control doesnt work

    Hello, I read somebody saying that the resistors on the board have the wrong value (those used to create the 0-10V).
    My board gives 10V when Spindle stopped and 0V when Spindle at full speed... it is supposed to be the opposite...
    I run LinuxCNC but the settings are pretty the same as Mach3...
    Any idea?
    When your Spindle is a 0 rpm, is the output at 0V or 10V ?
    Thanks

Similar Threads

  1. cnc plasma control XPTHC-4 torch doesnt move
    By shakibdriss in forum CNC Plasma / Oxy Fuel Cutting Machines
    Replies: 0
    Last Post: 05-23-2017, 07:42 PM
  2. tk to axis doesnt work
    By Lomach in forum LinuxCNC (formerly EMC2)
    Replies: 5
    Last Post: 10-24-2012, 08:58 PM
  3. my L297 L6203 doesnt work ?? :(
    By lalaabdallah in forum Stepper Motors / Drives
    Replies: 0
    Last Post: 01-01-2012, 01:53 AM
  4. PC software doesnt' work...
    By Alufräser in forum HEIDENHAIN -> iTNC530 PC-SOFTWARE
    Replies: 3
    Last Post: 09-22-2011, 04:12 PM
  5. TurboCad 9 Doesnt Work on Vista
    By Mr.Chips in forum Uncategorised CAD Discussion
    Replies: 0
    Last Post: 09-07-2008, 06:15 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •