
B-63943EN-1/02 12.TOOL FUNCTIONS
- 1595 -
- T code command for specifying a particular tool
To specify a particular tool directly without allowing the CNC to
select a tool, use the following format:
M_ T_ ;
NOTE
A block for specifying the above command must not
contain any other command.
M_ M code set in parameter No. 13252
T_
If bit 0 of parameter No. 13200 is 0:
Upper 4 digits: Cartridge number (output to <F0026 to
F0027>)
Lower 4 digits: Pot number (output to <F0028 to F0029>)
If the T code command is not longer than 4 digits, it is
output to <F0026-F0027> of the PMC on the
assumption that the cartridge number is 1.
To specify a spindle position or standby position, set the
pot number to 0.
Upper 4 digits: Cartridge number (11, 21)
Lower 4 digits: 0001
If bit 0 of parameter No. 13200 is 1:
Any number from 0 to 99,999,999
If bit 0 of parameter No. 13200 is 1 (outputting a T code directly to
the output signal), the binary value of the specified T code is output to
<F026 to F029> without modification.
NOTE
Pot numbers must not exceed 9999.
- Search by customize data
If bit 6 (SWC) of parameter No. 13203 is 0, a tool with the shortest
life is searched for. If SWC is 1, a tool whose customize data with
an arbitrary number holds the smallest is searched for. When SWC
is set to 1, the number of the customize data by which a search
operation is to be made is set in parameter No. 13260. When 3 is set
in parameter No. 13260, the registered tools are searched to find a tool
whose customize data 3 holds the smallest. If 0 is set in parameter
No. 13260, a tool with the shortest life is searched for.
The customize data by which a search operation is to be made ranges
from 1 to 99,999,999. If a negative value is set, its absolute value is
assumed. If 0 is set, the tool is regarded as an invalid tool and is
excluded from the tools to be searched.