Logic Machine Forum
Problem with 2 modbus devices - 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: Problem with 2 modbus devices (/showthread.php?tid=766)



Problem with 2 modbus devices - Mirco - 02.05.2017

Hi guys,
I have an HomeLYnk that read from a PLC that controls an UTA, and write into a PLC that controls pumps, heating and cooling.
I used 2 profile:
- the one that read from the UTA use TCP/IP and works perfectly;
- the one that write some object (readed in the other profile) use RTU;

When the object is updated by the read of the other profile, it is not written into the PLC of the pumps. If I update the value of the object manually, it is written correctly into the PLC.

I bypassed this problem using script, but I would like to know if I've done something wrong Huh 

Thanks!


RE: Problem with 2 modbus devices - admin - 02.05.2017

It's not working for you because the modbus plugin ignores telegrams that are sent by itself, otherwise there's a high chance of having an infinite read/write loop.


RE: Problem with 2 modbus devices - Igor68 - 02.05.2017

Hi, I have 3 ports of RS-485 on lm4 . How can I make RTU settings different for each port to use Modbus profiles?


RE: Problem with 2 modbus devices - admin - 02.05.2017

Only one port can be used with mapper right now, other ports can be used via scripting.


RE: Problem with 2 modbus devices - Igor68 - 03.05.2017

Thank you, it would be good to work with the help of profiles, it is very convenient