feat(utils): adapt WAGO CC100 hardware module
This commit is contained in:
@@ -0,0 +1,153 @@
|
||||
{
|
||||
"elements": [
|
||||
{
|
||||
"type": "Label",
|
||||
"caption": "WAGO CC100 751-9301: Nur aktivierte Kanaele werden als Variablen angelegt."
|
||||
},
|
||||
{
|
||||
"type": "List",
|
||||
"name": "Kanalauswahl",
|
||||
"caption": "Onboard-I/O",
|
||||
"add": true,
|
||||
"delete": true,
|
||||
"sortable": false,
|
||||
"columns": [
|
||||
{
|
||||
"caption": "Aktiv",
|
||||
"name": "Aktiv",
|
||||
"width": "10%",
|
||||
"add": false,
|
||||
"edit": {
|
||||
"type": "CheckBox"
|
||||
}
|
||||
},
|
||||
{
|
||||
"caption": "Typ",
|
||||
"name": "Typ",
|
||||
"width": "12%",
|
||||
"add": "DI",
|
||||
"edit": {
|
||||
"type": "Select",
|
||||
"options": [
|
||||
{ "caption": "Digitaler Eingang", "value": "DI" },
|
||||
{ "caption": "Digitaler Ausgang", "value": "DO" },
|
||||
{ "caption": "Analoger Eingang", "value": "AI" },
|
||||
{ "caption": "Analoger Ausgang", "value": "AO" },
|
||||
{ "caption": "PT1000", "value": "PT" }
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"caption": "Kanal",
|
||||
"name": "Kanal",
|
||||
"width": "10%",
|
||||
"add": 1,
|
||||
"edit": {
|
||||
"type": "NumberSpinner",
|
||||
"minimum": 1,
|
||||
"maximum": 8
|
||||
}
|
||||
},
|
||||
{
|
||||
"caption": "Anzeigename",
|
||||
"name": "Anzeigename",
|
||||
"width": "38%",
|
||||
"add": "",
|
||||
"edit": {
|
||||
"type": "ValidationTextBox"
|
||||
}
|
||||
},
|
||||
{
|
||||
"caption": "Polling (ms)",
|
||||
"name": "Abfrageintervall",
|
||||
"width": "20%",
|
||||
"add": 1000,
|
||||
"edit": {
|
||||
"type": "NumberSpinner",
|
||||
"minimum": 100,
|
||||
"maximum": 3600000
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "ExpansionPanel",
|
||||
"caption": "Erweiterte Hardwarepfade",
|
||||
"expanded": false,
|
||||
"items": [
|
||||
{
|
||||
"type": "ValidationTextBox",
|
||||
"name": "DigitalInputPath",
|
||||
"caption": "Digitale Eingaenge"
|
||||
},
|
||||
{
|
||||
"type": "ValidationTextBox",
|
||||
"name": "DigitalOutputPath",
|
||||
"caption": "Digitale Ausgaenge"
|
||||
},
|
||||
{
|
||||
"type": "ValidationTextBox",
|
||||
"name": "CalibrationPath",
|
||||
"caption": "Kalibrierdatei"
|
||||
},
|
||||
{
|
||||
"type": "ValidationTextBox",
|
||||
"name": "AI1Path",
|
||||
"caption": "AI1 Rohwert"
|
||||
},
|
||||
{
|
||||
"type": "ValidationTextBox",
|
||||
"name": "AI2Path",
|
||||
"caption": "AI2 Rohwert"
|
||||
},
|
||||
{
|
||||
"type": "ValidationTextBox",
|
||||
"name": "AO1ValuePath",
|
||||
"caption": "AO1 Rohwert"
|
||||
},
|
||||
{
|
||||
"type": "ValidationTextBox",
|
||||
"name": "AO1PowerPath",
|
||||
"caption": "AO1 Freigabe"
|
||||
},
|
||||
{
|
||||
"type": "ValidationTextBox",
|
||||
"name": "AO2ValuePath",
|
||||
"caption": "AO2 Rohwert"
|
||||
},
|
||||
{
|
||||
"type": "ValidationTextBox",
|
||||
"name": "AO2PowerPath",
|
||||
"caption": "AO2 Freigabe"
|
||||
},
|
||||
{
|
||||
"type": "ValidationTextBox",
|
||||
"name": "PT1Path",
|
||||
"caption": "PT1 Rohwert"
|
||||
},
|
||||
{
|
||||
"type": "ValidationTextBox",
|
||||
"name": "PT2Path",
|
||||
"caption": "PT2 Rohwert"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "CheckBox",
|
||||
"name": "Debug",
|
||||
"caption": "Debug-Logging aktivieren"
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"type": "Button",
|
||||
"caption": "Kanaele jetzt einlesen",
|
||||
"onClick": "IPS_RequestAction($id, 'Poll', true);"
|
||||
}
|
||||
],
|
||||
"status": [
|
||||
{ "code": 201, "icon": "error", "caption": "Konfiguration ungueltig" },
|
||||
{ "code": 202, "icon": "error", "caption": "Hardware nicht lesbar" },
|
||||
{ "code": 203, "icon": "error", "caption": "Hardware konnte nicht geschrieben werden" }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user