; Renishaw Productivity+ Custom Macro
; Do NOT remove the preceeding line or this macro will not load
; Definition File for TS27/R Contact Toolsetting Tool Length/Diameter Setting
; Version: 0.01.

[FileType]
; Do NOT remove this section or this Custom Macro will not load
Product		Renishaw Productivity+
File		Custom Macro
Version		0.07.002

[MachineType]
MACHINETYPE Siemens

[Toolsetting Type]
"Contatto"

; Definition File Language - language of displayable text strings in this file
[Language]
Italian

; Existing Menu Item in application that Custom Macro name and its Parent Menu are to appear under
; FIELD CAN BE OMITTED
[Existing Menu]
"Azzeramento utensili"

; Parent Menu - used as parent menu item text 
; FIELD CAN BE OMITTED
[Parent Menu]
"Contatto (TS27R, TS20, OTS...)"

; Custom Macro Name - used as menu item text. ID MUST BE UNIQUE FOR EACH CUSTOM MACRO!
; FIELD IS COMPULSORY
[Custom Macro]
; Name										ID
"Rottura utensile - Lunghezza (Siemens)"			48831

; This field specifies the default name given to a statement of this type
; The name must NOT include any of the following characters and cannot start with a numeric character
; {}[]/\:<>@~#-=+()*&^%$£!"`¬|;,.'?
[Default Statement Name]
"Lunghezza_utensile_rotto"

; Name or Program Number of macro
[MacroID]
921

; Properties - Do not use IDs 1-19
; Name										ID	Datatype	Default		Range		Category	Output Parameter	Metafile ID (optional)	Help Text			
[Properties]
"Tipo di controllo"							50	CNC_TYPE	0			{NA}		100				-					12050				"Tipo di controllo di riferimento"
"Tipo di misura (R00)"					20	MEAS_TYPE	6			{NA}		100				CM_AA				12050				"Tipo di misura da eseguire."

"Tolleranza (R04)"							22	LINEAR		0.5			{NA}		100				CM_I				12050				"Valore di tolleranza che definisce quando la lunghezza dell'utensile è fuori tolleranza."

"Scrivi in flag di rottura utensile R13 (R05)"		23	YESNO		NO			{NA}		100				-					12050				"Impostando questo valore su 'Sì' si includerà un flag di rottura utensile (R13)"
"Flag di rottura utensile (R05)"					24	INT			0			{NA}		100				CM_J				12050				"Impostando questa variabile (R05) su un valore qualsiasi si abiliterà l'impostazione del flag di errore R13."

"Includi diametro nominale utensile (R03)"		32	YESNO		NO			{NA}		100				-					12050				"Impostare questo valore su 'Sì' per specificare un diametro fresa. Impostando questo valore, si ottiene la correzione dell'utensile sullo stilo di calibrazione e si provoca la rotazione dell'utensile stesso."
"Diametro fresa (R03)"						33	LINEAR		0			{NA}		100				CM_C				12050				"Diametro fresa. Utilizzare un valore positivo per utensili da destrimani e un valore negativo per utensili da mancini."

;	"Usa ID cambio utensile corrente (R01)"		27	YESNO		YES			{NA}		100				-					12050				"Se questo valore è impostato su 'Sì', l'ID cambio utensile corrente viene usato come numero del correttore della lunghezza. Se l'impostazione è 'No' è possibile specificare il numero del correttore della lunghezza desiderato."
;	"Bordo del correttore utensile (R01)"				28	LINEAR		0			GT0:LE999	100				CM_SPECIAL_T		12050				"Numero correttore lunghezza. Questo è il numero del correttore in cui è registrata la quota di lunghezza dell'utensile misurato."

"Usa distanza di oltrecorsa predefinita (R09)"		29	YESNO		YES			{NA}		100				-					12050				"Utilizza il valore predefinito della macro di impostazione utensili per l'oltrecorsa lunghezza. Impostare questo valore su 'No' per specificare un'oltrecorsa personalizzata."
"Distanza di oltrecorsa (R09)"					30	LINEAR		4.0			{NA}		100				CM_F				12050				"Oltrecorsa lunghezza"

"Cambia direzione rotazione mandrino (R10)"	34	YESNO		NO			{NA}		100				-					12050				"Impostare questo valore su 'Sì' per specificare la direzione di rotazione del mandrino."
"Direzione rotazione mandrino (R10)"			35	INT			0			GE0:LE1		100				CM_G				12050				"Spindle rotation direction. Set to '0' for left-handed cutting tools and set to '1' for right-handed tools.


[Visibility]
PROPERTIES	24
CTRL_PROPS		23 ("Scrivi in flag di rottura utensile R13")
CTRL_VALUES		2 ("SÌ")

PROPERTIES	33
CTRL_PROPS		32 ("Includi diametro nominale utensile (R03)")
CTRL_VALUES		2 ("SÌ")

PROPERTIES	30
CTRL_PROPS		29 ("Usa distanza di oltrecorsa predefinita (R09)")
CTRL_VALUES		1 ("NO")

;	PROPERTIES	28
;	CTRL_PROPS		27 ("Usa ID cambio utensile corrente (R01)")
;	CTRL_VALUES		1 ("NO")

PROPERTIES	35
CTRL_PROPS		34 ("Cambia direzione rotazione mandrino (R10)")
CTRL_VALUES		2 ("SÌ")

[Enums]
; N.B. When post processing, the selected enum item ID will be outputted with the Output Parameter.
;	e.g.	enum type			: YESNO
;			selected enum item	: YES
;			enum item value		: 1
;			Output Parameter	: CM_B
;			Output				= B1
;												ID		Index (order in which they will appear)
ENUM_NAME		MEAS_TYPE						
ENUM_ITEM		"Lunghezza utensile rotto"			6		0

ENUM_NAME		CNC_TYPE						
ENUM_ITEM		"Siemens"						0		0


[Categories]
; Name							ID
"Valori nominali"						100

[Resources]
; Path and File name of resource DLL containing metafiles (optional)
PP_tsToolSettingRes.dll

; The post processor section to call when post processing occurs
[Post Section]
TOOLSETTING_CUSTOM_MACRO_CONTACT_TOOL_CHANGE
