; 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 Fanuc

[Toolsetting Type]
"Contacto"

; Definition File Language - language of displayable text strings in this file
[Language]
Spanish

; Existing Menu Item in application that Custom Macro name and its Parent Menu are to appear under
; FIELD CAN BE OMITTED
[Existing Menu]
"Reglaje de herramientas"

; Parent Menu - used as parent menu item text 
; FIELD CAN BE OMITTED
[Parent Menu]
"Contacto (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
"Herramienta rota: Longitud"						48821

; 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]
"Broken_Tool_Length"

; Name or Program Number of macro
[MacroID]
9853

; Properties - Do not use IDs 1-19
; Name										ID	Datatype	Default		Range		Category	Output Parameter	Metafile ID (optional)	Help Text			
[Properties]

"Tipo de medición (B)"						20	MEAS_TYPE	1			{NA}		100				CM_B				12000				"Tipo de medición que se va a realizar."

"Tolerancia (H)"								22	LINEAR		0.5			{NA}		100				CM_H				12000				"Valor de tolerancia que define cuándo la longitud de la herramienta ha sobrepasado la tolerancia."

"Escribir indicador de herramienta rota (M)"				23	YESNO		NO			{NA}		100				-					12000				"Si elige 'Sí', puede especificar un número de compensación de herramienta para usarlo como banderín de herramienta averiada."
"Ubicación de banderín de herramienta rota (M)"				24	INT			0			GT0:LT10	100				CM_M				12000				"Número de compensación de herramienta de repuesto que se utilizará como un banderín para la ubicación de la herramienta averiada."

"Incluir Diámetro de herramienta nominal (S)"			32	YESNO		NO			{NA}		100				-					12000				"Elija 'Sí' en este valor para especificar diámetro del cortador. Si define este valor, la herramienta se compensa en los puntos de referencia del palpador y se genera la rotación de la herramienta."
"Diámetro del cortador (S)"						33	LINEAR		0			NE0			100				CM_S				12000				"Diámetro del cortador. Utilice un valor positivo para herramientas de corte por la derecha y uno negativo para herramientas de corte por la izquierda."

"Usar ID de cambio de la herramienta actual (T.ttt)"		27	YESNO		YES			{NA}		100				-					12000				"Si se selecciona 'Sí' en este valor, se utiliza el ID de cambio de la herramienta actual como Número de compensación de longitud. Si selecciona 'No', puede especificar un número de compensación de longitud."
"Número de compensación de longitud de herramienta (T.ttt)"			28	INT			0			GT0:LE999	100				CM_SPECIAL_T		12000				"Número de compensación de longitud. Ubicación de compensación en la que se almacena la longitud de la herramienta medida."


[Visibility]
PROPERTIES	24
CTRL_PROPS		23 ("Escribir banderín de herramienta averiada")
CTRL_VALUES		2 ("SÍ")

PROPERTIES	33
CTRL_PROPS		32 ("Incluir Diámetro de herramienta nominal (S)")
CTRL_VALUES		2 ("SÍ")

PROPERTIES	28
CTRL_PROPS		27 ("Usar ID de cambio de la herramienta actual (T.ttt)")
CTRL_VALUES		1 ("NO")

[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		"Broken_Tool_Length"			1		0


[Categories]
; Name							ID
"Nominales"						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_NO_TOOL_CHANGE
