An incomplete but useful breakdown of the text based tooldata file saved from a mazak QTN lathe. A mill file would have a lot of similarities but also re-assigned letter code use too. Already the case with different turning tools and live tools. An intragrex probably has all the variations... This is probably mainly useful in reviewing old saved setups and comparing to current ones, I wouldn't try to build a tool data file for loading to a machine.
The binary version of the file COULD be decoded as well but that isn't something I have time for now.

Code:
G10 L40 M0 T1 P0 C2 &C3 D0.24 S1 I0 H5.74158 &H12.77954 F13.5 K0.0497 B0 J16500 Q600 &J0 &Q84 (43415242494445) A0. N01000001 W00000000 &F8 
G10 L41 M0 T1 Q3 P0 K0 S0 R0 J0 I0 E0 N0 
G10 L42 M0 T1 X0. Y-0.005 Z-0.003 &X0. &Y0. &Z0. A0. B0. C0. D0. E0. F0. (364D4D2D4452494C4C) I0. J0. S00000000 &G0. ML0. MA0. MB0. 


L40	T		TNo.			Tool turret number
		P		
		C		TOOL	Tool type ID by number (General=33, End Mill=15, Drill=2, Groove=34, T-Drill=36, Special=43 ect.)
		&C	PART	Tool Orientation ID by number (OUT=1, IN=2, EDGE=3, SUB IN=4, special 0001=17 ect.)
		D		NOM-Ø		Nominal Tool Dia
		S		ID Code	A-Z ID code 1=A 2=B ect.
		I		
		H		TOOL SET Z	H = 57.3681 + Tool Set Z  *Machine specific constant value
		&H	TOOL SET X	&H = (47.96 + Tool Set X) / 2  *Machine specific constant value
		E		WIDTH	turning block width
		F		Turning = EDGE-ANG	10x Deg 9.0=90deg
				Groving = TIP-WID Grove cutter width
		K		Live Tool = LENG COMP
				Turning = CUT DIR	1=CCW, 2=CW
		B		MAX ROT?
		J		LIFE TIME	life limit in seconds (displayed as min)
		Q		CUT TIME	used time in seconds (displayed as min)
		&J	LIFE NUM	life limit uses
		&Q	USED NUM	number of uses
		Z		Turning only?
		()	MAT	Material text in hex format
		A		Turning = CUT ANGLE	10x Deg 9.0=90deg
				Groving = Grove Depth
		N		binary?
		W		binary?
		&F	Something live tool related 8=AN-right arrow rotation?
		
L41	Q		HOLDER
		P		live tool only?
		K		live tool only?
		S		
		R		
		J		
		I		ID NO.	
		E		
		N		live tool only?
		
L42	X		WEAR COMP X
		Y		Y
		Z		Z
		&X	MAX WEAR X
		&Y	Y
		&Z	Z
		A		EASY COMP X?
		B		
		C		
		D		CONS COMP X?
		E		
		F		
		()	TOOL MODEL	Tool model name in hex format
		I		
		J		
		S		binary?
		&G	
		ML	
		MA	
		MB


Similar Threads: