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.

json
#1
hi 
in the json modbus, i would like to do divede (/10) the value .
is there fix? Huh
{
"name": "load_output",
"bus_datatype": "14",
"type": "register",
"address": 175,
"writable": "true"
}

thanks
Reply
#2
Hi,

Use this:
Code:
"value_multiplier": 0.1,

BR,

Erwin
Reply
#3
(22.09.2019, 22:27)Erwin van der Zwart Wrote: Hi,

Use this:
Code:
"value_multiplier": 0.1,

BR,

Erwin
HI  
Erwin not working.
Reply
#4
(23.09.2019, 04:47)balatis Wrote:
(22.09.2019, 22:27)Erwin van der Zwart Wrote: Hi,

Use this:
Code:
"value_multiplier": 0.1,

BR,

Erwin
HI  
Erwin not working.


Have you checked your commas? 
Code:
{
"name": "load_output", "bus_datatype": "14", "type": "register", "address": 175, "value_multiplier": 0.1, "writable": "true"
}
Reply
#5
(23.09.2019, 09:52)gtsamis Wrote:
(23.09.2019, 04:47)balatis Wrote:
(22.09.2019, 22:27)Erwin van der Zwart Wrote: Hi,

Use this:
Code:
"value_multiplier": 0.1,

BR,

Erwin
HI  
Erwin not working.


Have you checked your commas? 
Code:
{
"name": "load_output", "bus_datatype": "14", "type": "register", "address": 175, "value_multiplier": 0.1, "writable": "true"
}
Hi Erwin Yes the command is ok .
Reply
#6
Can you read raw value with RTU read test? Try setting bus datatype as a number without quotes:
Code:
{
"name": "load_output", "bus_datatype": 14, "type": "register", "address": 175, "value_multiplier": 0.1, "writable": true
}

Make sure to create new device from scratch when uploading new profile. Because existing devices will still use old profile data.
Reply


Forum Jump: