Hello guys
I try to read orno meter but i don't how to do it right.
I can connect to meter, I read someting but value are rong I think..
Address for voltaje is 0x000E and i get values like this 0x4372 / 17266 and not like 236,2 or similar
I use modbus read.
MENTION:: I am new noob with node-red
code used:
[
{
"id": "1d2d171.e382ae9",
"type": "tab",
"label": "OR-WE-514 ORNO",
"disabled": false,
"info": ""
},
{
"id": "9effc2d9.de9da8",
"type": "modbus-read",
"z": "1d2d171.e382ae9",
"name": "Voltage 0x000E",
"topic": "",
"showStatusActivities": true,
"logIOActivities": false,
"showErrors": true,
"unitid": "001",
"dataType": "HoldingRegister",
"adr": "0x000E",
"quantity": "1",
"rate": "5",
"rateUnit": "s",
"delayOnStart": false,
"startDelayTime": "",
"server": "ad952d25.37b4",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"emptyMsgOnFail": false,
"x": 160,
"y": 60,
"wires": [
[
"f620482d.32a08"
],
[]
]
},
{
"id": "f620482d.32a08",
"type": "range",
"z": "1d2d171.e382ae9",
"minin": "0",
"maxin": "1000",
"minout": "0",
"maxout": "100",
"action": "scale",
"round": true,
"property": "payload",
"name": "",
"x": 360,
"y": 80,
"wires": [
[
"8fa4b0b1.5bb418"
]
]
},
{
"id": "8fa4b0b1.5bb418",
"type": "ui_chart",
"z": "1d2d171.e382ae9",
"name": "",
"group": "cf7e1722.e9c28",
"order": 1,
"width": 10,
"height": 10,
"label": "Voltage (V)",
"chartType": "line",
"legend": "false",
"xformat": "HH:mm:ss",
"interpolate": "linear",
"nodata": "",
"dot": false,
"ymin": "",
"ymax": "",
"removeOlder": "6",
"removeOlderPoints": "",
"removeOlderUnit": "3600",
"cutout": 0,
"useOneColor": false,
"useUTC": false,
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"outputs": 1,
"useDifferentColor": false,
"className": "",
"x": 670,
"y": 20,
"wires": [
[]
]
},
{
"id": "d9900bf2.e9e408",
"type": "modbus-read",
"z": "1d2d171.e382ae9",
"name": "Frequency 0x0014",
"topic": "",
"showStatusActivities": false,
"logIOActivities": false,
"showErrors": false,
"unitid": "001",
"dataType": "HoldingRegister",
"adr": "0x0014",
"quantity": "1",
"rate": "5",
"rateUnit": "s",
"delayOnStart": false,
"startDelayTime": "",
"server": "ad952d25.37b4",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"emptyMsgOnFail": false,
"x": 170,
"y": 160,
"wires": [
[
"990ff26a.d8b688",
"06d76927b556780b"
],
[]
]
},
{
"id": "28a5556a.9eb7c2",
"type": "ui_text",
"z": "1d2d171.e382ae9",
"group": "cb8fa310.81f01",
"order": 7,
"width": 0,
"height": 0,
"name": "Frequency",
"label": "Frequency",
"format": "{{msg.payload}} Hz",
"layout": "row-left",
"x": 610,
"y": 140,
"wires": []
},
{
"id": "990ff26a.d8b688",
"type": "range",
"z": "1d2d171.e382ae9",
"minin": "0",
"maxin": "10000",
"minout": "0",
"maxout": "100",
"action": "scale",
"round": true,
"property": "payload",
"name": "",
"x": 380,
"y": 140,
"wires": [
[]
]
},
{
"id": "ec729896.53adb8",
"type": "modbus-read",
"z": "1d2d171.e382ae9",
"name": "Power Factor 0x0036",
"topic": "",
"showStatusActivities": false,
"logIOActivities": false,
"showErrors": false,
"unitid": "001",
"dataType": "HoldingRegister",
"adr": "0x0036",
"quantity": "3",
"rate": "5",
"rateUnit": "s",
"delayOnStart": false,
"startDelayTime": "",
"server": "ad952d25.37b4",
"useIOFile": false,
"ioFile": "",
"useIOForPayload": false,
"emptyMsgOnFail": false,
"x": 180,
"y": 240,
"wires": [
[
"2d9cb462.8c4edc"
],
[]
]
},
{
"id": "d9257889.b30b28",
"type": "ui_text",
"z": "1d2d171.e382ae9",
"group": "cb8fa310.81f01",
"order": 6,
"width": 0,
"height": 0,
"name": "",
"label": "Power Factor",
"format": "{{msg.payload}}",
"layout": "row-left",
"x": 600,
"y": 260,
"wires": []
},
{
"id": "2d9cb462.8c4edc",
"type": "range",
"z": "1d2d171.e382ae9",
"minin": "0",
"maxin": "1000",
"minout": "0",
"maxout": "100",
"action": "scale",
"round": false,
"property": "payload",
"name": "",
"x": 380,
"y": 260,
"wires": [
[
"d9257889.b30b28"
]
]
},
{
"id": "727c91ef.d1e1d",
"type": "ui_text",
"z": "1d2d171.e382ae9",
"group": "cb8fa310.81f01",
"order": 1,
"width": 0,
"height": 0,
"name": "",
"label": "Voltage",
"format": "{{msg.payload}} (V)",
"layout": "row-left",
"x": 660,
"y": 80,
"wires": []
},
{
"id": "06d76927b556780b",
"type": "function",
"z": "1d2d171.e382ae9",
"name": "",
"func": "msg.payload = parseInt(msg.payload,16);\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 400,
"y": 200,
"wires": [
[
"28a5556a.9eb7c2"
]
]
},
{
"id": "ad952d25.37b4",
"type": "modbus-client",
"name": "Serial",
"clienttype": "serial",
"bufferCommands": true,
"stateLogEnabled": true,
"queueLogEnabled": true,
"tcpHost": "127.0.0.1",
"tcpPort": "502",
"tcpType": "DEFAULT",
"serialPort": "COM6",
"serialType": "RTU-BUFFERD",
"serialBaudrate": "9600",
"serialDatabits": "8",
"serialStopbits": "1",
"serialParity": "even",
"serialConnectionDelay": "100",
"serialAsciiResponseStartDelimiter": "",
"unit_id": "1",
"commandDelay": "1",
"clientTimeout": "1000",
"reconnectOnTimeout": true,
"reconnectTimeout": "2000",
"parallelUnitIdsAllowed": true
},
{
"id": "cf7e1722.e9c28",
"type": "ui_group",
"name": "Spa Charts",
"tab": "c1c558a3.75e47",
"order": 2,
"disp": true,
"width": "20",
"collapse": false
},
{
"id": "cb8fa310.81f01",
"type": "ui_group",
"name": "Spa Values",
"tab": "c1c558a3.75e47",
"order": 2,
"disp": true,
"width": "6",
"collapse": false
},
{
"id": "c1c558a3.75e47",
"type": "ui_tab",
"name": "Spa",
"icon": "dashboard",
"disabled": false,
"hidden": false
}
]