
B-63943EN-1/02 10.AUXILIARY FUNCTION
- 1181 -
Each function uses different program addresses and different signals,
but they all input and output signals in the same way, as described
below. (A sample procedure for the auxiliary function is described
below. The procedures for the spindle function, tool function, and 2nd
auxiliary function, are obtained simply by substituting S, T, or B in
place of M.)
<1> Suppose that Mxxx is specified in a program.
For xxx, the number of specifiable digits is specified in
parameter Nos. 3030 to 3033 for each function. If more digits
than the specified value are specified, an alarm occurs.
<2> Code signal M00 to M31 is sent to machine interface. After
period TMF, specified in parameter No. 3010 (standard value:
16 msec), the strobe signal MF is set to 1. The code signal is the
binary representation of the programmed value xxx.(*1) If a
move, dwell, spindle, or other function is specified in the same
block as the auxiliary function, the execution of the other
function is started when the code signal of the auxiliary function
is sent.
<3> When the strobe signal is set to 1, the PMC reads the code signal
and performs the corresponding operation.
<4> To execute an operation after the completion of the move, dwell
or other function specified in the block, wait until distribution
end signal DEN is set to 1.
<5> Upon completion of the operation, the PMC sets completion
signal FIN to 1. The completion signal is used by the auxiliary
function, spindle function, tool function, 2nd auxiliary function,
external operation function described later, and other functions.
If any of these functions are executed simultaneously, the
completion signal must be set to 1 upon completion of all the
functions.
<6> If the completion signal remains set to 1 for longer than period
TFIN, specified in parameter No. 3011 (standard value: 16 msec),
the CNC sets the strobe signal to 0 and reports that the
completion signal has been received.
<7> When the strobe signal is set to 0, set the completion signal to 0
in the PMC.
<8> When the completion signal is set to 0, the CNC sets all code
signals to 0 and completes all sequences of the auxiliary
function.(*2)
<9> Once all other commands in the same block have been completed,
the CNC executes the next block.
(*1) When the tool function is executed, the programmed tool
number is sent as the code signal (lathe series).
(*2) When the spindle-speed function, tool function, or 2nd
auxiliary function is executed, the code signal is maintained
until a new code for the corresponding function is specified.
The timing diagram is shown below: