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 uint32
#1
Hello. When reading a HoldingReg with datatype uint32 from "readtest" I get this respond as attached image. But when integratin via JSON and datatype "12" I get a large number.. tried different datatypes, with no change.. any ideas what to try?

Attached Files Thumbnail(s)
   
Reply
#2
did you set "datatype": "uint32" ?
------------------------------
Ctrl+F5
Reply
#3
(13.12.2021, 12:53)Daniel Wrote: did you set  "datatype": "uint32" ?

yes.

{"bus_datatype":"uint32","bus_address":"4/2/12","address":43418,"value_nan":[65472,0],"type":"register","read_count": 1,"value_multiplier":1,"units":"h","name":"15EP_OP","datatype":"uint32"},

{"bus_datatype":"uint32","bus_address":"4/2/6","address":43420,"value_nan":[65472,0],"type":"register","read_count": 1,"value_multiplier":1,"units":"h","name":"14EP_OP","datatype":"uint32"},
Reply
#4
Remove read_count": 1
------------------------------
Ctrl+F5
Reply
#5
(13.12.2021, 13:14)Daniel Wrote: Remove read_count": 1

still same result..
Reply
#6
Are you sure that address is correct? "address":43418, in the image it is 3418
------------------------------
Ctrl+F5
Reply


Forum Jump: