AX-Series Motion Controller Instructions Manual Chapter 2
136
2.2.12 MC_ReadAxisError
Supported Devices: AX-308E, AX-8, AX-364E
MC_ReadAxisError reads the error information of axis.
FB/FC Instruction Graphic Expression ST Language
FB MC_ReadAxisError
MC_ReadAxisError_instance(
Axis : =,
Enable : =,
Valid =>,
Busy =>,
Error =>,
ErrorID =>,
AxisError =>,
AxisErrorID =>,
Inputs
Name Function Data Type
Setting Value
Timing to Take Effect
Enable Run the function block. BOOL
True/False
(False)
-
Outputs
Output Range (Default Value)
Valid
True when the
parameter to read
exists and can be
further processed.
BOOL True/False (False)
Busy
True when the
function block is
BOOL True/False (False)
Error
True when an error
BOOL
True/False (False)
ErrorID
code when an error
occurs.
Refer to Appendix
for error code
descriptions.
SMC_ERROR* SMC_ERROR (SMC_NO_ERROR)
AxisError
True if an error
occurs in the axis.
BOOL True/False (False)
AxisErrorID
Error codes
DWORD Positive or 0(0)