![]() If the IP connection break, it is not established again. So it is easy to use it in multiple installations.īut as I sayed previous, I can not publish the code (property of our customer).īut maybe it helps to build up your module.īy the way in the include file provided in the posting before. all commands are passed to a send queue and send out one by one we pass the "raw" mod-bus command to the module and get a raw mod-bus command back. ![]() Checking checksum on incomming packet and generate error messages if not Calculating and adding checksumm to the outgoing packet On ethernet add header and make shure the packet comes though :-) On RS485 send and wait for responce, repeat 2 times if no responce is received. ![]() The Problem is, that I can not send out the code for the module, either IP or Serial. Most of the time this is a sign for an parameter out of bounds. ![]() I did a lot of MODBus staff and was suprised how different a protokoll can be implemented by a manufacturer. Be aware when programming for MODBus, that you can get an "Exception" every time. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |