modbus rtu
This commit is contained in:
36
config/device_profiles.json
Normal file
36
config/device_profiles.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"profiles": [
|
||||
{
|
||||
"deviceId": "*",
|
||||
"protocol": "modbus_rtu",
|
||||
"mappings": [
|
||||
{
|
||||
"pointId": "temperature",
|
||||
"metadataId": "MD_TEMP_001",
|
||||
"registerAddress": 40001,
|
||||
"byteOffset": 0,
|
||||
"byteLength": 4,
|
||||
"bitOffset": -1,
|
||||
"endianness": "BIG_ENDIAN",
|
||||
"rawType": "INT32",
|
||||
"scaleFactor": 1.0,
|
||||
"offsetFactor": 0.0,
|
||||
"expression": "x * 0.1"
|
||||
},
|
||||
{
|
||||
"pointId": "pressure",
|
||||
"metadataId": "MD_PRESS_001",
|
||||
"registerAddress": 40003,
|
||||
"byteOffset": 4,
|
||||
"byteLength": 4,
|
||||
"bitOffset": -1,
|
||||
"endianness": "BIG_ENDIAN",
|
||||
"rawType": "INT32",
|
||||
"scaleFactor": 1.0,
|
||||
"offsetFactor": 0.0,
|
||||
"expression": "x * 0.001"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user