tia_udt
Create, list, read, or delete Siemens TIA Portal V17 user-defined data types (UDTs) via SCL, enabling reusable PLC data structures for interfaces and tags.
Instructions
Tipos de datos de usuario (UDT / PLC data types).
listar | leer:
nombre→ estructura con tipos, valores iniciales y comentarios.crear:
codigoSCL, p. ej. TYPE "UDT_Motor" VERSION : 0.1 STRUCT Marcha : Bool; ... END_STRUCT; END_TYPE (varios TYPE en un mismo código; también sirve para modificar uno existente).borrar:
nombre. Para usar un UDT en una interfaz o tag, escribe el tipo entre comillas: "UDT_Motor".
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "tia_udt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plc | No | ||
| action | Yes | ||
| codigo | No | ||
| nombre | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |