YO Modbus
User guide
v2.1
page 15/33
"modbus": {
"terminationresistor": false,
"driverswitchidletime": 5
},
"serial": {
"baudrate": 9600,
"databits": 8,
"parity": "none",
"stopbits": 1
},
"timings": {
"responsetimeout": 1000,
"delaybetweenpolls": 100
},
"queries": [
{
"name": "01Ph1V",
"slaveaddr": 1,
"funccode": 3,
"startreg": "1000",
"regnbr": 2
},
{
"name": "RunHour",
"slaveaddr": 1,
"funccode": 3,
"startreg": "106e",
"regnbr": 1
},
{
"name": "3PHpwrfctr",
"slaveaddr": 1,
"funccode": 3,
"startreg": "1024",
"regnbr": 1
},
{
"name": "1PHactpwr",
"slaveaddr": 1,
"funccode": 3,
"startreg": "102c",
"regnbr": 2
}
],
"pollstosend": [
{
"cnt": 1,
"out": [
"01Ph1V",
"RunHour",
"3PHpwrfctr",
"1PHactpwr",
]
}
]
}