8. AUXILIARY FUNCTION
B–63503EN–1/01
326
3. It is possible to change over the scale factor of B output 1000 or 10000
when the decimal point input is omitted in the inch input system, using
the parameter AUX (No.3405#0). When DPI=1.
Command Output value
When AUX is 1: B1 10000
When AUX is 0: B1 1000
The following signals are used with these functions. (For details of the
spindle–speed function and tool function, see Chapters 9 and 10.)
Output signal Input signal
Function
Program
address
Code signal Strobe signal
Distribution end
signal
Completion
signal
Miscellaneous
function
M M00 to M31 MF
Spindle–speed func-
tion
S S00 to S31 SF
DEN FIN
Tool function T T00 to T31 TF
Secondary auxiliary
function
B B00 to B31 BF
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 miscellaneous function is described below. The
procedures for the spindle–speed function, tool function, and secondary
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. After period TMF, specified in
parameter No. 3010 (standard value: 16 msec), strobe signal MF is set
to 1. The code signal is the binary representation of the programmed
value xxx.(*1) If the move, dwell, spindle–speed, or another function
is specified at the same time as the miscellaneous function, the
execution of the other function is started when the code signal of the
miscellaneous 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 miscellaneous function,
spindle–speed function, tool function, secondary 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.
Basic procedure