> > 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
Well easy is a relative term ! I wouldn't call editing a c file and adding to the MAKE file easy for a new comer. It also then becomes a completely custom system, one that updates will break. but maybe comp can compile C file too... My current idea would be to create a python extension module for the modbus C file. Then a generic modbus program in python or you could make a specific one. Python seems more appropriate then C for this (lowers the barrier) and if the generic modbus program works out you wouldn't have to program at all. It would ultimately have a GUI to configure it. I'm curious why you advocate editing a specific driver to configuring a general one. IIRC libmodbus3 's licence is incompatible with linuxcnc. Chris M ------------------------------------------------------------------------------ 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