On Sun, 2012-08-12 at 18:13 +0000, Chris Morley wrote:
... snip
> I looked a VFD control on MACH briefly. It seems they have a generic modbus 
> driver and also specific
> drivers for VDFs. I may try my hand at making a general modbus component.
... snip

It's pretty easy to make a VFD/Modbus component for a new VFD, or other
Modbus device. I have some notes here:
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?New_File_From_Vfs11 

I seem to recall that some further work had been done when libmodbus3
came out, but I don't recall any details.

Rather than try to make a generic VFD/Modbus driver, it's easy enough to
just edit an existing file as needed. For those that don't know how to
edit C files, it may be best to announce to the list the needed Modbus
device and offer sufficient motivation. I believe there is an
appropriate place to collect existing Modbus drivers on the Wiki.

One issue that I vaguely recall, so far, Modbus drivers are either
written to be compiled on their own with a corresponding Makefile, or
the driver is meant to be placed in the LinuxCNC source with a Makefile
that follows the source tree (?). If this is correct, it would be nice
to resolve which (or both?) method should be used and document it.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to