ethercat_slaves
Scan an EtherCAT bus to enumerate all connected slaves, returning their count, vendor, product code, revision, and state for each.
Instructions
[READ][risk=low] Bus scan: enumerate every slave on the segment.
Args:
endpoint: Endpoint name from config (protocol 'ethercat').
Returns dict: {endpoint, slave_count, slaves:[{index, name, vendor_id,
product_code, revision, config_addr, state}]}.
Example: ethercat_slaves(endpoint="bus1").
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": "ethercat_slaves"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | No |