Scripts (myIO Script programs)
myio_scriptsInspect myIO controller program slots, states, cycle times, variables, arrays, global variables, and recent trace data to diagnose script execution.
Instructions
The program engine (GIGA/Opta 4.10+): every slot (prog/N.txt, 16 on GIGA, 8 on Opta) with name, state (off / RUNNING / ERROR with line:col and message), cycle time, runs, timing, local variables and arrays, plus the 32 global variables and (trace=true) the recent trace. Editor/admin level.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "myio_scripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| trace | No | ||
| server | No | controller name (default Ground floor) |