genmon/data/controller/Deepsea_controller.json
2022-02-21 12:11:19 -05:00

518 lines
13 KiB
JSON

{
"controller_name": "DeepSea Controller",
"rated_max_output_power_kw": "22",
"rated_nominal_voltage": 240,
"rated_nominal_rpm" : 1500,
"rated_nominal_freq" : 50,
"nominal_battery_voltage" : 24,
"generator_phase": 1,
"base_registers": {
"008b": 4,
"0080": 4,
"9900": 2,
"9a00": 2,
"9a01": 4,
"9a03": 4,
"9a05": 4,
"9a07": 4,
"9a09": 4,
"9a0a": 4,
"9a0b": 4,
"0304": 2,
"0406": 2,
"0407": 2,
"0009": 2,
"0424": 2,
"0600": 2,
"0405": 2,
"0706": 4,
"0408": 2,
"0403": 2,
"0006": 2
},
"switch_state": [
{
"reg": "0304",
"mask": "0000ffff",
"value": "7",
"type": "bits",
"title": "Switch State",
"text": "Off"
},
{
"reg": "0304",
"mask": "ffff",
"value": "1",
"type": "bits",
"title": "Switch State",
"text": "Auto"
},
{
"reg": "0304",
"mask": "ffff",
"value": "2",
"type": "bits",
"title": "Switch State",
"text": "Manual"
},
{
"reg": "0304",
"mask": "ffff",
"value": "3",
"type": "bits",
"title": "Switch State",
"text": "Test On load Mode"
},
{
"reg": "0304",
"mask": "ffff",
"value": "0",
"type": "bits",
"title": "Switch State",
"text": "Stopped"
}
],
"alarm_conditions": [
{
"reg": "9a01",
"mask": "0000000f",
"value": "1",
"type": "regex",
"regex": "^[1-9a-f]$",
"title": "Alarm",
"text": "Low Coolant Temperature"
},
{
"reg": "9a01",
"mask": "000000f0",
"value": "1",
"type": "regex",
"regex": "^[1-9a-f]0$",
"title": "Alarm",
"text": "High Coolant Temperature"
},
{
"reg": "9a01",
"mask": "00000f00",
"value": "1",
"type": "regex",
"regex": "^[1-9a-f]00$",
"title": "Alarm",
"text": "Low Oil Pressure"
},
{
"reg": "9a01",
"mask": "0000f000",
"value": "1",
"type": "regex",
"regex": "^[1-9a-f]000$",
"title": "Alarm",
"text": "Emergency Stop"
},
{
"reg": "9a01",
"mask": "000f0000",
"value": "1",
"type": "regex",
"regex": "^[1-9a-f]0000$",
"title": "Alarm",
"text": "Generator Over Frequency"
},
{
"reg": "9a01",
"mask": "00f00000",
"value": "1",
"type": "regex",
"regex": "^[1-9a-f]00000$",
"title": "Alarm",
"text": "Generator Under Frequency"
},
{
"reg": "9a01",
"mask": "0f000000",
"value": "1",
"type": "regex",
"regex": "^[1-9a-f]000000$",
"title": "Alarm",
"text": "Generator Over Speed"
},
{
"reg": "9a01",
"mask": "f0000000",
"value": "1",
"type": "regex",
"regex": "^[1-9a-f]0000000$",
"title": "Alarm",
"text": "Generator Under Speed"
},
{
"reg": "9a03",
"mask": "0000000f",
"value": "1",
"type": "regex",
"regex": "^[1-9a-f]$",
"title": "Alarm",
"text": "High Battery Voltage"
},
{
"reg": "9a03",
"mask": "000000f0",
"value": "1",
"type": "regex",
"regex": "^[1-9a-f]0$",
"title": "Alarm",
"text": "Low Battery Voltage"
},
{
"reg": "9a03",
"mask": "00000f00",
"value": "1",
"type": "regex",
"regex": "^[1-9a-f]00$",
"title": "Alarm",
"text": "Generator High Voltage"
},
{
"reg": "9a03",
"mask": "0000f000",
"value": "1",
"type": "regex",
"regex": "^[1-9a-f]000$",
"title": "Alarm",
"text": "Generator Low Voltage"
},
{
"reg": "9a03",
"mask": "000f0000",
"value": "1",
"type": "regex",
"regex": "^[1-9a-f]0000$",
"title": "Alarm",
"text": "Generator Fail to Close"
},
{
"reg": "9a03",
"mask": "00f00000",
"value": "1",
"type": "regex",
"regex": "^[1-9a-f]00000$",
"title": "Alarm",
"text": "Fail to Stop"
},
{
"reg": "9a03",
"mask": "0f000000",
"value": "1",
"type": "regex",
"regex": "^[1-9a-f]000000$",
"title": "Alarm",
"text": "Fail to Start"
},
{
"reg": "9a03",
"mask": "f0000000",
"value": "1",
"type": "regex",
"regex": "^[1-9a-f]0000000$",
"title": "Alarm",
"text": "Charge Alternator Failure"
},
{
"reg": "9a00",
"mask": "01ff",
"value": "1",
"type": "regex",
"regex": "^1[e-f]|[2-9a-f][0-9a-f]|100$",
"title": "Alarm",
"text": "Unknown Alarm"
}
],
"generator_status" : [
{
"reg": "0080",
"mask": "000f0000",
"value": "2",
"type": "bits",
"title": "Engine State",
"text": "Exercising"
}
],
"engine_state": [
{
"reg": "0080",
"mask": "000f0000",
"value": "2",
"type": "bits",
"title": "Engine State",
"text": "Exercising"
},
{
"reg": "0080",
"mask": "000f0000",
"value": "5",
"type": "bits",
"title": "Engine State",
"text": "Stopped"
},
{
"reg": "0080",
"mask": "000f0000",
"value": "4",
"type": "bits",
"title": "Engine State",
"text": "Cooling Down"
},
{
"reg": "0080",
"mask": "000f0000",
"value": "3",
"type": "bits",
"title": "Engine State",
"text": "Running"
},
{
"reg": "0080",
"mask": "000f0000",
"value": "5",
"type": "bits",
"title": "Engine State",
"text": "Stopped In Alarm"
}
],
"status" : [
{
"reg": "0408",
"mask": "ffff",
"multiplier": 1,
"type": "int",
"title": "Output Voltage",
"units": "V"
},
{
"reg": "0407",
"mask": "ffff",
"multiplier": 1,
"type": "int",
"title": "Frequency",
"units": "Hz"
},
{
"reg": "0405",
"mask": "ffff",
"multiplier": 0.1,
"type": "float",
"title": "Battery Voltage",
"units": "V"
},
{
"reg": "0424",
"mask": "ffff",
"multiplier": 1,
"type": "int",
"title": "Utility Voltage",
"units": "V"
}
],
"maintenance": [
{
"reg": "0706",
"mask": "ffffffff",
"multiplier": 1,
"type": "int",
"title": "Run Hours",
"units": "h"
}
],
"gauges": [
{
"reg": "0405",
"mask": "ffff",
"multiplier": 0.1,
"type": "float",
"title": "Battery Voltage",
"units": "V",
"sensor": "batteryvolts",
"nominal": 24,
"values": [0, 8, 10, 34, 36, 44],
"maximum": 44
},
{
"reg": "0424",
"mask": "ffff",
"multiplier": 1,
"type": "int",
"title": "Utility Voltage",
"units": "V",
"sensor": "linevolts",
"nominal": 240
},
{
"reg": "0408",
"mask": "ffff",
"multiplier": 1,
"type": "int",
"title": "Output Voltage",
"units": "V",
"sensor": "linevolts",
"nominal": 240
},
{
"reg": "0407",
"mask": "ffff",
"multiplier": 0.01,
"type": "float",
"title": "Frequency",
"units": "Hz",
"sensor": "frequency",
"nominal": 60
},
{
"reg": "0406",
"mask": "ffff",
"multiplier": 1,
"type": "int",
"title": "RPM",
"units": null,
"sensor": "rpm",
"nominal": 1800
},
{
"reg": "0009",
"mask": "ffff",
"multiplier": 0.01,
"type": "float",
"title": "Power",
"units": "kW",
"sensor": "powergraph",
"nominal": 48
}
],
"buttons" : [
{
"onewordcommand" : "stop",
"title" : "Stop Mode",
"command_sequence" : [
{
"reg": "1008",
"value": ["8B", "74", "74", "8b"]
}
]
},
{
"onewordcommand" : "auto",
"title" : "Auto Mode",
"command_sequence" : [
{
"reg": "1008",
"value": ["8b", "75", "74", "8a"]
}
]
},
{
"onewordcommand" : "manual",
"title" : "Manual Mode",
"command_sequence" : [
{
"reg": "1008",
"value": ["8b", "76", "74", "89"]
}
]
},
{
"onewordcommand" : "mutealarm",
"title" : "Mute Alarm",
"command_sequence" : [
{
"reg": "1008",
"value":["8b", "7a", "74", "85"]
}
]
},
{
"onewordcommand" : "test",
"title" : "Test On Load Mode",
"command_sequence" : [
{
"reg": "1008",
"value": ["8b", "77", "74", "88"]
}
]
},
{
"onewordcommand" : "startest",
"title" : "Start Engine(For Test or Manual Mode)",
"command_sequence" : [
{
"reg": "1008",
"value": ["8b", "79", "74", "86"]
}
]
},
{
"onewordcommand" : "resetmaint",
"title" : "Reset the Maintenance Alarm 1",
"comment" : "This does nothing",
"command_sequence" : [
{
"reg": "1008",
"value": ["8b", "9a", "74", "65"]
}
]
}
],
"power": [
{
"reg": "0600",
"mask": "ffff",
"multiplier": 0.1,
"type": "float",
"title": "Power Output",
"units": "kW",
"sensor": "power"
}
],
"fuel": [
{
"reg": "0403",
"mask": "ffff",
"multiplier": 1,
"type": "int",
"title": "Fuel Sensor",
"units": "%",
"sensor": "fuel"
}
],
"outputvoltage": [
{
"reg": "0408",
"mask": "ffff",
"multiplier": 1,
"type": "int",
"title": "Output Voltage",
"units": "V",
"sensor": "linevolts"
}
],
"linevoltage": [
{
"reg": "0424",
"mask": "ffff",
"multiplier": 1,
"type": "int",
"title": "Utility Voltage",
"units": "V",
"sensor": "linevolts"
}
],
"run_hours": [
{
"reg": "0706",
"mask": "ffffffff",
"multiplier": 1,
"type": "int",
"title": "Run Hours",
"units": "h"
}
]
}