get_esm_state
Query the EtherCAT State Machine state (INIT, PREOP, BOOT, SAFEOP, OP) for the bus or a specific slave to verify operational status and diagnose state issues.
Instructions
Query the EtherCAT State Machine (ESM) state (INIT, PREOP, BOOT, SAFEOP, OP) for the bus or a specific slave.
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": "get_esm_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slaveIndex | No | Optional slave index. If omitted, queries the master/bus state. |