You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
124 lines
2.6 KiB
124 lines
2.6 KiB
{
|
|
"schema_version": 2,
|
|
"compat_profile": "dpworldapp-config-contract-v2-proposal",
|
|
"generated_from": {
|
|
"legacy_protocol_file": "/var/www/html/config_protocol.json",
|
|
"captured_path": "C:\\Users\\F1304\\Downloads\\default www\\config_protocol.json"
|
|
},
|
|
"device": {
|
|
"type": "rtls",
|
|
"version": "v1.0",
|
|
"equipment": "ITV",
|
|
"equipment_id": "01",
|
|
"meid": "7000"
|
|
},
|
|
"positioning": {
|
|
"dead_reckoning": true,
|
|
"heading": true,
|
|
"fix_mode": true,
|
|
"heading_imu": true,
|
|
"speed_source": "can",
|
|
"odometer": {
|
|
"enabled": true,
|
|
"speed": {
|
|
"source": "can",
|
|
"can_id": "0x18FEFC28",
|
|
"shift_bits": 8,
|
|
"mask": "0xffff",
|
|
"expression": "x*0.05+10.0"
|
|
},
|
|
"direction": {
|
|
"source": "hw"
|
|
}
|
|
}
|
|
},
|
|
"interface": {
|
|
"protocol": "opc_ua",
|
|
"can_input": true
|
|
},
|
|
"byte_order": {
|
|
"two_byte": "big",
|
|
"four_byte": "big"
|
|
},
|
|
"io": {
|
|
"analog_input_level": 6,
|
|
"analog_inputs": [
|
|
true,
|
|
true,
|
|
true,
|
|
false
|
|
],
|
|
"digital_inputs": [
|
|
true,
|
|
true,
|
|
false,
|
|
false
|
|
]
|
|
},
|
|
"mappings": {
|
|
"opc_ua": [
|
|
{
|
|
"field": "TMP1",
|
|
"namespace": 3,
|
|
"address": "1001",
|
|
"output_type": "integer",
|
|
"default_value": "-9",
|
|
"expression": "x*10.0"
|
|
},
|
|
{
|
|
"field": "TMP2",
|
|
"namespace": 3,
|
|
"address": "1002",
|
|
"output_type": "float",
|
|
"default_value": "-9",
|
|
"expression": "x/10.0"
|
|
},
|
|
{
|
|
"field": "TMP3",
|
|
"namespace": 3,
|
|
"address": "1003",
|
|
"output_type": "boolean",
|
|
"default_value": "-9",
|
|
"expression": "x+10.0"
|
|
},
|
|
{
|
|
"field": "TMP4",
|
|
"namespace": 3,
|
|
"address": "1004",
|
|
"output_type": "string",
|
|
"default_value": "0",
|
|
"expression": "x-10.0"
|
|
}
|
|
],
|
|
"can": [
|
|
{
|
|
"field": "CAN1",
|
|
"can_id": "0x18FEFC28",
|
|
"shift_bits": 8,
|
|
"mask": "0xffff",
|
|
"expression": "x*0.05+10.0",
|
|
"output_type": "integer",
|
|
"default_value": "-9"
|
|
},
|
|
{
|
|
"field": "CAN3",
|
|
"can_id": "0x18FEFC24",
|
|
"shift_bits": 4,
|
|
"mask": "0xffff00",
|
|
"expression": "x/10.0-1.0",
|
|
"output_type": "integer",
|
|
"default_value": "-9"
|
|
},
|
|
{
|
|
"field": "CAN2",
|
|
"can_id": "0x18FEEE00",
|
|
"shift_bits": 16,
|
|
"mask": "0xff",
|
|
"expression": "x*0.05+10.0",
|
|
"output_type": "float",
|
|
"default_value": "-9"
|
|
}
|
|
],
|
|
"modbus": []
|
|
}
|
|
}
|
|
|