497 lines
19 KiB
JSON
497 lines
19 KiB
JSON
{
|
|
"modbus":
|
|
{
|
|
"type":"rs485",
|
|
"port":"COM1",
|
|
"baudrate":9600,
|
|
"parity":"N",
|
|
"stopbits":1,
|
|
"data":8,
|
|
"ip":"127.0.0.1",
|
|
"ip_port":502
|
|
},
|
|
"slaves":[
|
|
{
|
|
"id":1,
|
|
"function_code":3,
|
|
"address":[
|
|
{
|
|
"start_addr":41984,
|
|
"quantity":7,
|
|
"bytes_per_register":2,
|
|
"language":"En",
|
|
"device_name_chn":"温湿度",
|
|
"device_name_eng":"Temperature",
|
|
"device_type":1,
|
|
"data": [
|
|
{
|
|
"comment":"在线状态",
|
|
"order":0,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"在线状态",
|
|
"title_eng":"Online",
|
|
"display":1,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"从节点地址跳过",
|
|
"order":1,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"",
|
|
"title_eng":"",
|
|
"display":0,
|
|
"skip":1
|
|
},
|
|
{
|
|
"comment":"温度",
|
|
"order":2,
|
|
"precision":10,
|
|
"unit":"℃",
|
|
"title_chn":"温度",
|
|
"title_eng":"T (℃) ",
|
|
"display":1,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"湿度",
|
|
"order":3,
|
|
"precision":1,
|
|
"unit":"%",
|
|
"title_chn":"湿度",
|
|
"title_eng":"RH (%)",
|
|
"display":1,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"回/出风状态跳过",
|
|
"order":4,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"回/出风状态",
|
|
"title_eng":"",
|
|
"display":0,
|
|
"skip":1
|
|
},
|
|
{
|
|
"comment":"高精度温度",
|
|
"order":5,
|
|
"precision":100,
|
|
"unit":"℃",
|
|
"title_chn":"高精度温度",
|
|
"title_eng":"HD T (℃)",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"高精度湿度",
|
|
"order":6,
|
|
"precision":1,
|
|
"unit":"%",
|
|
"title_chn":"高精度湿度值",
|
|
"title_eng":"HD RH (%)",
|
|
"display":2,
|
|
"skip":0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"start_addr":41991,
|
|
"quantity":4,
|
|
"bytes_per_register":2,
|
|
"language":"en",
|
|
"device_name_chn":"温湿度告警",
|
|
"device_name_eng":"Alarm",
|
|
"device_type":6,
|
|
"data": [
|
|
{
|
|
"comment":"设备通讯状态",
|
|
"order":0,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"设备通讯状态",
|
|
"title_eng":"Online1",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"高温告警",
|
|
"order":1,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"高温告警",
|
|
"title_eng":"High Temp.",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"高湿告警",
|
|
"order":2,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"高湿告警",
|
|
"title_eng":"High Humidity",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"低温告警",
|
|
"order":3,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"低温告警",
|
|
"title_eng":"Low Temp.",
|
|
"display":2,
|
|
"skip":0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"start_addr":43520,
|
|
"quantity":4,
|
|
"bytes_per_register":2,
|
|
"language":"en",
|
|
"device_name_chn":"传感器",
|
|
"device_name_eng":"Sensor",
|
|
"device_type":99,
|
|
"data": [
|
|
{
|
|
"comment":"设备通讯状态",
|
|
"order":0,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"设备通讯状态",
|
|
"title_eng":"Online",
|
|
"display":1,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"门禁状态",
|
|
"order":1,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"门禁状态",
|
|
"title_eng":"Access Control",
|
|
"display":1,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"水浸传感器",
|
|
"order":2,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"水浸传感器",
|
|
"title_eng":"water ingress",
|
|
"display":1,
|
|
"skip":1
|
|
},
|
|
{
|
|
"comment":"烟雾传感器",
|
|
"order":3,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"烟雾传感器",
|
|
"title_eng":"Smoke",
|
|
"display":1,
|
|
"skip":0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"start_addr":43524,
|
|
"quantity":4,
|
|
"bytes_per_register":2,
|
|
"language":"en",
|
|
"device_name_chn":"传感器告警",
|
|
"device_name_eng":"Sensor Alarm",
|
|
"device_type":6,
|
|
"data": [
|
|
{
|
|
"comment":"设备在线",
|
|
"order":0,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"设备在线",
|
|
"title_eng":"Online",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"门禁告警",
|
|
"order":1,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"门禁告警",
|
|
"title_eng":"Access Control Alarm",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"水浸告警",
|
|
"order":2,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"水浸告警",
|
|
"title_eng":"Water ingress",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"烟雾告警",
|
|
"order":3,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"烟雾告警",
|
|
"title_eng":"Smoke",
|
|
"display":2,
|
|
"skip":0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"start_addr":1536,
|
|
"quantity":11,
|
|
"bytes_per_register":2,
|
|
"language":"en",
|
|
"device_name_chn":"交流配电屏",
|
|
"device_name_eng":"AC Power",
|
|
"device_type":4,
|
|
"data": [
|
|
{
|
|
"comment":"设备通讯状态",
|
|
"order":0,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"设备通讯状态",
|
|
"title_eng":"Online",
|
|
"display":1,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"交流屏交流输入路数跳过",
|
|
"order":1,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"",
|
|
"title_eng":"",
|
|
"display":0,
|
|
"skip":1
|
|
},
|
|
{
|
|
"comment":"相电压AB/A",
|
|
"order":2,
|
|
"precision":1,
|
|
"unit":"V",
|
|
"title_chn":"相电压AB/A",
|
|
"title_eng":"Vin AB/A",
|
|
"display":1,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"相电压BC/B",
|
|
"order":3,
|
|
"precision":1,
|
|
"unit":"V",
|
|
"title_chn":"相电压BC/B",
|
|
"title_eng":"Vin BC/B",
|
|
"display":1,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"相电压CA/C",
|
|
"order":4,
|
|
"precision":1,
|
|
"unit":"V",
|
|
"title_chn":"相电压CA/C",
|
|
"title_eng":"Vin CA/C",
|
|
"display":1,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"输入频率",
|
|
"order":5,
|
|
"precision":1,
|
|
"unit":"Hz",
|
|
"title_chn":"输入频率",
|
|
"title_eng":"Freq.",
|
|
"display":2,
|
|
"skip":1
|
|
},
|
|
{
|
|
"comment":"交流总电量",
|
|
"order":6,
|
|
"precision":1,
|
|
"unit":"Kwh",
|
|
"title_chn":"交流总电量",
|
|
"title_eng":"AC Total",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"输出电流A",
|
|
"order":7,
|
|
"precision":1,
|
|
"unit":"A",
|
|
"title_chn":"输出电流A",
|
|
"title_eng":"IAout",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"输出电流B",
|
|
"order":8,
|
|
"precision":1,
|
|
"unit":"A",
|
|
"title_chn":"输出电流B",
|
|
"title_eng":"IBout",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"输出电流C",
|
|
"order":9,
|
|
"precision":1,
|
|
"unit":"A",
|
|
"title_chn":"输出电流C",
|
|
"title_eng":"ICAout",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"检测输出开关数量N",
|
|
"order":10,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"检测输出开关数量N",
|
|
"title_eng":"Output SW. Num",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"系统供电方式",
|
|
"order":11,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"系统供电方式",
|
|
"title_eng":"Power Supply Mode",
|
|
"display":2,
|
|
"skip":0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"start_addr":1548,
|
|
"quantity":10,
|
|
"bytes_per_register":2,
|
|
"language":"en",
|
|
"device_name_chn":"交流告警",
|
|
"device_name_eng": "AC Alarm",
|
|
"device_type":6,
|
|
"data": [
|
|
{
|
|
"comment":"设备在线",
|
|
"order":0,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"设备在线",
|
|
"title_eng":"Online",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"相电压AB/A",
|
|
"order":1,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"相电压AB/A",
|
|
"title_eng":"Vin AB/A",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"相电压BC/B",
|
|
"order":2,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"相电压BC/B",
|
|
"title_eng":"Vin BC/B",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"相电压CA/C",
|
|
"order":3,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"相电压CA/C",
|
|
"title_eng":"Vin CA/C",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"频率",
|
|
"order":4,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"频率",
|
|
"title_eng":"Freq.",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"防雷器",
|
|
"order":5,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"频率",
|
|
"title_eng":"Lightning Arrester",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"交流停电",
|
|
"order":6,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"交流停电",
|
|
"title_eng":"AC Power Outage",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"A相输入电流",
|
|
"order":7,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"A相输入电流",
|
|
"title_eng":"Iin A",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"B相输入电流",
|
|
"order":8,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"B相输入电流",
|
|
"title_eng":"Iin B",
|
|
"display":2,
|
|
"skip":0
|
|
},
|
|
{
|
|
"comment":"C相输入电流",
|
|
"order":9,
|
|
"precision":1,
|
|
"unit":"",
|
|
"title_chn":"C相输入电流",
|
|
"title_eng":"Iin C",
|
|
"display":2,
|
|
"skip":0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |