Added minimal functionality for Robot teaching

- Added minimal HMI
- Added possibility to open and close all chamber doors
This commit is contained in:
2026-01-17 09:20:39 +01:00
parent 9f058db2a3
commit 2d11c43579
2274 changed files with 912690 additions and 162 deletions

View File

@@ -0,0 +1,517 @@
{
"$schema": "../../TcHmiSrv/schema/ExtensionSettings.Schema.json",
"version": "14.4.293.0",
"configVersion": "1.0.1.5",
"guid": "5AE90DB9-B895-45AD-9B79-27A19FADCD86",
"visibility": "AlwaysShow",
"policies": [
"StrictPropertyValidation",
"StrictConfigListenerFilter"
],
"symbolCategories": [
{
"name": "native",
"localization": "CATEGORY_NATIVE"
},
{
"name": "wrapperFunctions",
"localization": "CATEGORY_WRAPPER_FUNCTIONS"
}
],
"symbols": {
"AdsSyncWriteControlReq": {
"category": "native",
"readValue": {
"function": true
},
"writeValue": {
"type": "object",
"properties": {
"Runtime": {
"type": "string"
},
"AdsState": {
"$ref": "#/definitions/adsState"
},
"DeviceState": {
"$ref": "tchmi:general#/definitions/UINT32"
},
"WriteData": {
"type": "string",
"format": "base64"
}
},
"required": [
"Runtime",
"AdsState",
"DeviceState",
"WriteData"
]
}
},
"AdsSyncReadDeviceInfoReq": {
"category": "native",
"userGroups": [
"__SystemUsers"
],
"readValue": {
"function": true
},
"writeValue": {
"type": "string",
"description": "Ads runtime."
}
},
"AdsSyncReadReq": {
"category": "native",
"readValue": {
"function": true
},
"writeValue": {
"type": "object",
"properties": {
"Runtime": {
"type": "string"
},
"IndexGroup": {
"$ref": "tchmi:general#/definitions/UINT32"
},
"IndexOffset": {
"$ref": "tchmi:general#/definitions/UINT32"
},
"ReadLen": {
"$ref": "tchmi:general#/definitions/UINT32"
}
},
"required": [
"Runtime",
"IndexGroup",
"ReadLen"
]
}
},
"AdsSyncReadStateReq": {
"category": "native",
"userGroups": [
"__SystemUsers"
],
"readValue": {
"function": true,
"type": "object",
"properties": {
"AdsState": {
"$ref": "#/definitions/adsState"
},
"DeviceState": {
"type": "integer"
}
}
},
"writeValue": {
"oneOf": [
{
"type": "string",
"description": "Ads runtime."
},
{
"type": "object",
"properties": {
"Runtime": {
"type": "string",
"description": "Ads runtime."
},
"Port": {
"allOf": [
{
"$ref": "tchmi:general#/definitions/UINT32"
},
{
"const": 10000,
"description": "Execute the request for a different ADS port"
}
]
}
},
"required": [
"Runtime"
]
}
]
}
},
"AdsSyncWriteReq": {
"category": "native",
"readValue": {
"function": true
},
"writeValue": {
"type": "object",
"properties": {
"Runtime": {
"type": "string"
},
"IndexGroup": {
"$ref": "tchmi:general#/definitions/UINT32"
},
"IndexOffset": {
"$ref": "tchmi:general#/definitions/UINT32"
},
"WriteData": {
"type": "string",
"format": "base64"
}
},
"required": [
"Runtime",
"IndexGroup",
"IndexOffset",
"WriteData"
]
}
},
"AdsSyncReadWriteReq": {
"category": "native",
"readValue": {
"function": true
},
"writeValue": {
"type": "object",
"properties": {
"Runtime": {
"type": "string"
},
"IndexGroup": {
"$ref": "tchmi:general#/definitions/UINT32"
},
"IndexOffset": {
"$ref": "tchmi:general#/definitions/UINT32"
},
"ReadLen": {
"$ref": "tchmi:general#/definitions/UINT32"
},
"WriteData": {
"type": "string",
"format": "base64"
}
},
"required": [
"Runtime",
"IndexGroup",
"IndexOffset",
"ReadLen",
"WriteData"
]
}
},
"CheckLicense": {
"category": "wrapperFunctions",
"userGroups": [
"__SystemUsers"
],
"readValue": {
"function": true,
"type": "object",
"properties": {
"expireTimeUTC": {
"type": "string",
"format": "date-time"
},
"result": {
"$ref": "tchmi:general#/definitions/UINT32"
},
"count": {
"$ref": "tchmi:general#/definitions/UINT32"
}
}
},
"writeValue": {
"type": "string"
}
},
"ListSymbols": {
"readValue": {
"function": true
}
},
"ListCommonTypes": {
"readValue": {
"function": true,
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"label",
"value"
]
}
}
},
"RuntimePorts": {
"category": "wrapperFunctions",
"readValue": {
"function": true,
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"name": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"required": [
"label",
"value"
]
}
},
"writeValue": {
"anyOf": [
{
"type": "object",
"properties": {
"NETID": {
"type": "string",
"format": "amsnetid"
},
"all": {
"type": "boolean",
"default": false
}
}
},
{
"$ref": "tchmi:general#/definitions/VOID"
}
]
}
},
"GetSystemId": {
"category": "wrapperFunctions",
"readValue": {
"function": true,
"type": "string"
}
},
"ListRoutes": {
"category": "wrapperFunctions",
"readValue": {
"function": true,
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"name": {
"type": "string"
},
"value": {
"type": "string",
"format": "amsnetid"
}
},
"required": [
"label",
"name",
"value"
]
}
}
},
"GetSchema": {
"writeValue": {
"type": "string"
},
"readValue": {
"function": true
}
},
"Diagnostics": {
"userGroups": [
"__SystemUsers"
],
"readValue": {
"allOf": [
{
"function": true
},
{
"oneOf": [
{
"versions": [
1.0
],
"type": "object",
"properties": {
"runtimes": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"connectionState": {
"propertyOrder": 1,
"type": "string"
},
"systemServiceAdsState": {
"propertyOrder": 2,
"type": "string"
},
"adsState": {
"propertyOrder": 3,
"type": "string"
},
"deviceName": {
"propertyOrder": 4,
"type": "string"
},
"adsApplicationName": {
"propertyOrder": 5,
"type": "string",
"visibility": "HideInEngineering"
},
"adsProjectName": {
"propertyOrder": 6,
"type": "string"
},
"adsProjectCompiledAt": {
"propertyOrder": 7,
"type": "string",
"format": "date-time",
"visibility": "HideInEngineering"
},
"adsVersion": {
"propertyOrder": 8,
"type": "string"
},
"adsVersionBuild": {
"propertyOrder": 9,
"type": "integer",
"minimum": 0,
"visibility": "HideInEngineering"
},
"isUserModeRuntime": {
"propertyOrder": 10,
"type": "boolean",
"visibility": "HideInEngineering"
}
},
"required": [
"deviceName",
"adsVersion",
"adsState",
"connectionState"
]
}
}
}
},
{
"versions": [
2.0
],
"type": "object",
"properties": {
"domainState": {
"propertyOrder": 2,
"type": "string",
"enum": [
"Good",
"Bad"
]
},
"domainError": {
"propertyOrder": 3,
"type": "string",
"format": "multiline"
},
"runtimes": {
"propertyOrder": 1,
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"connectionState": {
"propertyOrder": 1,
"type": "string"
},
"systemServiceAdsState": {
"propertyOrder": 2,
"type": "string"
},
"adsState": {
"propertyOrder": 3,
"type": "string"
},
"deviceName": {
"propertyOrder": 4,
"type": "string"
},
"adsApplicationName": {
"propertyOrder": 5,
"type": "string",
"visibility": "HideInEngineering"
},
"adsProjectName": {
"propertyOrder": 6,
"type": "string"
},
"adsProjectCompiledAt": {
"propertyOrder": 7,
"type": "string",
"format": "date-time",
"visibility": "HideInEngineering"
},
"adsVersion": {
"propertyOrder": 8,
"type": "string"
},
"adsVersionBuild": {
"propertyOrder": 9,
"type": "integer",
"minimum": 0,
"visibility": "HideInEngineering"
},
"isUserModeRuntime": {
"propertyOrder": 10,
"type": "boolean",
"visibility": "HideInEngineering"
}
},
"required": [
"deviceName",
"adsVersion",
"adsState",
"connectionState"
]
}
}
},
"required": [
"domainState"
]
}
]
}
]
}
}
},
"packageVersion": "14.4.293.0",
"productVersion": "14.4.293.0",
"signature": "ORY7oKM/0zMTgi8N4zp1Jd7v86+jx230p/9ke/DKREb2Oza53Y1Pj6pNkgDiP4JHSvxfBD1Bh15bMxMk9wFgAYWiAgB93+uTZOpdOFj8sSN0rRI+dR9IrDdrthr4f7PZPvFTH+X1k3STsEgq+d245NCxiGDSt5NpOE9+N0EiVxhbuGyMzXYWVNW+x/Pcj7cldAAP6/NKFx8KzsU1S8EabDmARQNfVUgLT51FxxXUo0Y3L8Tk2keGQfclI45iikT38fMFukimRRuwUPs/ZIsQAlgZmHe8q3cEAQ2h9Lu8cF228GLHaUwLpxldJccPhPNf66R8myU1MBmVl9cROtLD+w=="
}

