Hello,
Has anyone experience using Modbus TCP on FRDM-K64F using mbed? I want to be able to use ethernet to talk Modbus TCP. Are there any libraries that will work for this platform?
Thank you.
Hello Nicholas,
I have the some problem, so I'm loooking for Modbus over TCP to implement on K66, but since now I didn't find nothing.
Did you find something about MODBUS/TCP ? On uTasker could have something but is too expensive
Thank you so much.
Marco
Hi Marco
The uTasker project includes ASCII/RTU/TCP Modbus (master/slave/bridge/gateway) for all Kinetis parts (10 year industrial use).
If you are a non-commerical developer who needs it for personal work/research just contact me so I can give you access to the full version.
If you are a professional with financial difficulties you can also apply for a free commercial license* which will allow you to have immediate operation and support (on this forum) for a single product development so that you quickly become profitable again.
Regards
Mark
* http://www.utasker.com/Licensing/request.html [specify that you need "Complimentary Commercial License"]
Hi Nicholas
There is an off-the-shelf solution for Modbus TCP on FRDM-K64F at http://www.utasker.com/modbus.html (TCP master/slave and RTC/ASCII UART master/slave with bridge and gateway operation).
It doesn't use mbed, where you will probably need to port something like FreeMODBUS with lwIP if you need a free one.
If you need a solution by tomorrow just use the uTasker one since it works out-of-the box and has been industrially proven since 2009 (including in the units controlling the video screens in the Claw at U2's 360° world tour !).
Regards
Mark
Kinetis: http://www.utasker.com/kinetis.html
Kinetis K64:
- http://www.utasker.com/kinetis/FRDM-K64F.html
- http://www.utasker.com/kinetis/TWR-K64F120M.html
- http://www.utasker.com/kinetis/TEENSY_3.5.html
- http://www.utasker.com/kinetis/Hexiwear-K64F.html
Modbus User's Guide: http://www.utasker.com/docs/MODBUS/uTasker_MODBUS.PDF
Hi Mark,
Thank you for the reply. I will take a look at both solutions you have suggested.
Regards.
Nick
Hi Nick
Have you manage to solve your project's requirements in the meantime?
Regards
Mark
Hi Mark,
I have tested the freeModbus library and decided not to use it. Instead I have used modbus++ and changed it to mbed.
GitHub - fanzhe98/modbuspp: A C++ Library for Modbus TCP Protocol
Thank you,
Nick