yunkong2.modbus/io-package.json

89 lines
2.3 KiB
JSON
Raw Normal View History

2018-09-15 01:04:38 +08:00
{
"common": {
"name": "modbus",
"version": "2.0.7",
"title": "ModBus",
"desc": {
"en": "ModBus connection Slave or Master",
2018-09-24 08:29:14 +08:00
"de": "云控 Modbus"
2018-09-15 01:04:38 +08:00
},
"authors": [
"bluefox <dogafox@gmail.com>"
],
"license": "MIT",
"platform": "Javascript/Node.js",
"mode": "daemon",
"loglevel": "info",
"messagebox": true,
"icon": "modbus.png",
"keywords": [
"ModBus"
],
"enabled": true,
"extIcon": "https://git.spacen.net/yunkong2/yunkong2.modbus/raw/master/admin/modbus.png",
"readme": "https://github.com/yunkong2/yunkong2.modbus/blob/master/README.md",
"type": "protocols",
"config": {
"minWidth": 1024,
"width": 1224,
"height": 600
}
},
"native": {
"params": {
"type": "tcp",
"bind": "127.0.0.1",
"port": 502,
"comName": "",
"baudRate": 9600,
"dataBits": 8,
"stopBits": 1,
"parity": "none",
"deviceId": 1,
"timeout": 5000,
"slave": 0,
"poll": 1000,
"recon": 60000,
"maxBlock": 100,
"maxBoolBlock": 128,
"multiDeviceId": false,
"pulsetime": 1000,
"disInputsOffset": 10001,
"coilsOffset": 1,
"inputRegsOffset": 30001,
"holdingRegsOffset": 40001,
"showAliases": true,
"directAddresses": false,
"round": 2,
"doNotRoundAddressToWord": false
},
"disInputs": [],
"coils": [],
"inputRegs": [],
"holdingRegs": []
},
"instanceObjects": [
{
"_id": "info",
"type": "channel",
"common": {
"name": "Information"
},
"native": {}
},
{
"_id": "info.connection",
"type": "state",
"common": {
"role": "indicator.connected",
"name": "If master connected",
"type": "boolean",
"read": true,
"write": false,
"def": false
},
"native": {}
}
]
}