20.03.2021, 20:24
(20.03.2021, 19:10)thomasoppida Wrote: Hi,
Can you please help me with the creation of the json line for reading a value from a flag in a Siemens Logo plc?
So far I have tried this line with no success:
{ "name": "Analog verdi 2 CO2 verdi ventilasjon", "bus_datatype": "float16", "type": "register", "datatype": "int16", "address": 40529,"readable": "true", "writable": "true"},
I have read that I maybe need to do swap on this!? As I read in the documentation of the Logo I can see that this parameter I am trying to extract is a "word"
My modbus poll is attached and I want to read the address 530 highlighted:
Can somebody state the obvious? I have been trying for hours now..
Kind regards Thomas
You have to shift the address by -1
See the logo modbus profile in this link
https://forum.logicmachine.net/showthrea...ht=Siemens
Best Regards,