Chapter 12 Troubleshooting
1
Output Parameters
Function Data type Valid range
Done TRUE when the instruction execution is completed. BOOL TRUE/FALSE
Busy TRUE when the instruction is being executed. BOOL TRUE/FALSE
Active TRUE when the axis is being controlled. BOOL TRUE/FALSE
ed
TRUE when the instruction is aborted.
BOOL TRUE/FALSE
Error TRUE when there is an error. BOOL TRUE/FALSE
ErrorID
Contains error codes when an error occurs. Please refer
to section 12.2 for the corresponding error code.
WORD -
Output Update Timing
Timing for changing to TRUE Timing for changing to FALSE
Done
When the deceleration ends and
the axis speed is decreased to 0.
When Execute changes from TRUE to
the instruction execution is completed.
Done changes to TRUE when the instruction
execution is completed after Execute
TRUE to FALSE during the instruction execution.
One period later, Done changes to FALSE.
Busy When Execute changes to TRUE.
When Done changes to TRUE.
When Error changes to TRUE.
When CommandAborted changes to TRUE.
Active
When the instruction starts to
control the axis.
When Done changes to TRUE.
When Error changes to TRUE.
When CommandAborted changes to TRUE.
Command
Aborted
When the instruction execution is
aborted by other motion
instruction.
When Execute changes from TRUE to FALSE.
CommandAborted changes to TRUE when the
instruction is aborted after Execute changes from
TRUE to FALSE during the instruction execution.
One period later, CommandAborted changes to
Error
When an error occurs in the
instruction execution or the input
parameters for the instruction are
illegal.
When Execute changes from TRUE to FALSE.
11-27