Chapter 12 Troubleshooting
1
Case 1: When Enable changes from FALSE to TRUE, Valid and Busy change to TRUE simultaneously
and ErrorStop, Disabled, Stopping, Homing, Standstill, DiscreteMotion, ContinuousMotion and
SyncMotion will change to TRUE or FALSE according to the axis status.
Case 2: When Enable changes from TRUE to FALSE, Valid and Busy change to FALSE simultaneously
and the outputs of ErrorStop, Disabled, Stopping, Homing, Standstill, DiscreteMotion,
ContinuousMotion and SyncMotion will keep the same state as Enable is TRUE.
Case 3: When the value of the input parameter Axis is out of the valid range and Enable changes from
FALSE to TRUE, Busy changes from FALSE to TRUE, one cycle later, Error changes from
FALSE to TRUE and ErrorID shows corresponding error codes and Busy changes from TRUE
to FALSE. When Enable changes from TRUE to FALSE, Error changes from TRUE to FALSE
and meanwhile ErrorID changes to 0.
Function
MC_ReadStatus is used to read the servo axis state in the controller. For the details on axis states,
please refer to section 10.4.
Programming Example
This example of the execution of MC_ReadStatus is shown as below.
1. The variable table and program
11-103