12
:011
- End of program module (M2, M30)
Called when the NC is being run under command M2, M30 or % (end of program).
At the time of entering in the module, the content of the OP is not defined.
Mandatory activities: none.
Prohibited instructions: none.
:012
- Spindle jog module
It is called whenever the NC is in SPINDLE JOG state, and one of the axis-moving
push buttons (JOG) is pressed or released. When a positive or negative JOG button
is pressed, the content of OP will be 3 (M03) or 4 (M04), respectively. When the
JOG buttons are released, the content of OP will be 5 (M05).
Mandatory activities: slow rotation of the spindle.
Prohibited instructions: none.
:013
- Module for axis jog
Called if the certain axis is moved by jog, handwheel, or returning to reference point.
The module is activated in all cases before and after a move command if output flag
is Y460=1. When entering the module OP refers to the axes to be moved and the
information whether the axes should be moved by feed or by rapid traverse.
Mandatory activities:
Unclamping brakes, clutches of the assigned axes. In case of error Y462 flag
should be set to 1.
Forbidden instructions: none
:014
- Tool change module (M06)
It is called if M6 command is executed. In the OP register the returning tool number
or tool pot number can be found. If the returning tool pot number is defined the OP
contains the optimal return direction, if the magazine is bidirectional. In random
acces magazines the closest tool pot with the necessary width is assigned. The
meaning of OP is specified by its bit 15