This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Modbus TCP slave example
#21
The source code is as follows:
https://forum.logicmachine.net/showthrea...,loop(0.1)

Lm as modbus rtu slave:
1.I need to add the 'inputregisters' and' discreteinputs' mapping list of the source code. How should I change the code?

2.Another problem is that if the value of the group address "1/1/1" of dt.float16 is 23 and the mapped register address value is 2300, how do you make their values correspond?
#22
Universal script has been update with RTU support: https://forum.logicmachine.net/showthread.php?tid=4288


Forum Jump: