M
Hi all,
I have finally brought Phil's modbus module to work with the new generic io library. It is in the cvs now.
The RTU protocol was completely re-written in order to take into account aborted frames and slow CPUs executing the code. Even though it doesn't look like a lot of code, it took a lot of thinking to get it right.
Next week I will probably commit a demo explaining how to configure the module.
I am currently working (slowly) on the ascii version.
Please note that the code was tested several iterations ago, before I added a few optimisations. I have not had the chance to check it again against another modbus device. It will probably have to wait until mid-January.
Cheers,
Mario.
----------------------------------------------------------------------------
Mario J. R. de Sousa
[email protected]
----------------------------------------------------------------------------
The box said it requires Windows 95 or better, so I installed Linux _______________________________________________
LinuxPLC mailing list
[email protected] http://lists.linuxplc.org/mailman/listinfo/linuxplc
I have finally brought Phil's modbus module to work with the new generic io library. It is in the cvs now.
The RTU protocol was completely re-written in order to take into account aborted frames and slow CPUs executing the code. Even though it doesn't look like a lot of code, it took a lot of thinking to get it right.
Next week I will probably commit a demo explaining how to configure the module.
I am currently working (slowly) on the ascii version.
Please note that the code was tested several iterations ago, before I added a few optimisations. I have not had the chance to check it again against another modbus device. It will probably have to wait until mid-January.
Cheers,
Mario.
----------------------------------------------------------------------------
Mario J. R. de Sousa
[email protected]
----------------------------------------------------------------------------
The box said it requires Windows 95 or better, so I installed Linux _______________________________________________
LinuxPLC mailing list
[email protected] http://lists.linuxplc.org/mailman/listinfo/linuxplc