Logic Machine Forum
Carlo Gavazzi EM330 - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Carlo Gavazzi EM330 (/showthread.php?tid=4043)



Carlo Gavazzi EM330 - oyvindnordbo - 13.05.2022

I'm trying to implement an energy meter from Carlo Gavazzi EM 330, the registers I should read are 300041, but when I try with "read test" on the LM5, the highest register I can read is 65535.
Attached is the script I made and the modbus register for the meter.


RE: Carlo Gavazzi EM330 - admin - 13.05.2022

Remove 3 from the beginning and subtract 1 so 300041 becomes 40 and so on.


RE: Carlo Gavazzi EM330 - oyvindnordbo - 13.05.2022

Thank you it worked perfectly


RE: Carlo Gavazzi EM330 - AlexLV - 16.05.2022

Hi,

in attach my profile for EM-340 I am using. As I remember - they are totally the same, for my device I cannot change voltage and current transformation coefficient. Also exist models counting consumed and produced energy, I have only consumed power counting..

Profile is working except reactive power - should be checked..

Alex
.json   Gavazzi_EM340.json (Size: 6.96 KB / Downloads: 43)