First of all, be patient with my english. I would like to contribute a generic userspace "modbus to hal" component, AKA mb2hal.
It is based on (totally rewritten) Les Newell's code http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ContributedComponents#Generic_compo nent_with_support_for_multiple_clients_Les_Newell_flavor and a little bit on VF-S11 VFD code http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ContributedComponents#Toshiba_VF_S1 1_VFD_driver_vfs11_vfd. Some characteristics: - Does not need libmodbus libraries. - It uses functions of src/hal/user_comps/modbus.c - Support multiple serial ports, multiple IPs and multiple modbus device addresses, each one with his own set of configurable transactions. - One thread for each link (serial or TCP), so there is no inter-links waitings (most notorious in serial lines). - Maximum frecuency rate configuration for each transaction is posible. - Configurable HAL pin options (pin names, int or float type, raw or with offset+scale parameters, invert bit) - INI file debug is posible. - Independent debug level for each Modbus transaction is posible. - Totally configurable by INI text file. Right now i am using it with a TCP remote I/O device and a serial RS232 drive. I would like to know if it could be accepted as a contribution and how is the process of accepting it. If it so, I would have to polish the code a bit (Coding Style Guide, Developer manual). Thanks you in advance, VNR ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers