Library: IODrvEtherCAT
This function block serves to read EtherCAT slave parameters. Unlike ETC_CO_SdoRead
, only parameter that are no longer than 4 bytes are supported. The parameters to be read are specified with Index and Subindex, as used in the object directory.
Name |
Data type |
Description |
---|---|---|
|
|
Rising edge: Starts the reading of the slave parameters.
In order to release the internal channel again afterwards, the instance must be called at least once with |
|
|
|
|
|
Number of the EtherCAT master: |
|
|
Physical address of the slave. If the auto-configuration mode is deactivated in the master, the slave can be given its own address. This address must be specified here
If the auto-configuration mode is activated, the first slave is given the address |
|
|
Reserved for future extensions |
|
|
Index of the parameter in the object directory. |
|
|
Subindex of the parameter in the object directory. |
|
|
Definition of the watchdog time in milliseconds. If the reading of the parameters is not yet complete on expiry of this time, an error message is output. |
Name |
Data type |
Description |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
Information about the cause of the error that was displayed by xError, e.g. |
|
|
If an error has occurred in the device, this output provides further information about it |
|
|
Array of 4 bytes into which the read parameter data are copied |
|
|
Number of bytes read (1,2,4). |
|
|
No error |
|
|
Error cause is stored at the output udiSdoAbort |
|
|
No master found |
|
|
ETC_CO_Expedited and size > 4 |
|
|
Time limits exceeded |
|
|
not used |
|
|
not used |
See also: