Using LS_WriteSDO2
| Element Name | Element Type | Description |
|---|---|---|
| Execute | Input | Edge detected request to execute the function block |
| Slave | Input/Output | Select the slave to write data to. This must be a UINT variable with a value of the slave axis number. |
| Index | Input | Specify the index of the slave object. (0x0000 to 0x9FFF) |
| SubIndex | Input | Specify the SubIndex of the slave object. (0 to 255) |
| Length | Input | Specify the number of bytes to write. (1 to 4) |
| Value | Input | Value to write to the chosen Index and SubIndex. |
| TimeOut | Input | Specify the timeout value of the SDO write command in ms. |
| Done | Output | Indicates the function block has finished the operation. |
| Busy | Output | Indicates the function block is currently being executed. |
| Error | Output | Indicates whether an error occurs or not. |
| ErrorID | Output | Error Identification number. |
This example is writing the Homing method of an iX7 EtherCAT servo drive.
LM801-2