Library: IODrvEtherCAT
This function block is for writing EtherCAT slave parameters. Unlike ETC_CO_SdoWrite4
, parameter longer than 4 bytes are also supported. The parameters to be written 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 writing of the parameters is not yet complete on expiry of this time, an error message is output. |
|
|
Pointer to a data buffer containing the data to be written. |
|
|
Size of the data buffer ( |
|
|
Number of bytes to be written. Possible entries:
AUTO mode is usually set and the mode suitable for the length is thus automatically used. |
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 |
|
|
Number of bytes written; maximally |
|
|
Client automatically selects the mode |
|
|
Client uses the expedited protocol |
|
|
Client uses the segmented protocol |
See also