Posts: 164
Threads: 29
Joined: May 2017
Reputation:
2
hi
in the json modbus, i would like to do divede (/10) the value .
is there fix? 
{
"name": "load_output",
"bus_datatype": "14",
"type": "register",
"address": 175,
"writable": "true"
}
thanks
Posts: 1784
Threads: 6
Joined: Jul 2015
Reputation:
119
Hi,
Use this:
Code: "value_multiplier": 0.1,
BR,
Erwin
Posts: 164
Threads: 29
Joined: May 2017
Reputation:
2
(22.09.2019, 22:27)Erwin van der Zwart Wrote: Hi,
Use this:
Code: "value_multiplier": 0.1,
BR,
Erwin HI
Erwin not working.
Posts: 187
Threads: 43
Joined: Jul 2015
Reputation:
2
(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"
}
Posts: 164
Threads: 29
Joined: May 2017
Reputation:
2
(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 .
Posts: 7955
Threads: 43
Joined: Jun 2015
Reputation:
457
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.
|