![]() |
RE: MODBUS TCP SLAVE AND RECEIVE - Printable Version +- Logic Machine 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: RE: MODBUS TCP SLAVE AND RECEIVE (/showthread.php?tid=4284) |
RE: MODBUS TCP SLAVE AND RECEIVE - palomino - 05.10.2022 Hello. I have a question. I need to send and receive data through the LM in Modbus slave mode. When I write the data to my register, the master can read it, but when the master try to send me a data, doesn't work. I can't read the register. I think that the master can not write me in my register, I always see nill when i try to read. can you help Code: if not mb then RE: RE: MODBUS TCP SLAVE AND RECEIVE - Daniel - 06.10.2022 In original description of this script it says it is read-only. Why don't you just use universal slave script? https://openrb.com/lm-as-modbus-tcp-slave/ RE: RE: MODBUS TCP SLAVE AND RECEIVE - palomino - 06.10.2022 I understand that it is for read only. But I need to write too, can you help me with a script for writing? RE: RE: MODBUS TCP SLAVE AND RECEIVE - Daniel - 07.10.2022 Use this https://forum.logicmachine.net/showthread.php?tid=4288 |