Chapter 11 Motion Control Instructions
11-97
11
MC_ReadAxisError
FB/FC
Explanation
Applicable model
FB
MC_ReadAxisError is used to read the error information of a servo axis.
DVP15MC11T
DVP15MC11T-06
Input Parameters
Parameter name
Function
Data type
Valid range
(Default)
Validation timing
Axis
Specify the number of
the axis which is to be
controlled
USINT
Refer to Functions of
Section 2.2.
(The variable value
must be set)
When
Enable
is
TRUE
Enable
The instruction is
executed when
Enable
changes from FALSE to
TRUE.
BOOL
TRUE or FALSE
(FALSE)
-
Output Parameters
Parameter
name
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
When
Valid
is TRUE, the value of
ErrorID
, xxx (hex)
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
ErrorID
is 303 (hex).
WORD
Output Update Timing
Parameter
Name
Timing for changing to TRUE
Timing for changing to FALSE
Valid
When an axis error is read
When
Enable
changes from TRUE to
FALSE
When Error changes from FALSE to
TRUE
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
instruction are illegal
When
Enable
changes from TRUE to
FALSE
Output Update Timing Chart
MC_ReadAxis Error
Ax is
Valid
MC_ReadAxisError_ins tanc e
Enable
Busy
Error
E rrorID
AxisE rrorID
Summary of Contents for DVP-15MC Series
Page 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Page 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Page 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Page 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Page 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Page 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Page 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Page 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Page 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Page 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Page 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...