Logic Machine Forum
Modbus logging - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: General (https://forum.logicmachine.net/forumdisplay.php?fid=2)
+--- Thread: Modbus logging (/showthread.php?tid=3973)



Modbus logging - dave.bolas@se.com - 05.04.2022

Hi,

I am reading the active energy delivered from an ION7650 via Modus TCP. I can see the value correctly decoded in the object view, but when I look at the object log view, the Decoded Data, Data Type and Object Data are all showing '--' (The data type in the Object view is 4 byte floating point.)

Any suggestions as to what I am doing wrong?

Regards

Dave


RE: Modbus logging - Daniel - 05.04.2022

Can you share a screenshot of the value in object tab and in the Object log tab? Also edit the object and send screen too.


RE: Modbus logging - dave.bolas@se.com - 05.04.2022

Screenshots added. I'm on Teamviewer if you want to drive?


RE: Modbus logging - Daniel - 05.04.2022

This is read telegram. Set the pool interval to 0. Modbus reading is set in modbus tab under device settings.


RE: Modbus logging - dave.bolas@se.com - 05.04.2022

Hi Daniel,
Sorry, I don't understand. Please can you explain?
Regards
Dave


RE: Modbus logging - Daniel - 05.04.2022

Go to objects, edit object 5/1/11 and 5/0/10 and set pool interval to 0


RE: Modbus logging - dave.bolas@se.com - 05.04.2022

Done. Now its not logging at all.


RE: Modbus logging - admin - 05.04.2022

Check Error log in the Modbus tab.


RE: Modbus logging - dave.bolas@se.com - 05.04.2022

No errors. But despite the Modbus "Value send delta" being set to 0, it only seems to log when the raw (pre-scaled) value changes by 1. So I get logs at 173,000 then 174,000 etc


RE: Modbus logging - admin - 05.04.2022

Even if delta is set to 0 new value is sent only when it differs from the previously sent value. It's possible that the value resolution for this register is 1.


RE: Modbus logging - dave.bolas@se.com - 05.04.2022

Brilliant. Thanks.