View File

@@ -0,0 +1,132 @@
{
"locale": "de",
"localizedText": {
"RUNTIMES": "Laufzeiten",
"DESC_RUNTIMES": "Zu allen aktiven Laufzeiten wird eine ADS-Verbindung hergestellt.",
"NETID": "AmsNetId",
"TIMEOUT": "Timeout",
"DESC_TIMEOUT": "Standard-Timeout für ADS-Anfragen.",
"ENABLED": "Aktiv",
"USE_WHITELISTING": "Nutze Whitelisting",
"READ_ONLY": "Nur Lesezugriff erlauben",
"PORT": "Port",
"DESC_RUNTIME": "Laufzeit",
"TRANSMODE": "Benachrichtigungsmodus",
"MAXDELAY": "Max. Verzögerung",
"CYCLETIME": "Zykluszeit",
"SYMBOLS": "Symbole",
"DESC_SYMBOL": "Symbol",
"INDEXGROUP": "Indexgruppe",
"INDEXOFFSET": "Index-Offset",
"TYPENAME": "Datentyp",
"RUNTIME_STATE_CHECK_TIMEOUT": "Maximales Timeout bei der Laufzeitstatus-Ermittlung",
"RUNTIME_STATE_CHECK_INTERVAL": "Intervall der Laufzeitstatus-Ermittlung",
"runtimes": "Laufzeiten",
"IGNORED_PLC_ATTRIBUTES": "Ignorierte PLC-Attribute",
"VISIBLE_RUNTIME_PORTS": "Sichtbare Laufzeitports",
"RESPONSE_SIZE_LIMIT": "Begrenzung der Antwortgröße von ADS-Anfragen",
"SUM_REQUEST_LIMIT": "Begrenzung der Anzahl von ADS-Anfragen, die in einer Summen-Anfrage gebündelt werden können",
"NEW_HANDLES_PER_SUM_REQUEST_LIMIT": "Begrenzung der Anzahl von ADS-Handles, die mit einer Summen-Anfrage erstellt werden",
"ENABLE_READ_BEFORE_WRITE": "Unvollständige Schreiboperationen durch Lesen vor dem Schreiben unterstützen",
"HMI_ADS_IMPL_UNREGISTERED_ERROR_CODE": "Fehlende Beschreibung: Fehlercode nicht in allen Quelltextdateien hinzugefügt",
"HMI_ADS_E_OFFSET": "HMI_ADS_E_OFFSET",
"HMI_ADS_SUCCESS": "HMI_ADS_SUCCESS",
"HMI_ADS_E_INVALID_MATRIX_ACCESS": "HMI_ADS_E_INVALID_MATRIX_ACCESS",
"HMI_ADS_E_TCDIR": "HMI_ADS_E_TCDIR",
"HMI_ADS_E_TCVERSION": "HMI_ADS_E_TCVERSION",
"HMI_ADS_E_CONFIGDIR": "HMI_ADS_E_CONFIGDIR",
"HMI_ADS_E_STATE": "HMI_ADS_E_STATE",
"HMI_ADS_E_PARSE_BASETYPES": "HMI_ADS_E_PARSE_BASETYPES",
"HMI_ADS_E_PARSE_DATA": "HMI_ADS_E_PARSE_DATA",
"HMI_ADS_E_NOT_IMPLEMENTED": "HMI_ADS_E_NOT_IMPLEMENTED",
"HMI_ADS_E_INVALID_DATA": "HMI_ADS_E_INVALID_DATA",
"HMI_ADS_E_UPLOAD_DATA": "HMI_ADS_E_UPLOAD_DATA",
"HMI_ADS_E_UNEXPECTED": "HMI_ADS_E_UNEXPECTED",
"HMI_ADS_E_INVALID_RUNTIME": "HMI_ADS_E_INVALID_RUNTIME",
"HMI_ADS_E_INVALID_PARAMETER": "HMI_ADS_E_INVALID_PARAMETER",
"HMI_ADS_E_NO_OFFLINE_DATA": "HMI_ADS_E_NO_OFFLINE_DATA",
"HMI_ADS_E_INVALID_SYMBOL": "HMI_ADS_E_INVALID_SYMBOL",
"HMI_ADS_E_INVALID_SYMBOL_TYPE": "HMI_ADS_E_INVALID_SYMBOL_TYPE",
"HMI_ADS_E_MISSING_SYMBOL_TYPE": "HMI_ADS_E_MISSING_SYMBOL_TYPE",
"HMI_ADS_E_INVALID_SYMBOL_HANDLE": "HMI_ADS_E_INVALID_SYMBOL_HANDLE",
"HMI_ADS_E_MISSING_PARAMETER": "HMI_ADS_E_MISSING_PARAMETER",
"HMI_ADS_E_ADD_ROUTE": "HMI_ADS_E_ADD_ROUTE",
"HMI_ADS_E_ABORTED": "HMI_ADS_E_ABORTED",
"HMI_ADS_E_EMPTY": "HMI_ADS_E_EMPTY",
"HMI_ADS_E_DISABLED": "HMI_ADS_E_DISABLED",
"HMI_ADS_E_LICENSE": "HMI_ADS_E_LICENSE",
"HMI_ADS_E_SYMBOL_HIDDEN": "HMI_ADS_E_SYMBOL_HIDDEN",
"HMI_ADS_E_READONLY": "HMI_ADS_E_READONLY",
"HMI_ADS_E_SYNC_TIMEOUT": "HMI_ADS_E_SYNC_TIMEOUT",
"HMI_ADS_E_RUNTIME_NOT_INITIALIZED": "HMI_ADS_E_RUNTIME_NOT_INITIALIZED",
"HMI_ADS_E_STRING_LENGTH_MISMATCH": "HMI_ADS_E_STRING_LENGTH_MISMATCH",
"HMI_ADS_E_UNION_FIELDS_NOT_BINARY_COMPATIBLE": "HMI_ADS_E_UNION_FIELDS_NOT_BINARY_COMPATIBLE",
"HMI_ADS_E_PENDING_ONLINE_CHANGE": "HMI_ADS_E_PENDING_ONLINE_CHANGE",
"HMI_ADS_E_RETURN_VALUE_SUBSYMBOL": "HMI_ADS_E_RETURN_VALUE_SUBSYMBOL",
"HMI_ADS_E_OUT_OF_RANGE": "HMI_ADS_E_OUT_OF_RANGE",
"HMI_ADS_E_INCOMPLETE_WRITE_NOT_ALLOWED": "HMI_ADS_E_INCOMPLETE_WRITE_NOT_ALLOWED",
"HMI_ADS_E_RESULT_NOT_PROCESSED": "HMI_ADS_E_RESULT_NOT_PROCESSED",
"HMI_ADS_E_REQUEST_TOO_LARGE": "HMI_ADS_E_REQUEST_TOO_LARGE",
"deviceName": "Gerätename",
"adsState": "ADS-Status",
"adsVersion": "TwinCAT-Version",
"adsVersionBuild": "TwinCAT-Build",
"adsProjectName": "Projektname",
"adsApplicationName": "App-Name",
"adsProjectCompiledAt": "Kompiliert",
"connectionState": "Verbindungsstatus",
"domainState": "Domain-Status",
"domainError": "Domain-Fehler",
"isUserModeRuntime": "Usermode-Runtime",
"TOOLTIP_isUserModeRuntime": "Keine Echtzeit-Runtime",
"systemServiceAdsState": "System Service ADS-Status",
"CATEGORY_WRAPPER_FUNCTIONS": "Wrapper-Funktionen",
"CATEGORY_NATIVE": "Native ADS-Funktionen",
"TWINCAT_ONLINE_CHANGE": "Online-Change für Laufzeit {0} von {1} nach {2}",
"TWINCAT_SYM_VERSION_CHANGE": "Änderung der Symbol-Version für Laufzeit {0} von {1} nach {2}",
"TWINCAT_APPINFO_CHANGE": "Laufzeit {0} ist mit dem Projekt '{2}' der Applikation '{1}' verbunden (Kompiliert: {3})",
"TWINCAT_RUNTIME_ENTER_TIMEOUT_STATE": "Timeout der Netzwerkverbindung von Laufzeit {0} ({1}). Warte, bis die Laufzeit wieder verfügbar ist.",
"TWINCAT_RUNTIME_EXIT_TIMEOUT_STATE": "Laufzeit {0} ({1}) ist wieder erreichbar",
"TWINCAT_RUNTIME_STATUS_CHECK_ERROR": "Fehler während der Status-Aktualisierung von Laufzeit {0} ({3}): {2} ({1})",
"TWINCAT_CONNECTED": "Verbunden mit lokalem TwinCAT System",
"TWINCAT_DONGLE": "Suche nach angeschlossenen TwinCAT Lizenz-Dongles",
"TWINCAT_DISCONNECTED": "Verbindung zum lokalen TwinCAT System unterbrochen: {1} ({0})",
"DESC_TYPENAME": "Typbezeichnung",
"DESC_IGNORED_PLC_ATTRIBUTES": "Attribut-Pragmas werden zum JSON-Schema hinzugefügt. Die hier konfigurierten Attribute werden ausgeblendet.",
"DESC_RUNTIME_STATE_CHECK_INTERVAL": "Der Status jeder konfigurierten Laufzeit wird in regelmäßigen Abständen überprüft.",
"DESC_RUNTIME_STATE_CHECK_TIMEOUT": "Eine konfigurierte Laufzeit wird als nicht erreichbar angesehen, wenn eine Anfrage länger als diese Zeitspanne dauert.",
"DESC_VISIBLE_RUNTIME_PORTS": "Zielsysteme können viele ADS-Ports haben. Die meisten werden nur selten in HMI-Projekten verwendet.",
"DESC_RESPONSE_SIZE_LIMIT": "Die SPS-Task wird für jede Anfrage gesperrt. Ist die Anfrage zu groß, kann die SPS-Zykluszeit überschritten werden.",
"DESC_SUM_REQUEST_LIMIT": "Die PLC-Task ist für jede Anfrage gesperrt. Wenn eine Summen-Anfrage zu viele Anfragen enthält, kann die SPS-Zykluszeit überschritten werden.",
"DESC_NEW_HANDLES_PER_SUM_REQUEST_LIMIT": "TwinCATs Handle-Buffer wird nicht während einer Summen-Anfrage vergrößert. Das Anlegen von zu vielen ADS-Handles in einer einzigen Summen-Anfrage führt zu Fehlern, wenn TwinCATs Handle-Buffer voll ist.",
"DESC_ENABLE_READ_BEFORE_WRITE": "Variablen, die versteckt oder in der Schreibanforderung nicht gesetzt sind, werden mit einem alten Wert überschrieben. Deaktivieren Sie diese Einstellung, um Seiteneffekte zu vermeiden und die Leistung zu verbessern.",
"DESC_ADS_ROUTE": "ADS-Route",
"DESC_READ_ONLY": "Verhindert den Schreibzugriff auf Variablen und Set-Properties sowie alle Methodenaufrufe.",
"adsStateInvalid": "Invalid",
"adsStateIdle": "Idle",
"adsStateReset": "Reset",
"adsStateInit": "Init",
"adsStateStart": "Start",
"adsStateRun": "Run",
"adsStateStop": "Stop",
"adsStateSaveCfg": "Save Configuration",
"adsStateLoadCfg": "Load Configuration",
"adsStatePowerFailure": "Power Failure",
"adsStatePowerGood": "Power Good",
"adsStateError": "Error",
"adsStateShutdown": "Shutdown",
"adsStateSuspend": "Suspend",
"adsStateResume": "Resume",
"adsStateConfig": "Config",
"adsStateReconfig": "Reconfiguring",
"adsStateStopping": "Stopping",
"adsStateIncompatible": "Incompatible",
"adsStateException": "Exception"
}
}

