FUNCTION_BLOCK SDO_READ4 EXTENDS CiA405Base
This function block is used for reading a specific object from object dictionary of a DEVICE. Up to 4 bytes can be read. Data is written to an ARRAY OF BYTE. If more than 4 bytes should be read please use SDO_READ. If object can be read without error CONFIRM becomes TRUE and DATA contains read data 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: |
|