![]() |
|
Universal Modbus TCP/RTU Slave - Printable Version +- LogicMachine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10) +--- Thread: Universal Modbus TCP/RTU Slave (/showthread.php?tid=4288) |
RE: Universal Modbus TCP/RTU Slave - rw_echo - 25.05.2026 When LM is used as a Modbus TCP slave station, what kind of communication data is exchanged? For the code "registers = { [1] = '1/1/4' }", I want to write different values (1, 2, 3, etc.) to the data address 1. What would be the corresponding message? Could you give me a couple of examples? Thank you. RE: Universal Modbus TCP/RTU Slave - admin - 25.05.2026 What is your task? If you want to exchange data between two LMs then use MQTT. Modbus is not the best approach for this. RE: Universal Modbus TCP/RTU Slave - rw_echo - 25.05.2026 (25.05.2026, 09:30)admin Wrote: What is your task? If you want to exchange data between two LMs then use MQTT. Modbus is not the best approach for this. No, I'm not trying to implement two LM remote data exchange. Instead, I want to know what the format of the control message frames is when LM acts as a Modbus TCP slave station? RE: Universal Modbus TCP/RTU Slave - admin - 25.05.2026 It's Modbus TCP protocol, what else could it be? ![]() https://en.wikipedia.org/wiki/Modbus#Modbus_TCP |