Chapter 3 Motion Control Instructions MC_ReadAxisError Note : Axis errors are the errors not relating to the instruction, such as drive errors and communication errors which could be displayed on the panel of the servo drive. Inputs 3_ Note : This instruction will read the axis state constantly when Enable changes to True. Outputs *Note : Assume that 1xxx ( hex ) is indicated on the servo drive, xxx represents the error code of the servo drive. For example, if the servo drive shows AL3E3, AxisErrorID is13E3 (hex).
3-139 FB/FC Description FB MC ReadAxisError reads the error information of the axis _ Name Function Data type Setting value (Default value) Timing for updating Enable Executes the instruction when Enable changes to True. BOOL True/False (False) - Name Function Data type Output range (Default value) Valid True when the axis error status at the output is available. BOOL True/False (False) Busy Indicates the instruction is enabled and there is incoming new error status. BOOL True/False (False) Error True if an error occurs. BOOL True/False (False) ErrorID Indicates the error code if an error occurs. Refer to Appendices for error code descriptions.
DWORD 16#0~16#FFFFFFFF (0) AxisErrorID* Indicates the error code of servo drive when Valid shifts to True. DWORD 16#0~16#FFFFFFFF (0)