Files
infineon_plc/Packages/Beckhoff.TwinCAT.HMI.Functions.14.3.340/runtimes/native1.12-tchmi/FormatString.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

48 lines
1.6 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": "FormatString.js",
"type": "JavaScript",
"description": ""
}
],
"function": {
"name": "FormatString",
"namespace": "TcHmi.Functions.Beckhoff",
"displayName": "FormatString",
"visible": true,
"description": "Format a string. \nPlaceholder syntax in format string: '{' to begin placeholder, optional parameter-index with | as seperator, description and '}' to close the placeholder. \nExample: {0|.1f}",
"category": "Formatting",
"returnValue": {
"type": "tchmi:general#/definitions/String"
},
"arguments": [
{
"name": "formatString",
"displayName": "FormatString",
"type": "tchmi:general#/definitions/String",
"description": "FormatString with placeholder to be formatted",
"required": true,
"bindable": true
},
{
"name": "args",
"displayName": "Args",
"type": "tchmi:general#/definitions/Any",
"description": "Argument to format the placeholder in formatString",
"required": true,
"bindable": true,
"restParameter": true
}
]
}
}