Kaiyi — 15.5.2 Sending an SDO Command

AH500 Module Manual 15-26 Output pin Name Function Data type Time when there is Time when there is a transition in an output pin’s signal from high to low a transition in an output pin’s signal from low to high Error An error occurs in the function block. BOOL  An error occurs when the function block is executed.  There is transition in the Error output pin’s signal from high to low when there is a transition in the Execute input pin’s signal from high to low.  If the Execute input pin is set to False when an error occurs, the Aborted output pin will be set to False in the next cycle.

Output pin Name Function Data type Output range Update ErrorID Error code WORD  Please see the status code table below.  0B: A parameter is incorrect. 0C: The module does not support the function.  AH500 series CPU module error code  When there is a transition in the Error output pin’s signal from low to high, or a transition in the Done output pin’s signal from low to high, the value of the ErrorID output pin is updated. AbortCode SDO interruption code WORD  When there is a transition in the Error output pin’s signal from low to high, or a transition in the Done output pin’s signal from low to high, the value of the AbortCode output pin is updated.

ReadLength Length of the data which is read WORD K0~K8 (Unit: Byte)  When there is a transition in the Done output pin’s signal from low to high, the value of the ReadLength output pin is updated. DataRead Data which is read DWORD[2]  When there is a transition in the Done output pin’s signal from low to high, the value of the DataRead output pin is updated.