View File

@@ -0,0 +1,132 @@
{
"locale": "en",
"localizedText": {
"RUNTIMES": "Runtimes",
"DESC_RUNTIMES": "An ADS connection is established to all enabled runtimes.",
"NETID": "AmsNetId",
"TIMEOUT": "Timeout",
"DESC_TIMEOUT": "Default timeout for ADS requests.",
"ENABLED": "Enabled",
"USE_WHITELISTING": "Use whitelisting",
"READ_ONLY": "Allow only read access",
"PORT": "Port",
"DESC_RUNTIME": "Runtime",
"TRANSMODE": "Notification mode",
"MAXDELAY": "Max delay",
"CYCLETIME": "Cycle time",
"SYMBOLS": "Symbols",
"DESC_SYMBOL": "Symbol",
"INDEXGROUP": "Index group",
"INDEXOFFSET": "Index offset",
"TYPENAME": "Datatype",
"RUNTIME_STATE_CHECK_TIMEOUT": "Maximum timeout for determining the runtime status",
"RUNTIME_STATE_CHECK_INTERVAL": "Runtime state check interval",
"runtimes": "Runtimes",
"IGNORED_PLC_ATTRIBUTES": "Ignored PLC attributes",
"VISIBLE_RUNTIME_PORTS": "Visible runtime ports",
"RESPONSE_SIZE_LIMIT": "Limit response size of ADS requests",
"SUM_REQUEST_LIMIT": "Limit the number of ADS requests that can be bundled in one sum request",
"NEW_HANDLES_PER_SUM_REQUEST_LIMIT": "Limit the number of ADS handles created by a sum request",
"ENABLE_READ_BEFORE_WRITE": "Support incomplete writes by reading before writing",
"HMI_ADS_IMPL_UNREGISTERED_ERROR_CODE": "The description for this error code is missing.",
"HMI_ADS_E_OFFSET": "HMI_ADS_E_OFFSET",
"HMI_ADS_SUCCESS": "HMI_ADS_SUCCESS",
"HMI_ADS_E_INVALID_MATRIX_ACCESS": "HMI_ADS_E_INVALID_MATRIX_ACCESS",
"HMI_ADS_E_TCDIR": "HMI_ADS_E_TCDIR",
"HMI_ADS_E_TCVERSION": "HMI_ADS_E_TCVERSION",
"HMI_ADS_E_CONFIGDIR": "HMI_ADS_E_CONFIGDIR",
"HMI_ADS_E_STATE": "HMI_ADS_E_STATE",
"HMI_ADS_E_PARSE_BASETYPES": "HMI_ADS_E_PARSE_BASETYPES",
"HMI_ADS_E_PARSE_DATA": "HMI_ADS_E_PARSE_DATA",
"HMI_ADS_E_NOT_IMPLEMENTED": "HMI_ADS_E_NOT_IMPLEMENTED",
"HMI_ADS_E_INVALID_DATA": "HMI_ADS_E_INVALID_DATA",
"HMI_ADS_E_UPLOAD_DATA": "HMI_ADS_E_UPLOAD_DATA",
"HMI_ADS_E_UNEXPECTED": "HMI_ADS_E_UNEXPECTED",
"HMI_ADS_E_INVALID_RUNTIME": "HMI_ADS_E_INVALID_RUNTIME",
"HMI_ADS_E_INVALID_PARAMETER": "HMI_ADS_E_INVALID_PARAMETER",
"HMI_ADS_E_NO_OFFLINE_DATA": "HMI_ADS_E_NO_OFFLINE_DATA",
"HMI_ADS_E_INVALID_SYMBOL": "HMI_ADS_E_INVALID_SYMBOL",
"HMI_ADS_E_INVALID_SYMBOL_TYPE": "HMI_ADS_E_INVALID_SYMBOL_TYPE",
"HMI_ADS_E_MISSING_SYMBOL_TYPE": "HMI_ADS_E_MISSING_SYMBOL_TYPE",
"HMI_ADS_E_INVALID_SYMBOL_HANDLE": "HMI_ADS_E_INVALID_SYMBOL_HANDLE",
"HMI_ADS_E_MISSING_PARAMETER": "HMI_ADS_E_MISSING_PARAMETER",
"HMI_ADS_E_ADD_ROUTE": "HMI_ADS_E_ADD_ROUTE",
"HMI_ADS_E_ABORTED": "HMI_ADS_E_ABORTED",
"HMI_ADS_E_EMPTY": "HMI_ADS_E_EMPTY",
"HMI_ADS_E_DISABLED": "HMI_ADS_E_DISABLED",
"HMI_ADS_E_LICENSE": "HMI_ADS_E_LICENSE",
"HMI_ADS_E_SYMBOL_HIDDEN": "HMI_ADS_E_SYMBOL_HIDDEN",
"HMI_ADS_E_READONLY": "HMI_ADS_E_READONLY",
"HMI_ADS_E_SYNC_TIMEOUT": "HMI_ADS_E_SYNC_TIMEOUT",
"HMI_ADS_E_RUNTIME_NOT_INITIALIZED": "HMI_ADS_E_RUNTIME_NOT_INITIALIZED",
"HMI_ADS_E_STRING_LENGTH_MISMATCH": "HMI_ADS_E_STRING_LENGTH_MISMATCH",
"HMI_ADS_E_UNION_FIELDS_NOT_BINARY_COMPATIBLE": "HMI_ADS_E_UNION_FIELDS_NOT_BINARY_COMPATIBLE",
"HMI_ADS_E_PENDING_ONLINE_CHANGE": "HMI_ADS_E_PENDING_ONLINE_CHANGE",
"HMI_ADS_E_RETURN_VALUE_SUBSYMBOL": "HMI_ADS_E_RETURN_VALUE_SUBSYMBOL",
"HMI_ADS_E_OUT_OF_RANGE": "HMI_ADS_E_OUT_OF_RANGE",
"HMI_ADS_E_INCOMPLETE_WRITE_NOT_ALLOWED": "HMI_ADS_E_INCOMPLETE_WRITE_NOT_ALLOWED",
"HMI_ADS_E_RESULT_NOT_PROCESSED": "HMI_ADS_E_RESULT_NOT_PROCESSED",
"HMI_ADS_E_REQUEST_TOO_LARGE": "HMI_ADS_E_REQUEST_TOO_LARGE",
"deviceName": "Device name",
"adsState": "ADS state",
"adsVersion": "TwinCAT version",
"adsVersionBuild": "TwinCAT build",
"adsProjectName": "Project name",
"adsApplicationName": "Application name",
"adsProjectCompiledAt": "Compiled at",
"isUserModeRuntime": "User mode runtime",
"TOOLTIP_isUserModeRuntime": "Not a real-time runtime",
"systemServiceAdsState": "System service ADS state",
"CATEGORY_WRAPPER_FUNCTIONS": "Wrapper functions",
"CATEGORY_NATIVE": "Native ADS functions",
"connectionState": "Connection state",
"domainState": "Domain state",
"domainError": "Domain error",
"TWINCAT_ONLINE_CHANGE": "Online change of runtime {0} detected. Counter changed from {1} to {2}.",
"TWINCAT_SYM_VERSION_CHANGE": "Symbol version change detected for runtime {0}. Counter changed from {1} to {2}.",
"TWINCAT_APPINFO_CHANGE": "Runtime {0} is connected to project '{2}' of application '{1}' (Compiled at {3})",
"TWINCAT_RUNTIME_ENTER_TIMEOUT_STATE": "Network connection of runtime {0} ({1}) timed out. Waiting for runtime to become available again.",
"TWINCAT_RUNTIME_EXIT_TIMEOUT_STATE": "Runtime {0} ({1}) is available again",
"TWINCAT_RUNTIME_STATUS_CHECK_ERROR": "Error while checking the status of runtime {0} ({3}): {2} ({1})",
"TWINCAT_CONNECTED": "Connected to the local TwinCAT system",
"TWINCAT_DONGLE": "Checking for connected TwinCAT license dongles",
"TWINCAT_DISCONNECTED": "Unable to connect to the local TwinCAT system: {1} ({0})",
"DESC_TYPENAME": "Typename",
"DESC_IGNORED_PLC_ATTRIBUTES": "Attribute pragmas are added to the JSON schema. The attributes configured here are hidden.",
"DESC_RUNTIME_STATE_CHECK_INTERVAL": "The state of each configured runtime is checked periodically.",
"DESC_RUNTIME_STATE_CHECK_TIMEOUT": "A configured runtime is considered unreachable if a request takes longer than this timeout.",
"DESC_VISIBLE_RUNTIME_PORTS": "Target systems can have many ADS ports. Most are rarely used in HMI projects.",
"DESC_RESPONSE_SIZE_LIMIT": "The PLC task is locked for every request. If the request is too large, the PLC cycle time might be exceeded.",
"DESC_SUM_REQUEST_LIMIT": "The PLC task is locked for every request. If a sum request contains too many requests, the PLC cycle time might be exceeded.",
"DESC_NEW_HANDLES_PER_SUM_REQUEST_LIMIT": "TwinCAT's handle buffer is not resized in the middle of a sum request. Creating too many ADS handles in a single sum request causes errors if TwinCAT's handle buffer is full.",
"DESC_ENABLE_READ_BEFORE_WRITE": "Variables that are hidden or not set in the write request will be overwritten with an old value. Disable this setting to prevent side effects and improve performance.",
"DESC_ADS_ROUTE": "ADS route",
"DESC_READ_ONLY": "Prevents write access to variables and setters, as well as all method calls.",
"adsStateInvalid": "Invalid",
"adsStateIdle": "Idle",
"adsStateReset": "Reset",
"adsStateInit": "Init",
"adsStateStart": "Start",
"adsStateRun": "Run",
"adsStateStop": "Stop",
"adsStateSaveCfg": "Save configuration",
"adsStateLoadCfg": "Load configuration",
"adsStatePowerFailure": "Power failure",
"adsStatePowerGood": "Power good",
"adsStateError": "Error",
"adsStateShutdown": "Shutdown",
"adsStateSuspend": "Suspend",
"adsStateResume": "Resume",
"adsStateConfig": "Config",
"adsStateReconfig": "Reconfiguring",
"adsStateStopping": "Stopping",
"adsStateIncompatible": "Incompatible",
"adsStateException": "Exception"
}
}

