Download USER`S MANUAL

Transcript
6. COMMAND STRUCTURE
IC
MOVE SYNCHRONIZATION COMMANDS
INTERRUPT CLEAR
The IC or the ASCII character Control-Y (hex 19) command is used to clear the
done and error flags in the status register and the done flag register. This
command will be executed immediately and will usually be placed in the done and
error handler interrupt service routine to clear the interrupt and the associated
flags. The Control-Y version of this command is preferred to minimize the latency
in its execution. The flags may be polled by an RA or RI command which will also
reset the flags.
This command is not recommended unless used to clear flags after they have
been read via the QA or QI commands. These flags are otherwise automatically
cleared when read via the RA or RI commands, or by directly accessing the
registers on the board.
MODE
AX - AS
AA
AM
AA/CD
QUEUE REQUIREMENTS
Min (pf)
Max (pn/cn)
Immediate
Immediate
Immediate
Not Valid
Custom ramp
Example:
Clear the flags after an X axis move relative of 5000 steps was
flagged as done when an ID executes.
Enter:
AX MR5000 GO ID (done flag set) IC
PC68 User’s Manual
6-93