02.03.2020, 14:26
(This post was last modified: 02.03.2020, 14:43 by fleeceable.)
(29.02.2020, 09:24)Daniel. Wrote: What is the point of using script when profile work?I have 5 ventilation controllers. There is about 130 modbus points what I need to read per controller. From that, 100 is alarm points. If there is A or B alarm, I will read alarm points also. (A and B alarm is sum of all these)
And ventilation controller can handle 10 answers per 1 fast request.
So it's quite messed up system on there but I can take control via scripting.
(02.03.2020, 07:42)admin Wrote: float16 is supported by the modbus mapper. Just use "datatype": "float16" and it will work.Actually this way what I wrote it will work...
Now i'm scripting. I will add screenshot but answer is 65523 with minus degrees. If outside temp is over 0 then it will be correct number.
Also my variable is in 2 byte floating point format but grp.update gives 6552.3 or something like that.