
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 167 –
2.3.24 Miscellaneous functions, spindle–speed functions, tool functions, and secondary auxil-
iary functions
These functions have the following associated signals:
Program
Output signals
Input
signal
address
Code signal Strobe signal
Distribution
end signal
End
signal
Miscellaneous
function
M M0 – M31 MF
Spindle speed
function
S S0 – S31 SF
DEN, IPEN FIN
Tool function T T0 – T31 TF
Second auxiliary
function
B 1 B0 – B31 BF
1 The address A, C, U, V, or W can also be used instead of B by parameter setting. However,
such an address must not duplicate a controlled axis address. In the text below, the address
B is used for explanation.
Basic send procedure
The addresses and signals used in programs vary from one program to another. However, the same send pro-
cedure applies to all functions as described below. The description below uses a miscellaneous function. How-
ever, the code M used in the described procedure can be replaced with S, T, and B to explain the spindle–speed
functions, tool functions, and second auxiliary functions, respectively.
(1) Suppose that Mxxx is specified in a command program.
A numeric value from –99,999,999 to +99,999,999 can be specified as xxx. A parameter can specify the
maximum number of digits (0 to 8) for each function, and can raise an alarm for a command exceeding
the specified maximum number of digits. A parameter can also specify whether to allow the minus sign
to be used.
(2) A code signal from M0 to M3 is sent, and the strobe signal MF goes high at the same time. A code signal
represents the program command value xxx in binary. That is,
xxx (specified value)
whereVi = 0 when Mi is low, and
Vi = 1 when Mi is high.
A time delay from code signal setting until the strobe signal goes high can be set using a parameter. The
strobe signal never goes high before code signal setting.
When a miscellaneous function is specified with other functions (such as a move command, dwell, and
spindle–speed function), the code signal is output at the same time as the start of the execution of the other
functions.
(3) The PMC must read the code signal to execute the corresponding operation when the strobe signal goes
high.
(4) When the corresponding operation is to be executed upon completion of a move command, dwell, or other
function specified in the same block, wait for the distribution end signal DEN or IPEN to go high.
(5) The PMC must drive the end signal FIN high upon completion of the corresponding operation. Note, how-
ever, that the end signal is commonly used with the miscellaneous functions, spindle–speed functions, tool
functions, second auxiliary function functions, and external operation functions described in the next sec-
tion. If these other functions are concurrently operating, the end signal must go high when all functions
have been executed.
(6) When the FIN signal is high for a certain time (the FIN signal check time, T–FIN, which is set by a parame-
ter) or longer, the control unit drives the strobe signal MF low to report the reception of the FIN signal.
(7) The PMC must drive the end signal FIN low when the strobe signal MF goes low.
(8) The miscellaneous function sequence is completed when the FIN signal goes low.