FUNCTION_BLOCK SDO_WRITE4 EXTENDS CiA405Base
This function block is used for writing a specific object in object dictionary of a DEVICE. Up to 4 bytes can be written. Data is provided as an ARRAY OF BYTE. If more than 4 bytes should be written please use SDO_WRITE. If DATA was written without error CONFIRM becomes TRUE. DATA has to be in Little Endian byte order. If an error occurs ERROR becomes unequal 0. In case of a SDO abort ERROR is set to CANOPEN_KERNEL_ERROR.CANOPEN_KERNEL_OTHER_ERROR and ERRORINFO contains the associated abort code (in Little endian) as defined by CiA 301.
InOut: |
|