Files
infineon_plc/Packages/Beckhoff.TwinCAT.HMI.Functions.14.3.340/runtimes/native1.12-tchmi/EnumToString.function.json
m.heisig 2d11c43579 Added minimal functionality for Robot teaching
- Added minimal HMI
- Added possibility to open and close all chamber doors
2026-01-17 09:20:39 +01:00

47 lines
1.4 KiB
JSON

{
"$schema": "../TcHmiFramework/Schema/FunctionDescription.Schema.json",
"apiVersion": 1,
"version": {
"full": "14.3.340.0",
"major": 14,
"minor": 3,
"build": 340,
"revision": 0
},
"dependencyFiles": [
{
"name": "EnumToString.js",
"type": "JavaScript",
"description": ""
}
],
"function": {
"name": "EnumToString",
"namespace": "TcHmi.Functions.Beckhoff",
"displayName": "EnumToString",
"visible": true,
"description": "Converts numerical enumeration values to their string names.",
"category": "Data Conversion",
"returnValue": {
"type": "tchmi:general#/definitions/String"
},
"arguments": [
{
"name": "value",
"displayName": "Value",
"type": "tchmi:general#/definitions/Integer",
"description": "Value to be converted",
"required": true,
"bindable": true
},
{
"name": "mapping",
"displayName": "Mapping",
"type": "tchmi:framework#/definitions/EnumMapping",
"description": "An object that maps numerical enum values to strings",
"required": true,
"bindable": true
}
]
}
}