genmon/data/controller/Deepsea_controller.json
2022-02-05 18:30:56 -05:00

393 lines
9.9 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,
"9a00": 2,
"9a01": 4,
"9a03": 4,
"0304": 2,
"0406": 2,
"0407": 2,
"0009": 2,
"0424": 2,
"0600": 2,
"0405": 2,
"0706": 4,
"0408": 2,
"0403": 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": "9a03",
"mask": "0000ffff",
"value": "00000005",
"type": "bits",
"title": "Alarm",
"text": "Low Battery"
},
{
"reg": "9a01",
"mask": "0000ffff",
"value": "00000005",
"type": "bits",
"title": "Alarm",
"text": "High Temperature"
},
{
"reg": "9a00",
"type": "default",
"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": "8B74"
},
{
"reg": "1009",
"value": "748B"
}
]
},
{
"onewordcommand" : "auto",
"title" : "Auto Mode",
"command_sequence" : [
{
"reg": "1008",
"value": "8B75"
},
{
"reg": "1009",
"value": "748A"
}
]
},
{
"onewordcommand" : "manual",
"title" : "Manual Mode",
"command_sequence" : [
{
"reg": "1008",
"value": "8B76"
},
{
"reg": "1009",
"value": "7489"
}
]
},
{
"onewordcommand" : "mutealarm",
"title" : "Mute Alarm",
"command_sequence" : [
{
"reg": "1008",
"value": "8B7A"
},
{
"reg": "1009",
"value": "7485"
}
]
},
{
"onewordcommand" : "test",
"title" : "Test On Load Mode",
"command_sequence" : [
{
"reg": "1008",
"value": "8B77"
},
{
"reg": "1009",
"value": "7488"
}
]
},
{
"onewordcommand" : "startest",
"title" : "Start Engine(For Test or Manual Mode)",
"command_sequence" : [
{
"reg": "1008",
"value": "8B79"
},
{
"reg": "1009",
"value": "7486"
}
]
}
],
"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"
}
]
}