89 lines
2.1 KiB
JSON
89 lines
2.1 KiB
JSON
{
|
|
"devices": [
|
|
{
|
|
"physicalDeviceId": "phy_modbus_slave_1",
|
|
"channelId": "serial_0",
|
|
"protocol": "modbus",
|
|
"slaveId": 1,
|
|
"points": [
|
|
{
|
|
"physicalPointId": "phy_modbus_s1_r40001",
|
|
"register": 40001,
|
|
"function": 3,
|
|
"scale": 0.1,
|
|
"signalType": "AI",
|
|
"writable": false
|
|
},
|
|
{
|
|
"physicalPointId": "phy_modbus_s1_r40002",
|
|
"register": 40002,
|
|
"function": 3,
|
|
"writeFunction": 6,
|
|
"scale": 1.0,
|
|
"signalType": "AO",
|
|
"writable": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"physicalDeviceId": "phy_modbus_tcp_slave_255",
|
|
"channelId": "eth_modbus_tcp_0",
|
|
"protocol": "modbus",
|
|
"slaveId": 255,
|
|
"points": [
|
|
{
|
|
"physicalPointId": "phy_modbus_tcp_s255_r40001",
|
|
"register": 40001,
|
|
"function": 3,
|
|
"scale": 0.1,
|
|
"signalType": "AI",
|
|
"writable": false,
|
|
"pollIntervalMs": 500
|
|
},
|
|
{
|
|
"physicalPointId": "phy_modbus_tcp_s255_r40002",
|
|
"register": 40002,
|
|
"function": 3,
|
|
"writeFunction": 6,
|
|
"scale": 1.0,
|
|
"signalType": "AO",
|
|
"writable": true,
|
|
"pollIntervalMs": 500
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"physicalDeviceId": "phy_canopen_node_1",
|
|
"channelId": "can_0",
|
|
"protocol": "canopen",
|
|
"nodeId": 1,
|
|
"edsPath": "samples/minimal.eds",
|
|
"points": [
|
|
{
|
|
"physicalPointId": "phy_can_s1_temp",
|
|
"objectIndex": 25600,
|
|
"subIndex": 1,
|
|
"pdoType": "tpdo",
|
|
"cobId": 385,
|
|
"scale": 0.1,
|
|
"signalType": "AI",
|
|
"writable": false,
|
|
"reportOnChange": true,
|
|
"deadband": 0.5,
|
|
"pollIntervalMs": 500
|
|
},
|
|
{
|
|
"physicalPointId": "phy_can_s1_setpoint",
|
|
"objectIndex": 25601,
|
|
"subIndex": 1,
|
|
"pdoType": "sdo",
|
|
"scale": 1.0,
|
|
"signalType": "AO",
|
|
"writable": true,
|
|
"pollIntervalMs": 1000
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|