DVP15MC11T Operation Manual
11.3.15 MC_ReadAxisError
FB/FC Explanation Applicable model
FB
MC_ReadAxisError is used to read the error information of a servo axis. DVP15MC11T
Input Parameters
Parameter name Function Data type
Validation timing
Axis
the axis which is to be
controlled
USINT
(The variable value
must be set)
When Enable is
TRUE
Enable
executed when Enable
changes from FALSE to
BOOL
TRUE or FALSE
(FALSE)
-
Output Parameters
Function Data type Valid range
Valid TRUE when the output of the instruction is valid. BOOL TRUE / FALSE
Busy TRUE while the instruction is being executed. BOOL TRUE / FALSE
Error
TRUE while there is an error in the execution of the
instruction.
BOOL TRUE / FALSE
ErrorID
Contains the error code when an error occurs. Please
refer to section 12.2.
WORD
AxisErrorID
Valid
ErrorID
indicates that the servo drive releases an alarm and xxx
is the alarm code that the servo drive reports. For
example, AL303 of the servo drive means the value of
WORD
Output Update Timing
Timing for changing to TRUE Timing for changing to FALSE
Valid When an axis error is read
Enable
FALSE
When Error changes from FALSE to
Busy When Enable changes to TRUE
When Enable changes from TRUE to
FALSE
When Error changes from FALSE to
TRUE
Error
When an error occurs in the instruction
execution or the input parameters for the
When Enable changes from TRUE to
FALSE
MC_ReadAxisError
Axis Valid
MC_ReadAxisError_instance
Enable Busy
Error
ErrorID
AxisErrorID
11-94