EtherCAT Async SDO Upload
Read data asynchronously from slave device represented by service data object
Simulink Real-Time / EtherCAT
The EtherCAT Async SDO Upload block selects a CANopen register by Index value in the specified EtherCAT® slave and sends a read request. It then immediately returns whatever value was returned from the device on an earlier call to the block.
Enable — Enables block to upload data
A value of
0 disables uploads. A constant value of
1 will send a new request each time the status returns to the idle
Data — Data received from slave device
Returns data received from the EtherCAT slave device.
Status — Status of data transfer
Status of asynchronous data transfer:
0— Mailbox transfer object idle, transfer not running
1— Mailbox transfer object running, transfer not complete
2— Transfer successfully executed
3— Error occurred during transfer request
Error — Report an EtherCAT network error
0 | integer
If no error occurs, this port transmits
0. Otherwise, it transmits a nonzero value. For a list of error codes,
see EtherCAT Error Codes.
Index — Index of CANopen register
Specify the hexadecimal (for example, 0x7) or decimal index of the CANopen register.
If you specify an invalid index, the block returns a
3 through the
Status output and a nonzero value through the
Access Mode — Select access mode for CoE variables
Single Subindex (default) |
When the Access Mode is
Access, the SubIndex parameter is hidden, and the correct
subindex is assumed in each case. The complete access protocol for CoE
access to variables provides:
Access to all subindexes attached to a single index in the CoE dictionary for a single terminal device.
Read or write all subindexes in the time it would take to read or write a single one of them.
Simultaneously update all subindexes when a tuning parameter set is being written
Capture a simultaneous read of all subindexes
Allow use of EtherCAT devices that require complete access for configuration
Subindex — Subindex of CANopen register
Specify the hexadecimal (for example, 0x7) or decimal subindex of the CANopen register.
If you specify an invalid subindex, the block returns a nonzerio value through the
Data Type — Data type of CANopen register
double (default) |
From the list, select the data type of the CANopen register.
If you select a data type that does not match the type of the entry, the block returns
a nonzero value through the
Dimension — Dimension of CANopen register
Specify the row and column dimension of the CANopen register.
Enter the vector length as found in the CoE description for the slave in its manual.
Device Name — Name of device that contains CANopen register
From the list, select the name of the device that contains the CANopen register.
The block populates this drop-down list with the contents of the configuration file.