![]() Take a look at this short but quite complete description, and also at the documentation of this constantly updated library. At that point, once you have an open serial channel or (listening) TCP socket inside your C program, you may just start with simple Modbus requests/responses. I understand that you need to understand Modbus at a deeper level.There are some important differences to take into account. Be aware that Modbus TCP isn't just Modbus RTU(/ASCII) over TCP/IP (which is still allowed, of course, also UDP would be allowed).other manufacturers must be able to communicate with your client or server components by means of a standardized protocol - and Modbus fits). As you're developing your own client and server components, I suggest you to use Modbus only if strictly required or convenient with an eye to openness (i.e.Device Definition File Import/Export: Define Tags and Tag Groups for configured devices via text files in Comma Separated Variable (CSV) format.Server error/status announcing via Device Tags.Standard/Non Standard Data Addressing Supported.Selectable Mask Write Support: YES (support function code 22), NO (do not support function code 22).Selectable Write HREG Function Codes: SINGLE (function code 6), MULTI (function code 16), or BOTH.Adjustable Max Write Holding Register Size: 1 - 125 registers (function code 16). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |