Smartlogger Huawai - 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: Smartlogger Huawai (/showthread.php?tid=5489) |
Smartlogger Huawai - gdimaria - 28.06.2024 Hi, I can't read modbus register on this Smartlogger with TCP connection, device address: 0 (fixed). I created the attached modbus profiles (40*** formart as in the pdf and ***), mapped register with virtual objects, but I receive no data. on the contrary, with Modbus Tool I can read everything. Can you help me? Thanks Peppe RE: Smartlogger Huawai - admin - 28.06.2024 Usually the starting number 4 indicates the function code so it should be ignored in the register address. What do you get when running Read test? RE: Smartlogger Huawai - gdimaria - 28.06.2024 (28.06.2024, 08:54)admin Wrote: Usually the starting number 4 indicates the function code so it should be ignored in the register address. What do you get when running Read test? I can't run read test because I can't select device address 0.... it's starting from 1 RE: Smartlogger Huawai - Daniel - 28.06.2024 There is no such thing in modbus as addressee 0, try 254 or 255 RE: Smartlogger Huawai - gdimaria - 28.06.2024 (28.06.2024, 09:27)Daniel Wrote: There is no such thing in modbus as addressee 0, try 254 or 255 you are right, sorry.... the correct id is 50. By the way, now I can read almost all register in the profile but KW value registers: they are both on 0 value. if I run a read test they give me an int value. RE: Smartlogger Huawai - admin - 28.06.2024 Add "datatype": "uint32" to relevant profile entries. You should also add value_multiplier where applicable. But in this case bus_datatype should be a floating point value, not uint32. RE: Smartlogger Huawai - gdimaria - 28.06.2024 ALL RIGHT! Thanks |