On Tuesday 26 July 2016 04:00:33 Bruce Layne wrote: > We're in the same time zone, so it's the middle of the night here as > well. :-) > > If your VFD will communicate via RS485, you should be able to plug an > RS232 to RS485 converter (about $8 delivered from Amazon) into the > serial port and later LinuxCNC versions should be able to talk to the > inverter without much trouble and without bothering Peter for MESA > help. I haven't done this. It's second hand info from Russ' video, > but he makes it look easy. > > Good luck!
For newer pc w/o the serial port, how hard is it to get lcnc to talk to a usb<->RS-485 cable? They seem to run in the 20 dollar range, and IMO there isn't anything that might be effected by the usb latency in this. I just checked the available pin files for the 5i25, without finding an RS-485 port in the lot of them unless the 7i76 or 7i77 setups might do it. With the 5i25, the lack of a lvdiff port pins is probably the problem. But I'm equally sure the usb-RS485 adapter could be used too. > On 07/26/2016 03:43 AM, Gene Heskett wrote: > > On Tuesday 26 July 2016 02:36:35 Bruce Layne wrote: > >> Russtuff just uploaded a quick video showing how to program a > >> Huanyang VFD that might be helpful. > >> https://www.youtube.com/watch?v=7OszQS_BQMk > > > > Thanks Bruce. I'll look tomorrow as its the middle of the night for > > me ATM and the video might wake my missus. > > > >> He's programming it for RS485 control, which would be nice now that > >> Huanyang VFD support is in LinuxCNC 2.7 and above. I think many of > >> the Huanyang inverters do not support the com port and it's > >> difficult to tell which do from a visual inspection. The eBay specs > >> are usually cut-and-paste and are often incorrect. I've read that > >> even if the Huanyang VFD has the proper chipset to support the com > >> port, it may not have the hardware as a cost saving "feature". I > >> have a few of these VFDs. I should connect them to a motor one at a > >> time and see if any of them support RS485, and use that for future > >> CNC projects instead of relays and 0-10V analog control if > >> possible. > > > > I am not sure if RS-485 is supported on the device I bought. But in > > emails from the seller, I was assured it would run with run/stop, > > dir, and a straight pwmgen output for the analog input, just feed it > > into the 0-5 volt port. However, and this is a huge IF, I have found > > that powering it down overnight restores it to default settings, so > > I'll take it apart and see if its got a dead CR2032 or similar in > > it, because the defaults, while safe, suck at about 10ee-37 tor. > > Something similar to where the Voyagers are now. If it doesn't have > > a backup battery thats dead, then an rs485 channel will be needed to > > be setup and an initial configuration stream will have to be fed to > > it. That rather sounds like a PIMA to me. > > > >> However, even if you aren't interested in RS485, you might be > >> interested in the part of the video that deals with the parameters > >> for ramp up time, ramp down time, motor current, etc. > > > > Absolutely. I suspect I might have to have Peters help in cobbling > > up an upload to the 5i25 I'll run it with, to put some different > > stuff on the P2 plug header as I don't think its present setup can > > do RS-485 anyplace. The image I have in it now essentially dups the > > 4 stepgens, a pwmgen and an encoder on each port for 8 stepgens, two > > pwmgens and 2 encoders per card with whats left as GPIO's. But > > first, read the fine but tiny manual. It also has mention of braking > > R's, but no terminals to attach them were to can be found. I did > > take it apart looking for those. > > > >> On 07/25/2016 02:56 AM, Gene Heskett wrote: > >>>>> Greetings to you who are running an inverter driven spindle; I > >>>>> have one of those 1 HP 230 volt 3 phase motors on the table, in > >>>>> this case the one with the noisy bearings but it still rolls > >>>>> dead free. With the inverter set to 90 hertz and its running, > >>>>> pushing the green run/stop to stop it gets a rapid drop to > >>>>> around 75 hz, then its turned loose to coast for quite a spell, > >>>>> 10 secs maybe, at the end of which the DC comes on and its dead > >>>>> in its tracks in less than 1 more rev. > > > > Cheers, Gene Heskett > > ---------------------------------------------------------------------- >-------- What NetFlow Analyzer can do for you? Monitors network > bandwidth and traffic patterns at an interface-level. Reveals which > users, apps, and protocols are consuming the most bandwidth. Provides > multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make > informed decisions using capacity planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users