Hi Guy My name is Sebastien and i'm the developer, who, 8 years ago, decided to write his own vfd plugin because others one was simply nightmare. I then decided to offer it to the community, thninking that one or two guys may be use it. Today, seeing this video, i'm very happy to see that it has helped more than 2 or 3 guys. I spent hours developping this plugin, but it was usefull. 8 years later, seeing your video,reading comments, I realize how useful it was and i feel proud, so thank you to use this plugin and to promote it...earnt no money but gave me feeling to have been useful to the community.
Thanks for your efforts Sebastien we all appreciate it. I've been running the plugin successfully on my Bridgeport Series 1 CNC. There's only one problem with the plugin, the pulley reverse checkbox is ignored. I've tried a lot of different things in an effort to fix it. On my BP this is a problem when using the low gear which causes the spindle to turn backwards. I get around this problem by manually flipflopping M3 and M4 gcodes but it would be nice to fix. I would love to fix it if the source could be made available as I am an old C++ developer.
Hi Sebastian, I'm sorry I missed this comment form 3 months ago. Thank you for writing the plugin and sharing it with the community. You did an excellent job of it and thanks to your excellent writeup it was easy to install and get going. Many thanks Cheers Peter.
Thank you sir for your hard work, I installed the plugin and it works like a dream. I sent you a donation, BTW. I appreciate people like you who will freely give out their work the way that you do!
Hi Sebastien, thanks for the great plugin, it makes using the RS485 comms a dream, do you have any intention to release the source code? I would love to possibly help make some improvements to it.
Just wanted to thank you for this video. It did not relate to my vfd or controller, but it did put me on track for what I had been trying to do unsuccessfully for 4 year. Thanks!! Walt
Hi there, Amazing to hear another New Zealand voice speak so eloquently and informatively. Awesome presentation, I don't know how this is the first time finding your channel. Please keep up the good work, good thoughts to you for helping so many.
Thank you Peter, IT WORKS!!!!!. I had issues with entering the parameters to make it work before I realized a couple of sleepless night later that you have to set parameter PD00=0 BEFORE the session and PD000=1 AFTER the session. Maybe my mistake will help someone, I mist it completely when watching your video (147) and it hit me when I watched again for the xx time. By the way, I am a French Canadian. Most of us are bilingual. So should anyone need a translation to French I would be happy to help. Merci beaucoup.
Hello Peter ... this was a very useful video ... thanks. I wanted to add my experience (today) in a quick comment: I used this 485 interface: DSD TECH SH-U10 USB to RS485 Converter with CP2102 Chip Compatible with Windows 7,8,10,Linux,Mac OS, which I purchased from Amazon. It was a little more expensive ($15), but touted better protected inputs (I'm only buying one in my lifetime, so a few $$'s more wasn't too big of a concern.). It came with a mini-DVD with drivers, which installed on my Windows 7 system with no hitches. One small issue that I ran into and I saw and noticed postings from others : "Corrupted plugin ... ignoring". I'm running a 64-bit version of Windows, so I loaded the 64-bit version of the C++ Library initially. After gleaning hints from related posts and guessing, I loaded the 32-bit version of the C++ Library, and the issue went away. Thanks again, very useful video and it's so cool to have the spindle come to life under control of Mach 3. Cheers, Dan
More great info, Peter, keep 'em coming, this is exactly what we newbies need.I now have full control of my spindle in Mach3. Well almost. Just need to figure out how to start the water pump with the spindle and I'm set.CheersDave
+olgreybeard Just setup a relay as I did in the previous video and use it to turn on and off the pump. You can use the relay and RS485 together. Cheers Peter
Who'll done Peter pleased you got it to work with few problems. Noise can be an issue when using unshielded twisted pair shouldn't be but it sometimes is.
The noise rejection properties of RS485 should protect it but it can't hurt to have the shielded cable and be sure. USB is more of a concern to me to be honest.
Hi there, I am having a hard time finding that "visual C" file shown in 2:02 of your video, do you have that in your shared drop box? Mach 3 says the VFD plugin is "defective" without it. I feel so frustrated as I have spent a week trying to get the spindle to spin accurately. And what did the microsoft program do anyway? That part seems unclear and my hurdle to success
This guy helped me a lot: ua-cam.com/video/ehlgOhsmGAI/v-deo.html it was using the microsoft C++ 2015 version that needed to be 84 bit instead of 64 I guess... I want the answer in the comments for the next person that has this problem.
another great video Peter, I hope to change out my Router for a spindle soon, I hope that a 1.5kw 110V will be strong enough because i do not have 220V available where the CNC is.
1.5kw is 2 HP and far more powerful that my original router at 1hp. The only reason I want bigger was to get the bigger collet and it will be interesting to see if I ever use anything bigger than 1/4" shank. I was originally looking at 1.5kw with Er16 collets which go up to 10mm (3/8")
Peter: can you share what driver you used for your RS483 adapter. I tried the prolific driver and it doesn’t seem to be working. Thank you for all you do for our community.
I don't have it I'm afraid. I just let windows install the prolific one. The one I used in the video was not a prolific chipset. The driver for that one is on my website. Follow the link under the video to my website and follow the link on the page to the driver file I used. Cheers Peter
Hi Peter, thanks for the video, I have this issue: once started (setting an S speed as you do) I cannot decrease the spindle speed clicking on the "minus" button, it works only in the + direction (increasing speed), I had to use reset button to come down to original speed, do you have any suggestions? thanks, all my best UPDATE in the meantime I found the problem: I use a 6-axis Mach3 screenset, and in the main tab the - spindle speed has a wrong command (it does not decrease the 100%speed), while in the MDI tab the decreasing speed works as in your video, hope this helps other people...
Is there by chance a poll command over RS-485 to retrieve or read all custom settings inside the VFD via an ASCII/Hyperterminal terminal? Additionally, can the relay output on the VFD be setup to activate an external relay that starts a water cooling pump every time the VFD is turned on and turns off that relay pump when the RFD is off? Thanks for a great tutorial.
Hi Peter. Nice video. There are many models of the VFD out there. Can you tell me the Programming Register descriptions so we can find it for our models?
Hi Eric I'm sure I but a brief description of the registers with the document I put on my website but if you download the manual also on my website you can get the full description of the registers. Follow the link under the video to find the writeup. Cheers Peter
The plugin only works with only some Haunyang VFD models. This is because they use a non standard RS485 protocol. You will need to find the right plugin for your VFD. Cheers Peter
Yes Mach 3 can turn a VFD on and off as well as set the direction backward and forward. That is the whole purpose of the RS485 install used in this video and the analogue control shown in videos 142, 145 and 146. Cheers Peter
I bought the adapter off Ebay and have provided a search link to suppliers in my website as well as links to the drivers. Any of the Ebay sellers selling adapters that look like mine that say they have a CH340 USB driver will be the same as mine. Cheers Peter
I'm sorry but I am unable to assist. You first need a write a driver for your drive. The reason I purchased the drive I did is because it is common and people had written the necessary files to make it work. That is well beyond my ability. Cheers Peter
I'm sorry but I am unable to assist. You first need a write a driver for your drive. The reason I purchased the drive I did is because it is common and people had written the necessary files to make it work. That is well beyond my ability. Cheers Peter
I have tried 3 vfd plugins and each one gives me a defective plugin found error message upon mach3 startup? Plugins are pasted to the plugin folder as your video suggests. Any ideas?
With the RS485 adapter, hitting the emergency switch will it turn off the spindel? I have mine on order, but have received my spindle and VFD today. Will install all when the adapter arrives. Thanks again for the very helpful videos you do.
Hello !!! Can it be controlled by PWM for a laser? I have an NVEM board that I cannot force to properly control PWM The laser fires up to the set power 4-5 seconds when it should already cut Thank you and best regards
Thank you for your answer Unfortunately, my computer does not have a parallel port (Dell Optiplex160) and there is no room for additional electronics in my box Yesterday, I found somewhere info that there is a modbus-controlled PWM generator Thank you and best regards
Hello Peter. Thank you for the great video and explication. I have set up everything as mentioned and it works. However, if I cycle start a program, it does the following... 1. Doesn't start the spindel 2. If I turn on the spindle, set the rpm (for instance up to 24,000) then start the program, it will reset the speed of the spindle to defult of 6000, and I can't increase the speed as the program is running. Any thoughts?
Have a look at this video I did to help someone sort out their VFD problem. It will allow you to test the VFD independently of Mach3. It should help isolate the problem a little so if it works OK with spindle talker then you have a Mach3 issue. Check out the link below the video to download the tester. It will only take minutes to setup. Let me know how you get on. Cheers Peter ua-cam.com/video/Qq1Px4Abkbo/v-deo.html
Hi, Peter. Hopefully, you are still monitoring this video. I am looking for a solution for a slightly different implementation and I am far from an electrical wizard. I am running a regular router on my CNC for now. My little controller board ( Novusun NVUM V2) does not output enough voltage to activate the power relay (IOT Switching Relay Power Strip) I had been using. Is the RS485 solely a communication port or could I hope for a 5-12 volt output from it? Hopefully, this is not a dumb question, like I said I am far from an electrical wizard.
Hello, just downloaded the plug-in but I cant use it. Mach3 at start up says "vfdPlugin.dll - Defective plugin found...ignoreing.." it's the version 1.7.1. Can you help me? :/
I have no idea what could be wrong. Did you install the Microsoft VC++ 2008 file? Did you try downloading again and reinstalling the plugin? Maybe reinstall Mach3 after backing up your files. Cheers Peter
Hello Pete, Thanks for the video!! I followed the video and I can adjust the speed and turn the spindle off and on now. My question for you and I might have missed it somewhere in your video is when you hit your physical E-stop or the E-stop in Mach 3, does it stop your spindle? I am using the Gecko-G540, the Warp 9 ESS Smoothstepper, and the same spindle and VFD that you are using. My spindle does not stop with the E-stop, and I would very much like it to:)) Thanks in advance for any help you can offer.
Hi John You haven't assigned pin 15 from the G540 to the estop on Mach3 pins and ports. It wasn't mentioned in the video and is normally done as part of the G540 install. Cheers Peter
If the sun far is capable of RS485 then if you write or can find a suitable plugin then it should work. You cannot use the plugin that I show in the video as it is for Haunyang VFD only which uses its own version of RS485 commands Cheers Peter
Peter,I have used these on three routers with the HY VFD and they work perfect. Your files I downloaded work just as needed.Can you tell me if you have any information on using this with Mach and the Nowforever VFD? I have two of these routers (6040Z) from China and the have these VFD controllers. The setup and terminals allow for +485 and -485 wire hookup. I just don't have a plugin for it. Do you have any clue where to get one. Thanks for any help you can give me. Marty
No Problem Don, I don't blame you for getting confused. I Disable "disable spindle relays". Nothing makes seting things up easier than using double negatives in your settings. Thank you Mach3 for making things crystal clear. Cheers Peter
Good video Peter, It is quite timely for me since originally I opted for PWM through my CNC4PC C62 BOB and ignored RS485 that was in the back of my mind and cosequently have issues with unwarranted eStops which is more than likely from noise. In the video you set max spindle rpm for 2400, is this correct?
Hi Frank. I did say 2400 but wrote 24000. It most definately is 24000. I swear blind I had fixed that with a big red writing to say 24000 but it looks like I didn't. So now I'm just swearing full stop. Cheers Peter
Hi Peter, great video!!! I noticed that when you set up the spindle in Mach 3 you used 0 - 24000. However the VFD settings were 6000-24000. I am guess this why you could not go below 6000 RPM in the demo portion of the video. Is there a reason for not setting both up from 0-24000 or 6000-24000?
+jnbff10 If you put 6000 - 24000 in Mach3 the output PWM will be wrong and the spindle will not run at the right speed. If I put 0 - 24000 then the spindle would run from 0 - 24000 which is OK for a water cooled spindle but mine is air cooled so I have to set a minimum speed. Hope this sense.
Hi Peter, Got the RS485 CP2102 today and was able to set up with no issues. I got the driver from here: www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers One think I did notice is that my max speed was 23000 @400hz. No worries as I doubt I would run at 24000 but any thoughts on why it was 23000 instead of 24000? Thanks again. This video is great for anyone trying to get this working. Took under 30 minutes to wire, config, and test. Jim
+jnbff10 That's great new Jim. The only thing I can think of is you might have accidentally set the maximum spindle speed to 23000 in the VFD by mistake. Other than that I can't think why. You are of course right. You shouldn't be using 24000 anyway. Cheers Peter
FYI.. I think you set MAX speed to 24,000 not 2,400 as you described verbally (i know my lathe maxes out near 2400, but you probably meant 24,000 based on later video footage)
HELLO PETER, You make it look very easy. I have installed the rs485 and tried various drivers and I keep getting message that it cannot communicate. In the device manager, I see the 2.0 usb but there is no com port. I have tried to reverse the two wires on the vfd but same happens. I set the vfd to all the settings in your video. I have been looking over the internet for the last 3 days trying to figure this out. I have ran the spindle first with the vfd and the spindle ran fine. Is there a check to see if the RS485 is bad? I hoping it is something simple that I may have overlooked. Any help would be greatly appreciated.
Hi Ron, The only reason it looked easy is because it was. I was lucky and didn't get any issue when installing the driver for the RS485 adapter. forget the VFD at this point and concentrate on getting the RS485 usb adapter showing up in windows. If you are not seeing a new adapter as a USB serial com port in Device manager nothing else will work. Lookaround for any big yellow question marks labeled unknown device in device manager. That might be the adapter and the driver might not have installed correctly. You can see one in my video but mine is another piece of hardware I don't have a driver for. If you delete the unknown devide and plug back in the adapter it should reinstall the RS458 driver and hopefully it will work. Until you can get it showing in windows don't worry about anything else. you don't even need to wire it up. Here is where I check mine ua-cam.com/video/N7D5n5y7f50/v-deo.htmlm26s If you think you have a faulty device you could try installing it on another pc and see it it is recognised. Hope this helps Cheers Peter
So, info for anyone else having issues, the error I got was "VFDPlugin.dll - Defective Plugin found...ignoring" To fix this make sure you have downloaded the windows visual C++ program from here www.microsoft.com/fr-fr/download/details.aspx?id=5582 Thanks again peter for all your info and great vids.
Hi Peter, following it line by line but Mach 3 cannot see the VFD plugin for some reason, copied it into the folder ok, it sees the ess plugin so thats ok, any thoughts? cheers
I have no idea. The only thought I have is you haven't installed the required VC++ 2008 files that are needed. Also check that the dll file is present or is it an m3p file. Cheers Peter
thanks peter, but i really am the donkey. I watched this some time ago and thought i could remember it, as it happens i missed the bit @7.15, so all happy and it works great, thanks for this.
Hello every one I am having trouble with the plugin for this usb both my systems say the plugin is defective and it is Ignored both on Windows 7 and windows XP systems
Not sure what you are asking Ferdie. If you watch this video I go through all the required Mach3 settings to make it work. ua-cam.com/video/N7D5n5y7f50/v-deo.html Cheers Peter
It depends on the type of spindle you have. If your spindle is like a stepper motor using step and direction then you need to setup the spindle in motor tuning. If you have a spindle like mine that uses a VFD then just ignore it. I haven't seen or heard of a spindle that uses this method of control so it is unlikely that you will need it. Cheers Peter Cheers Peter
If you go back a few videos you will see the settings I used in Mach3. They build on one another so the settings in this video are the changes to Mach3 from the previous video etc. You may have already seen them. Cheers Peter
Hi Peter, I'm having a bit of problem when booting up Mach3 since I installed the Rs485 pendent. I have to go into Device manager and update the Com Port to get it working. I also tried changing the port's address number (from 3 to 9). to get it working for that period. Thank you. Any advice will be thankful. Webman_tt.
+Alvin Smith I have no idea what could be wrong With your setup. If you are running XP did you install Microsoft Visual C? That is the only thing I can think of. Cheers Peter
Peter. I'm a dedicated watcher as of late. I have mach3 with Warp9 ESS controller. Will this work with the pre-mentioned combination? Thx for your excellent videos. You don't talk above or below anyone's intelligence.
It will works with any motion control hardware or parallel port system because it doesn't use them. Only the RS485 adapter and the spindle are needed with Mach3 to make it work. Cheers Peter
+John Ware Under no circumstances connect the screen to the neutral. Only connect the screen to ground. Using the neutral is the quickest way to electrocute yourself or others. In countries which use a 2 pin plug the plug can be inserted either way around and then the screen will be live. Faulty wiring can also cause the neutral to become live and lethal. Please, please do not use the neutral. Cheers Peter
@@cncnutz Thanks yeah kinda limited on space my spindle leads are 14 inches lol Did you see my video i posted for mark That was the titanium test seem to me it passed with flying colors of course It only milled to .020 in two passes But i had two people say that it would just skip around and make a mess and probably break the carbide bit well they where wrong dont get me wrong i most likely will not be milling titanium on my cnc but i will be burnishing it with a wire brush bit on their i got a friend with a water knife cuts it all the time much cleaner than a mill anyway My cnc is a beast so i had to try how ya like that 40 watt laser too the picengrave board is the cats meeeyow
FYI - I hope this helps someone. I was able to get vfdPlugin-1.7.1 to work. If you get a message the .dll is corrupt YOU MUST have Microsoft Visual C++ 2008 installed. Microsoft no longer has this file available on their website. You would think the newer versions would be backwards compatible, but it isn't in this case. Just Google Microsoft Visual C++ 2008 and install it. If you want to trust my copy it's available at drive.google.com/file/d/1zAPi7uuboZnbzPBTxZyibfbLWSuNRjfo/view?usp=share_link. I wouldn't trust the file because I said trust it, make sure to do a virus check on it.
Hi Guy
My name is Sebastien and i'm the developer, who, 8 years ago, decided to write his own vfd plugin because others one was simply nightmare. I then decided to offer it to the community, thninking that one or two guys may be use it. Today, seeing this video, i'm very happy to see that it has helped more than 2 or 3 guys. I spent hours developping this plugin, but it was usefull. 8 years later, seeing your video,reading comments, I realize how useful it was and i feel proud, so thank you to use this plugin and to promote it...earnt no money but gave me feeling to have been useful to the community.
Thanks for your efforts Sebastien we all appreciate it. I've been running the plugin successfully on my Bridgeport Series 1 CNC. There's only one problem with the plugin, the pulley reverse checkbox is ignored. I've tried a lot of different things in an effort to fix it. On my BP this is a problem when using the low gear which causes the spindle to turn backwards. I get around this problem by manually flipflopping M3 and M4 gcodes but it would be nice to fix. I would love to fix it if the source could be made available as I am an old C++ developer.
Hi Sebastian,
I'm sorry I missed this comment form 3 months ago. Thank you for writing the plugin and sharing it with the community. You did an excellent job of it and thanks to your excellent writeup it was easy to install and get going. Many thanks
Cheers Peter.
Thank you sir for your hard work, I installed the plugin and it works like a dream. I sent you a donation, BTW. I appreciate people like you who will freely give out their work the way that you do!
Hi Sebastien, thanks for the great plugin, it makes using the RS485 comms a dream, do you have any intention to release the source code? I would love to possibly help make some improvements to it.
3 machines and 15 years of experience. Setting up a new computer and I couldn't figure out spindle control (been a bit). Your vid got me going again!
Just wanted to thank you for this video. It did not relate to my vfd or controller, but it did put me on track for what I had been trying to do unsuccessfully for 4 year.
Thanks!!
Walt
Hi there,
Amazing to hear another New Zealand voice speak so eloquently and informatively.
Awesome presentation, I don't know how this is the first time finding your channel.
Please keep up the good work, good thoughts to you for helping so many.
Thanks puha666
Thanks. I just bought a Huanyang VFD with "I'll figure it out at the time." in mind. This video couldn't have come at a more opportune time. :)
+Brittany B
Nice one. You have a lot of fun ahead of you and I hope this and the other videos on the spindle setup are useful to you.
Cheers
Peter
Thank you Peter, IT WORKS!!!!!. I had issues with entering the parameters to make it work before I realized a couple of sleepless night later that you have to set parameter PD00=0 BEFORE the session and PD000=1 AFTER the session. Maybe my mistake will help someone, I mist it completely when watching your video (147) and it hit me when I watched again for the xx time. By the way, I am a French Canadian. Most of us are bilingual. So should anyone need a translation to French I would be happy to help. Merci beaucoup.
Thanks Marseille
Glad you got it sorted and thank you for the offer.
Cheers
Peter
Hello Peter ... this was a very useful video ... thanks. I wanted to add my experience (today) in a quick comment:
I used this 485 interface: DSD TECH SH-U10 USB to RS485 Converter with CP2102 Chip Compatible with Windows 7,8,10,Linux,Mac OS, which I purchased from Amazon. It was a little more expensive ($15), but touted better protected inputs (I'm only buying one in my lifetime, so a few $$'s more wasn't too big of a concern.). It came with a mini-DVD with drivers, which installed on my Windows 7 system with no hitches.
One small issue that I ran into and I saw and noticed postings from others : "Corrupted plugin ... ignoring". I'm running a 64-bit version of Windows, so I loaded the 64-bit version of the C++ Library initially. After gleaning hints from related posts and guessing, I loaded the 32-bit version of the C++ Library, and the issue went away.
Thanks again, very useful video and it's so cool to have the spindle come to life under control of Mach 3.
Cheers,
Dan
Hi Dan
Thanks for the tip about the different version of C++. Very interesting. Glad you got yours sorted.
Cheers
Peter
Fantastic explanation used exactly the same USB Ebay device and had my machine up and running in minutes. Many thanks.
Great one Jim.
Good to know it worked for you.
Cheers
Peter
More great info, Peter, keep 'em coming, this is exactly what we newbies need.I now have full control of my spindle in Mach3. Well almost. Just need to figure out how to start the water pump with the spindle and I'm set.CheersDave
+olgreybeard
Just setup a relay as I did in the previous video and use it to turn on and off the pump. You can use the relay and RS485 together.
Cheers
Peter
thanks Pete, parts ordered, fingers crossed.
Who'll done Peter pleased you got it to work with few problems. Noise can be an issue when using unshielded twisted pair shouldn't be but it sometimes is.
The noise rejection properties of RS485 should protect it but it can't hurt to have the shielded cable and be sure. USB is more of a concern to me to be honest.
Hi there, I am having a hard time finding that "visual C" file shown in 2:02 of your video, do you have that in your shared drop box? Mach 3 says the VFD plugin is "defective" without it. I feel so frustrated as I have spent a week trying to get the spindle to spin accurately. And what did the microsoft program do anyway? That part seems unclear and my hurdle to success
This guy helped me a lot: ua-cam.com/video/ehlgOhsmGAI/v-deo.html it was using the microsoft C++ 2015 version that needed to be 84 bit instead of 64 I guess... I want the answer in the comments for the next person that has this problem.
Another perfect video that worked perfectly with my setup. Thanks Peter.
Thanks Andre.
another great video Peter, I hope to change out my Router for a spindle soon, I hope that a 1.5kw 110V will be strong enough because i do not have 220V available where the CNC is.
1.5kw is 2 HP and far more powerful that my original router at 1hp. The only reason I want bigger was to get the bigger collet and it will be interesting to see if I ever use anything bigger than 1/4" shank. I was originally looking at 1.5kw with Er16 collets which go up to 10mm (3/8")
I am very new. what gauge wire are you using to hook up the RS? I will need a good length so I want to make sure of the proper gauge and shielding
Peter: can you share what driver you used for your RS483 adapter. I tried the prolific driver and it doesn’t seem to be working.
Thank you for all you do for our community.
I don't have it I'm afraid. I just let windows install the prolific one. The one I used in the video was not a prolific chipset. The driver for that one is on my website. Follow the link under the video to my website and follow the link on the page to the driver file I used.
Cheers Peter
Hi Peter,
thanks for the video, I have this issue: once started (setting an S speed as you do) I cannot decrease the spindle speed clicking on the "minus" button, it works only in the + direction (increasing speed), I had to use reset button to come down to original speed, do you have any suggestions? thanks, all my best
UPDATE
in the meantime I found the problem: I use a 6-axis Mach3 screenset, and in the main tab the - spindle speed has a wrong command (it does not decrease the 100%speed), while in the MDI tab the decreasing speed works as in your video, hope this helps other people...
Is there by chance a poll command over RS-485 to retrieve or read all custom settings inside the VFD via an ASCII/Hyperterminal terminal? Additionally, can the relay output on the VFD be setup to activate an external relay that starts a water cooling pump every time the VFD is turned on and turns off that relay pump when the RFD is off? Thanks for a great tutorial.
I don't know. You will need to read the manual for your VFD and then send the appropriate commands.
Cheers Peter
Thanks so much for this video. It gave me exactly the info I needed.
Thanks
Thank you, Peter
Glad it helped Ken.
Could this be used to control a laser off/on and power %?
Any Idea why the "RPM" in the Spindle Speed section only shows a value when the Speed is changing? Around 15:15
No idea Lex
Hi peter many thank for clear explain.
My question about second spindle.
How can control second spindle on modbus..
Hi,
Not sure how you would do it but I believe it is possible.
Sorry I can't help
Cheers
Peter
Hi Peter. Nice video. There are many models of the VFD out there. Can you tell me the Programming Register descriptions so we can find it for our models?
Hi Eric I'm sure I but a brief description of the registers with the document I put on my website but if you download the manual also on my website you can get the full description of the registers.
Follow the link under the video to find the writeup.
Cheers
Peter
hello Peter, do you know if this adapter will work with a vfd ALTIVAR ATV320 ? I didn't understand if the plugin will works only with Haunyang VFD
The plugin only works with only some Haunyang VFD models. This is because they use a non standard RS485 protocol. You will need to find the right plugin for your VFD.
Cheers Peter
Hi. Sir.
Please help! Can programs on Mach3 to control VFD forward and Reverse ? Thanks,
Yes Mach 3 can turn a VFD on and off as well as set the direction backward and forward.
That is the whole purpose of the RS485 install used in this video and the analogue control shown in videos 142, 145 and 146.
Cheers Peter
If possible for CW/CCW
Hey Pete. Where did you purchase the RS485? Can you provide links to the device and where to download the drivers? Cheers
I bought the adapter off Ebay and have provided a search link to suppliers in my website as well as links to the drivers.
Any of the Ebay sellers selling adapters that look like mine that say they have a CH340 USB driver will be the same as mine.
Cheers
Peter
Love ya work Peter.
+Daryl Hooke
Thanks Daryl
Tell me please. I have usb board for mach3 and rs485. I can use 2 usb out for cnc ?
You can use 2 USB ports if you want. One for the mach3 board and the other for RS485.
Cheers Peter
I have another VFD, it is a Yaskawa but i have not the dll file, what about setting it with rs485. Would you please help me to make it works?
I'm sorry but I am unable to assist. You first need a write a driver for your drive. The reason I purchased the drive I did is because it is common and people had written the necessary files to make it work. That is well beyond my ability.
Cheers Peter
I'm sorry but I am unable to assist. You first need a write a driver for your drive. The reason I purchased the drive I did is because it is common and people had written the necessary files to make it work. That is well beyond my ability.
Cheers Peter
@@cncnutz Ok thank for your response, i´ll try to make it works... take care with covid!
I have tried 3 vfd plugins and each one gives me a defective plugin found error message upon mach3 startup? Plugins are pasted to the plugin folder as your video suggests. Any ideas?
Have you tried reloading MACH3. Maybe the problem isn't the plugin but MAch3 itself.
Just make sure you backup your Mach3 first.
Cheers Peter
@@cncnutz i ended up using a different plugin. Works perfectly and loving it! Thanks for the reply
With the RS485 adapter, hitting the emergency switch will it turn off the spindel? I have mine on order, but have received my spindle and VFD today. Will install all when the adapter arrives. Thanks again for the very helpful videos you do.
+Rick McCaskill
Estop turns spindle off.
Cheers
Peter
Thank you
+Rick McCaskill
No problem Rick.
Hello !!!
Can it be controlled by PWM for a laser?
I have an NVEM board that I cannot force to properly control PWM
The laser fires up to the set power 4-5 seconds when it should already cut
Thank you and best regards
RS485 uses data to talk to the spindle only. If you want to use PWM you need to use parallel port or a motion controller port.
Cheers Peter
Thank you for your answer
Unfortunately, my computer does not have a parallel port (Dell Optiplex160) and there is no room for additional electronics in my box
Yesterday, I found somewhere info that there is a modbus-controlled PWM generator
Thank you and best regards
Nice that you can pick that up in a little package now.
They certainly are a nice little adapter.
Hello Peter. Thank you for the great video and explication. I have set up everything as mentioned and it works. However, if I cycle start a program, it does the following...
1. Doesn't start the spindel
2. If I turn on the spindle, set the rpm (for instance up to 24,000) then start the program, it will reset the speed of the spindle to defult of 6000, and I can't increase the speed as the program is running.
Any thoughts?
Have a look at this video I did to help someone sort out their VFD problem. It will allow you to test the VFD independently of Mach3. It should help isolate the problem a little so if it works OK with spindle talker then you have a Mach3 issue. Check out the link below the video to download the tester. It will only take minutes to setup. Let me know how you get on.
Cheers
Peter
ua-cam.com/video/Qq1Px4Abkbo/v-deo.html
@@cncnutz I will try that tomorrow. Thanks for the reply.
Hi, Peter. Hopefully, you are still monitoring this video. I am looking for a solution for a slightly different implementation and I am far from an electrical wizard. I am running a regular router on my CNC for now. My little controller board ( Novusun NVUM V2) does not output enough voltage to activate the power relay (IOT Switching Relay Power Strip) I had been using. Is the RS485 solely a communication port or could I hope for a 5-12 volt output from it? Hopefully, this is not a dumb question, like I said I am far from an electrical wizard.
RS485 is a communication protocol. The port does not supply power.
Cheers Peter
Hello, just downloaded the plug-in but I cant use it. Mach3 at start up says "vfdPlugin.dll - Defective plugin found...ignoreing.." it's the version 1.7.1. Can you help me? :/
I have no idea what could be wrong.
Did you install the Microsoft VC++ 2008 file?
Did you try downloading again and reinstalling the plugin?
Maybe reinstall Mach3 after backing up your files.
Cheers Peter
Hello Pete, Thanks for the video!! I followed the video and I can adjust the speed and turn the spindle off and on now. My question for you and I might have missed it somewhere in your video is when you hit your physical E-stop or the E-stop in Mach 3, does it stop your spindle? I am using the Gecko-G540, the Warp 9 ESS Smoothstepper, and the same spindle and VFD that you are using. My spindle does not stop with the E-stop, and I would very much like it to:)) Thanks in advance for any help you can offer.
Hi John
You haven't assigned pin 15 from the G540 to the estop on Mach3 pins and ports. It wasn't mentioned in the video and is normally done as part of the G540 install.
Cheers
Peter
I had pin 15 assigned originally and it stopped the steppers but not the spindle. Changing it to pin 25 did the trick. Thanks again for the help
Do you think this will work on a Sunfar E300 Inverter?
If the sun far is capable of RS485 then if you write or can find a suitable plugin then it should work. You cannot use the plugin that I show in the video as it is for Haunyang VFD only which uses its own version of RS485 commands
Cheers
Peter
@@cncnutz Many thanks, but that's far to teccie for me to do :(
Peter,I have used these on three routers with the HY VFD and they work perfect. Your files I downloaded work just as needed.Can you tell me if you have any information on using this with Mach and the Nowforever VFD? I have two of these routers (6040Z) from China and the have these VFD controllers. The setup and terminals allow for +485 and -485 wire hookup. I just don't have a plugin for it. Do you have any clue where to get one. Thanks for any help you can give me. Marty
I have no information on you VFD's and the plugin won't work with them as the Hy VFD protocol. Is not standard.
Cheers
Peter
If I disable spindle relay will the spindle still come on automatically at the beginning of a cut and off at the end. like my router does now
I honestly couldn't tell you as I didn't try it. Is there any reason you want to disable the relay?
I’m sorry I thought you said to disable spindle relay when using rs485 . I will watch that part again . Thank you
No Problem Don, I don't blame you for getting confused.
I Disable "disable spindle relays".
Nothing makes seting things up easier than using double negatives in your settings.
Thank you Mach3 for making things crystal clear.
Cheers
Peter
Are you going to try it with the lasershoe II?
+Hans Defauwes
No. The Laser uses ttl not RS458.
there is a way to use it in Mach3?
Good video Peter,
It is quite timely for me since originally I opted for PWM through my CNC4PC C62 BOB and ignored RS485 that was in the back of my mind and cosequently have issues with unwarranted eStops which is more than likely from noise.
In the video you set max spindle rpm for 2400, is this correct?
Hi Frank.
I did say 2400 but wrote 24000. It most definately is 24000.
I swear blind I had fixed that with a big red writing to say 24000 but it looks like I didn't.
So now I'm just swearing full stop.
Cheers
Peter
Actually I did fix it, but I made exactly the same error on both videos and I only fixed it on the UCCNC one.
Grrrr
Hi Peter, great video!!! I noticed that when you set up the spindle in Mach 3 you used 0 - 24000. However the VFD settings were 6000-24000. I am guess this why you could not go below 6000 RPM in the demo portion of the video. Is there a reason for not setting both up from 0-24000 or 6000-24000?
+jnbff10
If you put 6000 - 24000 in Mach3 the output PWM will be wrong and the spindle will not run at the right speed. If I put 0 - 24000 then the spindle would run from 0 - 24000 which is OK for a water cooled spindle but mine is air cooled so I have to set a minimum speed. Hope this sense.
CNCnutz (Peter Passuello) thanks for the reply. Good info... I was not aware of the limitation on the air cooled
Hi Peter, Got the RS485 CP2102 today and was able to set up with no issues. I got the driver from here: www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
One think I did notice is that my max speed was 23000 @400hz. No worries as I doubt I would run at 24000 but any thoughts on why it was 23000 instead of 24000?
Thanks again. This video is great for anyone trying to get this working. Took under 30 minutes to wire, config, and test.
Jim
+jnbff10
That's great new Jim.
The only thing I can think of is you might have accidentally set the maximum spindle speed to 23000 in the VFD by mistake. Other than that I can't think why. You are of course right. You shouldn't be using 24000 anyway.
Cheers
Peter
FYI.. I think you set MAX speed to 24,000 not 2,400 as you described verbally (i know my lathe maxes out near 2400, but you probably meant 24,000 based on later video footage)
You are right 24000 RPM is Max speed for my spindle.
Cheers
Peter
HELLO PETER, You make it look very easy. I have installed the rs485 and tried various drivers and I keep getting message that it cannot communicate. In the device manager, I see the 2.0 usb but there is no com port. I have tried to reverse the two wires on the vfd but same happens. I set the vfd to all the settings in your video. I have been looking over the internet for the last 3 days trying to figure this out. I have ran the spindle first with the vfd and the spindle ran fine. Is there a check to see if the RS485 is bad? I hoping it is something simple that I may have overlooked. Any help would be greatly appreciated.
Hi Ron,
The only reason it looked easy is because it was. I was lucky and didn't get any issue when installing the driver for the RS485 adapter. forget the VFD at this point and concentrate on getting the RS485 usb adapter showing up in windows. If you are not seeing a new adapter as a USB serial com port in Device manager nothing else will work. Lookaround for any big yellow question marks labeled unknown device in device manager. That might be the adapter and the driver might not have installed correctly. You can see one in my video but mine is another piece of hardware I don't have a driver for. If you delete the unknown devide and plug back in the adapter it should reinstall the RS458 driver and hopefully it will work.
Until you can get it showing in windows don't worry about anything else. you don't even need to wire it up.
Here is where I check mine
ua-cam.com/video/N7D5n5y7f50/v-deo.htmlm26s
If you think you have a faulty device you could try installing it on another pc and see it it is recognised.
Hope this helps
Cheers
Peter
Hello Peter. will this plugin work with mach4?
I have no idea if it will work. I don't have or use Mach4.
Cheers Peter
I am using the downloads from your page, but Mach won't load the plugin when starting up, keeps giving an error message.... any suggestions?
Sorry I don't know what the problem could be.
What is the error message you are getting?
Cheers
Peter
So, info for anyone else having issues, the error I got was
"VFDPlugin.dll - Defective Plugin found...ignoring"
To fix this make sure you have downloaded the windows visual C++ program from here
www.microsoft.com/fr-fr/download/details.aspx?id=5582
Thanks again peter for all your info and great vids.
+bcer960interurban
Thanks for the update.
Cheers
Peter
Peter another question. Is the same c compiler file used for Windows 10
+jnbff10
I'm not sure but I think you only need to install this if you are using Windows XP. I can't remember.
Hi Peter, following it line by line but Mach 3 cannot see the VFD plugin for some reason, copied it into the folder ok, it sees the ess plugin so thats ok, any thoughts? cheers
I have no idea. The only thought I have is you haven't installed the required VC++ 2008 files that are needed. Also check that the dll file is present or is it an m3p file.
Cheers
Peter
thanks peter, but i really am the donkey. I watched this some time ago and thought i could remember it, as it happens i missed the bit @7.15, so all happy and it works great, thanks for this.
Glad you got it sorted.
Cheers
Peter
Hello every one I am having trouble with the plugin for this usb both my systems say the plugin is defective and it is Ignored both on Windows 7 and windows XP systems
Plugin or driver? The plugin has nothing to do with the usb device.
Cheers Peter
What are the parameter settings on Mach 3? Thanks in advance.
Not sure what you are asking Ferdie. If you watch this video I go through all the required Mach3 settings to make it work.
ua-cam.com/video/N7D5n5y7f50/v-deo.html
Cheers
Peter
where do i find the windows file?
The links to all files are on my website. Follow the link under the video to the writeup and links.
Cheers Peter
Thanks...worked for me
Good one Niko
Cheers Peter
In the motor tuning. Do you just ignore spindle there?
It depends on the type of spindle you have. If your spindle is like a stepper motor using step and direction then you need to setup the spindle in motor tuning. If you have a spindle like mine that uses a VFD then just ignore it. I haven't seen or heard of a spindle that uses this method of control so it is unlikely that you will need it.
Cheers
Peter
Cheers
Peter
Thanks. I have the 2200w 220v China spindle
If you go back a few videos you will see the settings I used in Mach3. They build on one another so the settings in this video are the changes to Mach3 from the previous video etc. You may have already seen them.
Cheers
Peter
Thanks!
Just got it working. Thanks VERY much for the vid/help
gracias amigo, muy útil tu video
Thank you Diego
Hi Peter,
I'm having a bit of problem when booting up Mach3 since I installed the Rs485 pendent.
I have to go into Device manager and update the Com Port to get it working. I also tried changing the port's address number (from 3 to 9). to get it working for that period.
Thank you.
Any advice will be thankful.
Webman_tt.
+Alvin Smith
I have no idea what could be wrong With your setup. If you are running XP did you install Microsoft Visual C? That is the only thing I can think of.
Cheers
Peter
Where do you get the plugin from
Follow the links below the video. It will take you to the writeup for this video. The links to the plugin you need is on the page.
My spindle is running the wrong way how do i change the direction please
On a 3 phase spindle if you swap any 2 of the 3 power wires going to the spindle it will reverse direction. Eg swap the U & V
Cheers
Peter
CNCnutz (Peter Passuello) thanks pete your you tube has been invaluable keep up the good work
Thanks Martin
Peter. I'm a dedicated watcher as of late.
I have mach3 with Warp9 ESS controller. Will this work with the pre-mentioned combination?
Thx for your excellent videos. You don't talk above or below anyone's intelligence.
It will works with any motion control hardware or parallel port system because it doesn't use them. Only the RS485 adapter and the spindle are needed with Mach3 to make it work.
Cheers
Peter
She mills aluminum great now woot woot
Thank you, amazon for $6.00 you made it so easy....
Thanks glad it worked for you.
Cheers
Peter
Hi Peter,
Do you know of any instances/documentation for using this setup with an Allen Bradley p40 VFD?
Thank you!
Steve
+Steven Donovan
I don't know of any, sorry I can't help.
Cheers
Peter
If you use a true shielded twisted pair ground the shield AT ONE END ONLY! In this case the best place would be the neutral power wire on the VFD.
+John Ware
Under no circumstances connect the screen to the neutral. Only connect the screen to ground. Using the neutral is the quickest way to electrocute yourself or others. In countries which use a 2 pin plug the plug can be inserted either way around and then the screen will be live. Faulty wiring can also cause the neutral to become live and lethal.
Please, please do not use the neutral.
Cheers
Peter
Worked great for me sir thanks for all your fine info mine can be seen here
www.dropbox.com/s/32kl0slwajzp341/20190120_125339.jpg?dl=0
Thanks Jerry. Glad it worked for you. That's an interesting place to put the VFD.
Cheers
Peter
@@cncnutz
Thanks yeah kinda limited on space my spindle leads are 14 inches lol
Did you see my video i posted for mark
That was the titanium test seem to me it passed with flying colors of course
It only milled to .020 in two passes
But i had two people say that it would just skip around and make a mess and probably break the carbide bit
well they where wrong dont get me wrong i most likely will not be milling titanium on my cnc but i will be burnishing it with a wire brush bit on their i got a friend with a water knife cuts it all the time much cleaner than a mill anyway
My cnc is a beast so i had to try how ya like that 40 watt laser too the picengrave board is the cats meeeyow
FYI - I hope this helps someone. I was able to get vfdPlugin-1.7.1 to work. If you get a message the .dll is corrupt YOU MUST have Microsoft Visual C++ 2008 installed. Microsoft no longer has this file available on their website. You would think the newer versions would be backwards compatible, but it isn't in this case. Just Google Microsoft Visual C++ 2008 and install it. If you want to trust my copy it's available at drive.google.com/file/d/1zAPi7uuboZnbzPBTxZyibfbLWSuNRjfo/view?usp=share_link. I wouldn't trust the file because I said trust it, make sure to do a virus check on it.