Transmit data synchronously to slave device represented by service data object
The EtherCAT Sync SDO Download block writes to a CANopen dictionary entry in the specified EtherCAT® slave. The block then waits until it receives a response or until the timeout period is over.
The response to an operation can take several ticks of the main task sample time. Assign the synchronous blocks a sample time slower than the main task sample time.
Data— Data to write to slave device
Input data for writing to the EtherCAT slave device.
Error— Report an EtherCAT network error
If no error occurs, this port transmits
0. Otherwise, it transmits a nonzero value.
Index— Index of CANopen dictionary entry
Specify the decimal index of the CANopen dictionary entry.
If you specify an invalid index, the block does not return an error or a timeout. The results are undefined.
Subindex— Subindex of CANopen dictionary entry
Specify the decimal subindex of the CANopen dictionary entry.
If you specify an invalid subindex, the block does not return an error or a timeout. The results are undefined.
Data Type— Data type of CANopen dictionary entry
From the list, select the data type of the CANopen dictionary entry.
If you select a data type that does not match the type of the entry, the block returns an error.
Dimension— Dimension of CANopen dictionary entry
Specify the row and column dimension of the CANopen dictionary entry.
Enter a value of
1. EtherCAT blocks support only scalars and vectors.
Slave Name— Name of slave that contains CANopen dictionary entry
From the list, select the name of the slave that contains the CANopen data dictionary variable.
The block populates this drop-down list with the contents of the configuration file.
Timeout— Time to wait for response from slave
Enter the number of milliseconds to wait for a response from the EtherCAT slave.