> Steven demonstrated a working ModBus spindle control running from EMC2 > to an AutomationDirect VFD at fest this last summer. We didn't try > anything like threading but it did forward, reverse, and speed. I'm > only guessing but I don't think the code got into the repository yet as > it was pretty specific to the device we used.
Actually, I think I had a concern about the fact that the modbus library was LGPL3 instead of LGPL2. I'm also not sure if we want to include the modbus library in the EMC2 source tree (though it's pretty small). I'd like to have a generic modbus infrastructure that allows the user to specify sets of registers, coils and whatnot (there are 4 memory areas in modbus, if I remember correctly) and the HAL pins they correspond to. You'd also have to allow for multi-byte values, and packing multiple bits into one byte. This gets complicated, so I get lazy :) The driver I have is for the Automation Direct GS2 VFD, and I think it may be OK for it to get checked in (once I return home). The question about including the library still remains though. - Steve ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
