Logic Machine Forum
Scandinavian Electric PM - 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: Scandinavian Electric PM (/showthread.php?tid=3563)



Scandinavian Electric PM - FatMax - 16.09.2021

I'm trying to read some values from a modus gateway connected to a energy meter. 

The documentation leaves a lot to be desired however;

   

I've converted the Address to 1848, 1850 and 1852. I'm not getting any data through my profile though. Could anyone with the correct knowledge look through my profile to see if I have interpreted the documentation correctly?

http://docs.circutor.com/docs/M014B01-03.pdf <-- Link to device documentation.

I have communication with it as I'm getting data when I try to read through the testing tools on the SL.


RE: Scandinavian Electric PM - Daniel - 16.09.2021

Delete this value_nan and check again. What were the settings when you were reading via test read?


RE: Scandinavian Electric PM - FatMax - 17.09.2021

(16.09.2021, 14:39)Daniel Wrote: Delete this value_nan and check again. What were the settings when you were reading via test read?

I'll try that!

Settings where 9600, None (1 stop bit) and half duplex.


RE: Scandinavian Electric PM - admin - 17.09.2021

Have you tried using uint32 instead of float32 for bus_datatype? For current/phase use 0.01 multiplier (two decimal places).


RE: Scandinavian Electric PM - FatMax - 17.09.2021

We did try that, but the value corresponded more with real life when I used float. (In the RTU testing tool)


RE: Scandinavian Electric PM - admin - 17.09.2021

Try uint32 with the test tool and also try different swap modes.


RE: Scandinavian Electric PM - FatMax - 17.09.2021

value_nan removal did not make a difference. Will test further with different swap modes.

What's weird though is that I'm getting data with the test tool, but nothing when mapping it to a GA.