modbus energy meter - 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: modbus energy meter (/showthread.php?tid=5814) |
modbus energy meter - mariosp - 03.01.2025 Hello guys! Its my first that i integrate with modbus. Im using an energy meter from legrand ( EMDX3) and i dont receive measurments and when i check the error logs i get this
read failed :Illegal function. Does ever this happend to anyone else ? Here is my profile for the device that i builded RE: modbus energy meter - Daniel - 03.01.2025 You are missing datatype - this will be defined in device manuals. Before making profile use Read test to find correct configuration. RE: modbus energy meter - mariosp - 03.01.2025 (03.01.2025, 10:29)Daniel Wrote: You are missing datatype - this will be defined in device manuals. Before making profile use Read test to find correct configuration. When i try to do it i get Illegal fuction and illegal data value RE: modbus energy meter - Daniel - 03.01.2025 Do you have manuals with registry definition? RE: modbus energy meter - mariosp - 03.01.2025 (03.01.2025, 11:09)Daniel Wrote: Do you have manuals with registry definition? yes , here it is RE: modbus energy meter - Daniel - 03.01.2025 You have registers, not inputregisters. Try also subtracting register address by 1 RE: modbus energy meter - mariosp - 03.01.2025 (03.01.2025, 11:22)Daniel Wrote: You have registers, not inputregisters. Try also subtracting register address by 1I tried Both but unfortunately doesnt work RE: modbus energy meter - admin - 03.01.2025 Try running Read test with the following parameters and post the results. - Function: Input register (#4) - Address: 4096 - Data type: uint32 - Read swap: Word (CDAB) Also try Function = Holding register (#3) RE: modbus energy meter - mariosp - 03.01.2025 (03.01.2025, 12:21)admin Wrote: Try running Read test with the following parameters and post the results. With holding register i get the volts.. but i dont get the value in the group address. RE: modbus energy meter - Daniel - 03.01.2025 Try this Code: "address": 4096, RE: modbus energy meter - mariosp - 03.01.2025 (03.01.2025, 14:18)Daniel Wrote: Try this it worked, i will do it for all and i will update you (03.01.2025, 14:18)Daniel Wrote: Try this it worked, i will do it for all and i will update you RE: modbus energy meter - mariosp - 04.01.2025 It works perfecty!!! Thank you gus i will add the profile so if anynone need it to be ready!! |