Hi there
I am trying to read some values from my Siemens LOGO via Modbus.
In particular, values from a block that is providing information on the runtime.
I know, that the LOGO is using DWORD - and I know what information the LOGO should provide…
In my case, I know what the sensor SHOULD provide…
The timer is set to 4000 hrs - and the LOGO will send the information in Minutes.
Meaning, 4000*60 => the expected value (at least for one of the sensors) should be 240000
But - I don’t get the correct information.
In my case, I am getting values like:
Right now, I am totally stuck with this sensor - and I really want to solve that issue to get propper values…
because, I am almost certain that there is a way to solve that… I am just not able to see it …
The output is now the amount of minutes…
MI → expected runtime of 4000 hrs (240 000 minutes)
MN → remaining runtime (3991 hrs, x minutes)
OT → current runtime (8 hrs, y minutes)
Now, I only need to define a template to show the values in such a format hrs:min
MI → 4000:00
MN → 3991:x
OT: → 8:y