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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slaveIndex | No | Optional slave index. If omitted, queries the master/bus state. |