This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

F&F LE-03MQ Modbus energy counter
#20
(23.09.2017, 16:38)uadmin Wrote: While Erwin's code works it easier to use built-in datatype read function:
Code:
-- read 32-bit floating point value from input register nr 123, use word swap
res, err = mb:readinputregistervalue(123, "float32", "w")

Aha, i thought i know most stuff by now but still new items to discover (:

Is this all documented somewhere? 

Thanks admin!

BR,

Erwin

Hi Buuuudzik,

Modbus specification specify daisy chain ( in -> out ) and not a star topology...

The reflections in your star can cause weird behavior..

BR,

Erwin
Reply


Messages In This Thread
RE: F&F LE-03MQ Modbus energy counter - by Erwin van der Zwart - 23.09.2017, 21:18

Forum Jump: