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.

Modbus value from 2 registers
#1
Hi, 

how create Modbus profile or read info located in 2 registers:

927-928 AHU consumption, Day RO unsigned int 0 - 4294967296 Wh 
929-930 AHU consumption, Month RO unsigned int 0 - 4294967296 Wh
931-932 AHU consumption, Total RO unsigned int 0 - 4294967296 Wh

I usually used modbus profile generator or created it manually, but from one register. Here I have 2 register's located data.

What variant can I use?

BR,

Alex
Reply
#2
Set datatype/bus_datatype to uint32.
Reply
#3
Thanks, but does it mean in profile I need input just first register?

Alex
Reply
#4
Correct, you specify the starting register address. The number of registers to read is based on the datatype. uint32 = 2x 16-bit registers.
Use read test to verify that the starting address and read_swap is correct.
Reply
#5
Big thanks for explanation, will do it today.

Alex
Reply


Forum Jump: