LM as ModbusSlave. Transaction ID error - 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: LM as ModbusSlave. Transaction ID error (/showthread.php?tid=3196) |
LM as ModbusSlave. Transaction ID error - ikhy - 25.02.2021 I have two LMs and I run one script on them to transfer values from LM via Modbus. On one of the LMs everything works fine, on the second "Transaction ID error". Please help me! I'm still quite a beginner. The first LM has package luamodbus 20160606 On the second LM - luamodbus 20190219 Code: if not mb then RE: LM as ModbusSlave. Transaction ID error - admin - 26.02.2021 Why are you trying to use ModBus for data exchange? You can use KNX/IP routing without any scripts for this. RE: LM as ModbusSlave. Transaction ID error - ikhy - 26.02.2021 We will transfer data to a top system that only understands ModBus. LM will work as a gateway. Strange that the script with data like int16 works fine. Сould you give me the package luamodbus 20160606 for the test? RE: LM as ModbusSlave. Transaction ID error - admin - 26.02.2021 Which libmodbus (not luamodbus) package versions do you have on both devices? RE: LM as ModbusSlave. Transaction ID error - ikhy - 26.02.2021 Yes. Both devices have libmodbus RE: LM as ModbusSlave. Transaction ID error - admin - 26.02.2021 Tell me the package versions on both devices RE: LM as ModbusSlave. Transaction ID error - ikhy - 26.02.2021 on old device 3.1.2-4, on new - 3.1.2-5 "Transaction ID error" - on new device RE: LM as ModbusSlave. Transaction ID error - admin - 26.02.2021 There are no changes related to ModBus TCP between these versions. Check if you have any errors in the Error Log. TCP slave script has been used by many users an no one reported this error before. This might also be an issue in your top system. If it runs on Windows then you can provide a WireShark dump to see what's causing this issue. |