| Reads general axis errors not relating to the function blocks. For example, axis errors, drive errors, and communication errors. |
| B |
Enable |
BOOL |
Gets the value of the parameter continuously while enabled. |
| B |
Valid |
BOOL |
TRUE if a valid output is available at the function block. |
| E |
Busy |
BOOL |
The function block is not finished and new output values are to be expected. |
| B |
Error |
BOOL |
Signals that an error has occurred within the function block. |
| E |
AxisErrorID |
WORD |
The value of the axis error. These values are vendor-specific. |
- If ErrorId is 11, it could be KINGSTAR position error, or servo drive's error (see your servo drive's manual).
- If real axes are used, the code read from 0x603F will be displayed first.
| 0x01 |
Communication error. Using MC_ReadAxisError while an axis is in non-Op state returns this error. |
| 0x02 |
Position lag error. Same as mcFollowingError in MC_Error. The maximum following error is reached. The motion is stopped and the axis is disabled. |
| 0x03 |
Command jump error. Same as mcCommandJump in MC_Error. The new target position is too far from the previous target position.
|
| Other error code |
If an alarm occurs on a servo drive, MC_ReadAxisError will read from the 0x603F object. |
|