Logic Machine Forum
Modbus TCP profile issue - 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 TCP profile issue (/showthread.php?tid=4428)



Modbus TCP profile issue - PacoUmea - 07.12.2022

Hi

New to the world of LM trying out modbus TCP. When doing a "Read test" everything works just fine but when i try it as an modbus profile i get a different, not correct, result.
The read test shows the line voltage at aproximatly 230V but when using the profile it shows just about any value.


Code:
{
  "manufacturer": "Ferroamp",
  "description": "Energyhub",
  "mapping": [
    { "name": "V L1", "bus_datatype": "float32", "type": "inputregister", "address": 2032, "units": "V", "read_swap": "n" }
  ]
}



RE: Modbus TCP profile issue - admin - 07.12.2022

Profile entry is missing "datatype": "float32"


RE: Modbus TCP profile issue - PacoUmea - 07.12.2022

(07.12.2022, 06:29)admin Wrote: Profile entry is missing "datatype": "float32"

Ah! God damnit, felt like i double checked everything. Super thanks!