write_sdo
Writes a value to a CANopen over EtherCAT (CoE) SDO object by Index and SubIndex, enabling direct configuration of EtherCAT slave parameters.
Instructions
Write a value to a CANopen over EtherCAT (CoE) SDO object by Index and SubIndex.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slaveIndex": "<slaveIndex>",
"index": "<index>",
"value": "<value>"
},
"name": "write_sdo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | SDO Index, hex string (e.g. "0x6040") or integer | |
| value | Yes | Value to write (number or string) | |
| subIndex | No | SDO SubIndex (default 0) | |
| slaveIndex | Yes | Slave index on the bus |