View File

@@ -0,0 +1,352 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"adsState": {
"type": "integer",
"enum": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19
],
"options": [
{
"label": "adsStateInvalid",
"value": 0
},
{
"label": "adsStateIdle",
"value": 1
},
{
"label": "adsStateReset",
"value": 2
},
{
"label": "adsStateInit",
"value": 3
},
{
"label": "adsStateStart",
"value": 4
},
{
"label": "adsStateRun",
"value": 5
},
{
"label": "adsStateStop",
"value": 6
},
{
"label": "adsStateSaveCfg",
"value": 7
},
{
"label": "adsStateLoadCfg",
"value": 8
},
{
"label": "adsStatePowerFailure",
"value": 9
},
{
"label": "adsStatePowerGood",
"value": 10
},
{
"label": "adsStateError",
"value": 11
},
{
"label": "adsStateShutdown",
"value": 12
},
{
"label": "adsStateSuspend",
"value": 13
},
{
"label": "adsStateResume",
"value": 14
},
{
"label": "adsStateConfig",
"value": 15
},
{
"label": "adsStateReconfig",
"value": 16
},
{
"label": "adsStateStopping",
"value": 17
},
{
"label": "adsStateIncompatible",
"value": 18
},
{
"label": "adsStateException",
"value": 19
}
]
}
},
"properties": {
"TIMEOUT": {
"configDescription": "DESC_TIMEOUT",
"type": "string",
"propertyOrder": 2,
"format": "timespan",
"default": "PT1S",
"formatMinimum": "PT0.1S",
"formatMaximum": "PT30S"
},
"RUNTIME_STATE_CHECK_TIMEOUT": {
"configDescription": "DESC_RUNTIME_STATE_CHECK_TIMEOUT",
"type": "string",
"propertyOrder": 3,
"format": "timespan",
"default": "PT5S",
"formatMinimum": "PT1S",
"formatMaximum": "PT30S",
"visibility": "HideInEngineering"
},
"RUNTIME_STATE_CHECK_INTERVAL": {
"configDescription": "DESC_RUNTIME_STATE_CHECK_INTERVAL",
"type": "string",
"propertyOrder": 4,
"format": "timespan",
"default": "PT2S",
"formatMinimum": "PT1S",
"formatMaximum": "PT30S",
"visibility": "HideInEngineering"
},
"RUNTIMES": {
"configDescription": "DESC_RUNTIMES",
"type": "object",
"additionalProperties": {
"type": "object",
"configDescription": "DESC_RUNTIME",
"properties": {
"PORT": {
"type": "integer",
"minimum": 0,
"default": 851,
"optionMethod": {
"symbol": "{domain}.RuntimePorts",
"writeValue": {
"NETID": {
"$data": "#/properties/RUNTIMES/additionalProperties/NETID"
}
}
},
"propertyOrder": 3
},
"NETID": {
"allOf": [
{
"$ref": "tchmi:server#/definitions/adsRoute"
},
{
"propertyOrder": 2,
"configDescription": "DESC_ADS_ROUTE"
}
]
},
"ENABLED": {
"type": "boolean",
"default": true,
"propertyOrder": 1
},
"USE_WHITELISTING": {
"type": "boolean",
"default": false,
"propertyOrder": 4
},
"READ_ONLY": {
"type": "boolean",
"default": false,
"propertyOrder": 5,
"configDescription": "DESC_READ_ONLY"
},
"SYMBOLS": {
"type": "object",
"additionalProperties": {
"type": "object",
"configDescription": "DESC_SYMBOL",
"properties": {
"INDEXGROUP": {
"$ref": "tchmi:general#/definitions/UINT32"
},
"INDEXOFFSET": {
"$ref": "tchmi:general#/definitions/UINT32"
},
"TYPENAME": {
"type": "string",
"configDescription": "DESC_TYPENAME",
"optionMethod": {
"symbol": "{domain}.ListCommonTypes"
}
}
},
"required": [ "INDEXGROUP", "INDEXOFFSET", "TYPENAME" ]
},
"default": {},
"propertyOrder": 6
}
},
"additionalProperties": false,
"required": ["PORT", "USE_WHITELISTING", "NETID", "ENABLED", "SYMBOLS", "READ_ONLY" ]
},
"default": {
"PLC1": {
"PORT": 851,
"NETID": "127.0.0.1.1.1",
"ENABLED": true,
"USE_WHITELISTING": false,
"READ_ONLY": false,
"SYMBOLS": {}
}
},
"defaultConfigurable": true,
"propertyOrder": 1
},
"IGNORED_PLC_ATTRIBUTES": {
"configDescription": "DESC_IGNORED_PLC_ATTRIBUTES",
"type": "array",
"items": {
"type": "string"
},
"default": [
"DisplayMinValue",
"DisplayMaxValue",
"DisplayMinValueX64",
"DisplayMaxValueX64",
"LowerBorder",
"UpperBorder",
"TcRpcEnable",
"TcGenerateDeRefType",
"TcHmiSymbol.ReadOnly",
"TcHmiSymbol.AddSymbol",
"TcHmiSymbol.AddSymbol.UserGroups",
"TcHmiSymbol.AddSymbol.UserGroups.Read",
"TcHmiSymbol.AddSymbol.Hidden",
"to_string_function",
"to_wstring_function"
],
"visibility": "HideInEngineering",
"propertyOrder": 5
},
"VISIBLE_RUNTIME_PORTS": {
"configDescription": "DESC_VISIBLE_RUNTIME_PORTS",
"type": "array",
"items": {
"allOf": [
{
"$ref": "tchmi:general#/definitions/UINT16"
},
{
"minimum": 1
}
]
},
"default": [
301,
302,
303,
304,
350,
351,
352,
353,
354,
355,
501,
801,
811,
821,
831,
851,
852,
853,
854,
10000,
19800
],
"visibility": "HideInEngineering",
"propertyOrder": 6
},
"RESPONSE_SIZE_LIMIT": {
"allOf": [
{
"$ref": "tchmi:general#/definitions/INT32"
},
{
"configDescription": "DESC_RESPONSE_SIZE_LIMIT",
"type": "integer",
"minimum": 2048,
"default": 2097152,
"unit": "byte",
"visibility": "HideInEngineering",
"propertyOrder": 7
}
]
},
"SUM_REQUEST_LIMIT": {
"configDescription": "DESC_SUM_REQUEST_LIMIT",
"type": "integer",
"minimum": 1,
"maximum": 1000,
"default": 500,
"visibility": "HideInEngineering",
"propertyOrder": 8
},
"NEW_HANDLES_PER_SUM_REQUEST_LIMIT": {
"configDescription": "DESC_NEW_HANDLES_PER_SUM_REQUEST_LIMIT",
"type": "integer",
"minimum": 1,
"maximum": 1000,
"default": 100,
"visibility": "HideInEngineering",
"propertyOrder": 9
},
"ENABLE_READ_BEFORE_WRITE": {
"configDescription": "DESC_ENABLE_READ_BEFORE_WRITE",
"type": "boolean",
"default": false,
"propertyOrder": 10
}
},
"type": "object",
"required": [
"TIMEOUT",
"RUNTIME_STATE_CHECK_TIMEOUT",
"RUNTIME_STATE_CHECK_INTERVAL",
"RUNTIMES",
"IGNORED_PLC_ATTRIBUTES",
"VISIBLE_RUNTIME_PORTS",
"RESPONSE_SIZE_LIMIT",
"SUM_REQUEST_LIMIT",
"NEW_HANDLES_PER_SUM_REQUEST_LIMIT",
"ENABLE_READ_BEFORE_WRITE"
],
"additionalProperties": false
}