ads_status
Check TwinCAT connection, PLC runtime state, system mode (RUN/CONFIG), and device name/version; pass a port to read only that port’s state.
Instructions
Composite status: connection, PLC runtime state, TwinCAT system mode (RUN/CONFIG), device name/version. With port=N returns only the ADS state of that port (852 PLC2, 500 NC, 10000 system service, 65535 EtherCAT master 1).
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": "ads_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||