Re: [Emc-users] Modbus VFD Adapter
On 10/07/2013 05:45 AM, Ricardo Moscoloni wrote: >>> I don't like USB much for using with LinuxCNC. The VFD/Modbus components >>> work well enough or can be modified easily enough to get what I need. >>> Plus I don't know Ladder. >>> I have a few VFD's that I run three twisted pair to for FWD, REV, and >>> speed PWM. With a micro controller I could get that plus monitor >>> frequency, load, and other things with two pair. > > well thats interesting! the avr will connect to LCNC through serial port? Yes. Either with RS-232, or more formally RS422/RS485. It is common to use an adapter on an RS-232 port to get RS-422. > i like to hear what is the usb disadvantage in this particular application. The first thing that comes to mind is that I have had major latency hits in the past by plugging in a USB device, so I have gotten used to avoiding USB when I can. USB was designed to interconnect consumer devices for short runs in home or office environments. Modbus/RS422 was designed for industrial environments. Many VFDs, PLCs and other machine devices have Modbus built-in or available as an option. I don't know of any off-hand with USB. > where i* can find some info about modifying those components (* > without much programming skills) ... snip The Wiki link: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?VFD_Modbus has an outline of the procedure for modifying an existing component at the bottom of the page. It is probably too sketchy for a beginner, but it really isn't that difficult to do. The sample file: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?New_File_From_Vfs11 has a comment at each file location that needs to be edited for the particular device you have. The C programming should not change. You will need the device manual with a list of the functions and their corresponding register addresses, then create HAL pin names for each function. It would help to go through the comp section of the LinuxCNC manual and make a couple simple components before trying to run comp on your Modbus component. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/ -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Modbus VFD Adapter
>>I don't like USB much for using with LinuxCNC. The VFD/Modbus components >>work well enough or can be modified easily enough to get what I need. >>Plus I don't know Ladder. >>I have a few VFD's that I run three twisted pair to for FWD, REV, and >>speed PWM. With a micro controller I could get that plus monitor >>frequency, load, and other things with two pair. well thats interesting! the avr will connect to LCNC through serial port? i like to hear what is the usb disadvantage in this particular application. where i* can find some info about modifying those components (* without much programming skills) theres a link here: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?VFD_Modbus but reading somewhere that it is outdated (kirk wrote thats, sure you meet he:) ), im stalled in CL and mb2hal. regards rick 2013/10/3 Gregg Eshelman : > On 10/3/2013 10:41 AM, David Armstrong wrote: >> On 03/10/13 17:29, Kirk Wallace wrote: >>> I'm thinking about completing some work I did with AVRs and Modbus by >>> making an adapter that has a Modbus port for a PC connection, with >>> digital and analog IO for VFD control. This could allow one to add >>> Modbus control to a VFD that normally only has keypad or button and >>> potentiometer control. If there is any demand for such a thing, I could >>> have some boards made, otherwise I'll just hack together a few for my >>> needs. Another thought, there are cheap VFDs with Modbus that could be >>> had for not much more than the adapter would cost. Any thoughts? >> i'd be interested >> >> Dave > > I ordered a Teco/Westinghouse JNEV-203-H1 from Wolfman Automation. Cost > less than $300 for the single phase to 3HP 3-phase model. As-is it has > some inputs that can be used fro various things. I plan to connect one > to the spindle control output of my BOB. > > There are various addon cards available, including RS-232, RS-485, > Modbus and others. > > Less expensive than a new 3HP single phase motor. I got the converter > for my mill, will test the 3HP motor in my Monarch 12CK. If the motor is > good I'll get another converter and sell the 5HP 220V single phase motor > I have. > > > -- > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Modbus VFD Adapter
On 10/3/2013 10:41 AM, David Armstrong wrote: > On 03/10/13 17:29, Kirk Wallace wrote: >> I'm thinking about completing some work I did with AVRs and Modbus by >> making an adapter that has a Modbus port for a PC connection, with >> digital and analog IO for VFD control. This could allow one to add >> Modbus control to a VFD that normally only has keypad or button and >> potentiometer control. If there is any demand for such a thing, I could >> have some boards made, otherwise I'll just hack together a few for my >> needs. Another thought, there are cheap VFDs with Modbus that could be >> had for not much more than the adapter would cost. Any thoughts? > i'd be interested > > Dave I ordered a Teco/Westinghouse JNEV-203-H1 from Wolfman Automation. Cost less than $300 for the single phase to 3HP 3-phase model. As-is it has some inputs that can be used fro various things. I plan to connect one to the spindle control output of my BOB. There are various addon cards available, including RS-232, RS-485, Modbus and others. Less expensive than a new 3HP single phase motor. I got the converter for my mill, will test the 3HP motor in my Monarch 12CK. If the motor is good I'll get another converter and sell the 5HP 220V single phase motor I have. -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Modbus VFD Adapter
On 10/03/2013 09:50 AM, Ricardo Moscoloni wrote: > Hi Kirk, > im interested in modbus control, in the past week i was working on > controlling some delta vfd and servo drives (only non-rt processes > like on/off, rpm set, reverse, warnings, alarm clear, status), do it > with an usb/rs485 adapter from ebay (very cheap), and using mb2hal for > interfacing with LCNC (have problems with the vdf as it is the cheap > of the line and dont accept modbus fnct16 only fnct6). Some examples > with mb2hal control an arduino mega, as a modbus I/O control. I don't like USB much for using with LinuxCNC. The VFD/Modbus components work well enough or can be modified easily enough to get what I need. Plus I don't know Ladder. > > Im interested, what is your intention with the AVRs adaptor? > I have a few VFD's that I run three twisted pair to for FWD, REV, and speed PWM. With a micro controller I could get that plus monitor frequency, load, and other things with two pair. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/ -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Modbus VFD Adapter
Chris Morly made a change about a year ago so the window could be closed while Classic Ladder was still running. He added a Hal bit to allow that. I'm not sure where it was pushed to, but it was really nice. :-) Dave On 10/3/2013 12:50 PM, Ricardo Moscoloni wrote: > about the lcnc side of things It could be done with classicladder but > editor window has to be open for modbus to work. -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Modbus VFD Adapter
Hi Kirk, im interested in modbus control, in the past week i was working on controlling some delta vfd and servo drives (only non-rt processes like on/off, rpm set, reverse, warnings, alarm clear, status), do it with an usb/rs485 adapter from ebay (very cheap), and using mb2hal for interfacing with LCNC (have problems with the vdf as it is the cheap of the line and dont accept modbus fnct16 only fnct6). Some examples with mb2hal control an arduino mega, as a modbus I/O control. Im interested, what is your intention with the AVRs adaptor? about the lcnc side of things It could be done with classicladder but editor window has to be open for modbus to work. regards Rick 2013/10/3 Kirk Wallace : > I'm thinking about completing some work I did with AVRs and Modbus by > making an adapter that has a Modbus port for a PC connection, with > digital and analog IO for VFD control. This could allow one to add > Modbus control to a VFD that normally only has keypad or button and > potentiometer control. If there is any demand for such a thing, I could > have some boards made, otherwise I'll just hack together a few for my > needs. Another thought, there are cheap VFDs with Modbus that could be > had for not much more than the adapter would cost. Any thoughts? > -- > Kirk Wallace > http://www.wallacecompany.com/machine_shop/ > http://www.wallacecompany.com/E45/ > > -- > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Modbus VFD Adapter
On 03/10/13 17:29, Kirk Wallace wrote: > I'm thinking about completing some work I did with AVRs and Modbus by > making an adapter that has a Modbus port for a PC connection, with > digital and analog IO for VFD control. This could allow one to add > Modbus control to a VFD that normally only has keypad or button and > potentiometer control. If there is any demand for such a thing, I could > have some boards made, otherwise I'll just hack together a few for my > needs. Another thought, there are cheap VFDs with Modbus that could be > had for not much more than the adapter would cost. Any thoughts? i'd be interested Dave -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Modbus VFD Adapter
It's like you say ... VFDs are so cheap these days.. I consider the GS1 and GS2 series from Automation Direct to be throwaways if they fault out. And they seem to be quite durable on top of that... If you had a bunch of machines that already had VFDs in place and you didn't want to change them out, a board "might" make sense. Otherwise, I'd simply swap the drives out. Dave On 10/3/2013 12:29 PM, Kirk Wallace wrote: > I'm thinking about completing some work I did with AVRs and Modbus by > making an adapter that has a Modbus port for a PC connection, with > digital and analog IO for VFD control. This could allow one to add > Modbus control to a VFD that normally only has keypad or button and > potentiometer control. If there is any demand for such a thing, I could > have some boards made, otherwise I'll just hack together a few for my > needs. Another thought, there are cheap VFDs with Modbus that could be > had for not much more than the adapter would cost. Any thoughts? -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Modbus VFD Adapter
I'm thinking about completing some work I did with AVRs and Modbus by making an adapter that has a Modbus port for a PC connection, with digital and analog IO for VFD control. This could allow one to add Modbus control to a VFD that normally only has keypad or button and potentiometer control. If there is any demand for such a thing, I could have some boards made, otherwise I'll just hack together a few for my needs. Another thought, there are cheap VFDs with Modbus that could be had for not much more than the adapter would cost. Any thoughts? -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/ -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users