OK I've done some testing. It works!
I'm having a few issues:
- I got a major crash when I first started Mach with the plugin loaded and nothing turned on yet when I set the spindle speed using the DRO, which sent my Feedrate override to max. When I tried to adjust the feedrate override, Mach crashed and I had to restart my computer
- The user DROs work well except when I turn the spindle off. Once the spindle is turned off, these immediately cease reporting. For example, I start the spindle and after it spins up I stop it. Usually the Spindle speed DRO would show the actual speed of the spindle as it decelerates but it just keeps showing the speed just before I turned the spindle off.
That is all for now. I'll keep testing and report back if I find any other bugs.
Thanks again!
- Start Mach, do not hit reset (i.e. leave Mach) in the reset state
- Press the "spindle on" button (i.e the "spindle on/off toggle" button)
I have my Huanyang VFD Spindle working as I would like it, I even have the cooling water pump starting with a relay. But here is the problem, the G-code file starts running before the spindle is up to RPMs I tried adding "G04 P5000" to the file for a 5 second pause, but the pause is not long enough for the motor to spool up to speed.
So what am I missing?
P.S. Is there a way the get the motor to spool up quicker?
I just found an answer............... "G04 P5000" should be "G04 P200000" for a 10 second pause. :)
I have my Huanyang VFD Spindle working as I would like it, I even have the cooling water pump starting with a relay. But here is the problem, the G-code file starts running before the spindle is up to RPMs I tried adding "G04 P5000" to the file for a 5 second pause, but the pause is not long enough for the motor to spool up to speed.
So what am I missing?
P.S. Is there a way the get the motor to spool up quicker?
I just found an answer............... "G04 P5000" should be "G04 P200000" for a 10 second pause. :)
No need for any of that. You just need to adjust the settings in Mach under Ports & Pins -> Spindle Setup to set how long Mach pauses to wait for the spindle to spin up and spin down.
Yes it should. Make sure you change your setting in the VFD itself.
PD001 should be 2 (Sets your computer as the source of run commands) was
PD002 should be 2 (Sets your computer as the source of frequency) was
PD003 should be 60 (Sets your main frequency to 60hz) was @ 0
PD004 should be 60 (Sets your initial starting frequency to 60hz) was
PD141 should be your motor's voltage (on your motor's nameplate - prob 220 or 240) was
PD142 should be your motor's current (on your motor's nameplate - probably around 6 amps or so) was @11.0
PD143 should be number of poles for your motor (Yours should be 2 pole - based on your RPM at 60hz) was @ 4 nothing on the motor
PD144 should be your motor's RPM at 50hz (For you, it's 2875) was
Also, later once you have it working, if you set PD015,PD017,PD019, and PD021 to "0.1" and PD118 to 1 you'll get a mighty nice slow down speed when you tell the VFD to stop :)
I find that I cannot stop the spindle using gcode entered directly in Mach3, or in the file Mach3 is running.
I can type M3 Snnnn into Mach3 and start the spindle and change its speed, but M5 does nothing.
Any ideas?
Thanks,
Tom
@NoSmoking or @tgdavies, are you using the last plugin version with last Mach3 version?
I yes , i will investigate it this week-end, but i do not remember facing such problem..
I remember a guy having problem because he was running the bad visual C++ runtime..(pay attention, i do not say this is the problem)
Did you use the version available on my web page?
Settings in Mach stop it, it's not an issue. I'm in talks with the plugin creator right now and I think he's got most of the issues figured out. Stay tuned for a response from him at some pointWhat setting in mach?, and does M5 work for you?
It turns out that my problem was that I hadn't cleared the "Disable Spindle Relays" checkbox -- clearing that made M5 work and reversed the direction of the spindle, so everything is working for me now.
I modified the 1.7.1 version of the plugin a bit so that it sets RTS high when sending, and otherwise keeps RTS low for receiving, so that it behaves with dummy RS485 converters.
It's a quick hack, and I'm not sure if royaumedeole would approve releasing this, but if there's an interest in this, I can link it.
I modified the 1.7.1 version of the plugin a bit so that it sets RTS high when sending, and otherwise keeps RTS low for receiving, so that it behaves with dummy RS485 converters.
It's a quick hack, and I'm not sure if royaumedeole would approve releasing this, but if there's an interest in this, I can link it.
How did you modify, do you have the source code?
Nosmo
With help and suggestions from Sebastion it is now all functioning.
Thank you Sebastion
If I enable the plugin, I get the problems I mentioned. If I then go into plugin setup and disable the plugin, Mach3 Works, and communicates fine with the VFDe. Weird! The plugin is doing something bad to my system when it's activated, and when I then deactivate the plugin, it still works, and better than it does when activated.
My Mach version is 3.043.062. Im using plugin version 1.7.1. Is it possible to download previous versions of the plugin to test?
Mach does not communicate with the VFD if I don't activate the plugin first that session.
Hi has anyone used this plug in with Windows 10? Need to do anything special to get it going?
I modified the 1.7.1 version of the plugin a bit so that it sets RTS high when sending, and otherwise keeps RTS low for receiving, so that it behaves with dummy RS485 converters.
It's a quick hack, and I'm not sure if royaumedeole would approve releasing this, but if there's an interest in this, I can link it.
How did you modify, do you have the source code?
Nosmo
Wow, answering to almost year old question, sorry for the delay! :)
I don't have source code, I modified the binary directly, using disassembler.
I am just getting around to trying this VFD modbus plugin with my HY spindle. The spindletalker2 v.5 works fine and I can start / stop and reverse the directions all I want. I cannot get MAch3 to reliably work with it. I setup the plugin and it detects my VFD settings and I can set an RPM and start the spindle and see it ramp up and run. I can then stop the spindle with F5, but after that I cannot start it again until I reset. I also cannot get it to reverse direction at all. I did notice the DWELL indication comes on then stays on, is that related to it not responding after the first time? using driver v1.7.1 and Mach3 (latest version).
Did that al ready.... din't help?Hello, did you solve this problem. I have Win10/64, C++ 2008, latest Mach3, with and without win10 patch, still error on start with vfdplugin
Did that al ready.... din't help?Hello, did you solve this problem. I have Win10/64, C++ 2008, latest Mach3, with and without win10 patch, still error on start with vfdplugin
Regards
Steve