; Renishaw Productivity+ Custom Macro
; Do NOT remove the preceeding line or this macro will not load
; Definition File for Non-Contact Toolsetting broken tool 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 Heidenhain

[Toolsetting Type]
"Sin 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]

"Detección de herramientas rotas (TRS1/TRS2)"

; Custom Macro Name - used as menu item text. ID MUST BE UNIQUE FOR EACH CUSTOM MACRO!
; FIELD IS COMPULSORY
[Custom Macro]
; Name										ID
"TRS2 (Heidenhain) "						48812

; 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]
"TRS2_Comprobación_Herramienta_Rota"

; Name or Program Number of macro
[MacroID]
TRS2

; Properties - Do not use ID 1
; Name													ID	Datatype	Default		Range			Category	Output Parameter	Metafile ID (optional)	Help Text			
[Properties]
"Tolerancia (Q11)"										21	LINEAR		3.0			{NA}			100				CM_H			12102					"Valor de tolerancia que indica cuando una herramienta se ha definido como rota. Nota: Si utiliza la entrada H con un valor negativo asignado, la posición de comprobación de herramienta será la longitud de la herramienta más el valor de tolerancia."

"Usar el indicador de herramienta rota (Q13)"							22	YESNO		NO			{NA}			100				-				12102					"Set this value to 'Yes' to use a broken tool flag
"Mostrar alarmas Fuera de tolerancia (Q13)"					23	INT			1			GT0:LT2			100				CM_MM			12102					"Indicador Herramienta rota o fuera de tolerancia. Este indicador evita que se genere una alerta en la máquina cuando se encuentra una herramienta rota o fuera de tolerancia."

"Velocidad de husillo (Q19)"									24	RPM			5000		{NA}			100				CM_S			12102					"Velocidad del husillo a la que se realiza la comprobación de una herramienta rota. Sólo se pueden utilizar valores de 200, 1.000 o 5.000 r.p.m."

"Retraer a plano de seguridad (Q26)"							26	YESNO		NO			{NA}			100				-				12102					"Si se selecciona 'Sí' en este valor, la herramienta se retrae en el eje del husillo según el valor especificado en la propiedad Plano de seguridad."
"Plano de seguridad (Q26)"									27	LINEAR		9999		GT0				100				CM_ZZ			12102					"Altura de plano de seguridad. Distancia del eje del husillo hasta la que se retrae la herramienta."

"Distancia de ajuste incremental del eje X (Q4)"			29	LINEAR		0.0			{NA}			100				CM_I			12102					"Permite ajustar individualmente el punto de reflexión de la herramienta para obtener la máxima información. NOTA: Sólo es válido si se utiliza un movimiento X para colocar la herramienta en su posición de comprobación."

"Distancia de ajuste incremental del eje Y (Q5)"			31	LINEAR		0.0			{NA}			100				CM_J			12102					"Permite ajustar individualmente el punto de reflexión de la herramienta para obtener la máxima información. NOTA: Sólo es válido si se utiliza un movimiento Y para colocar la herramienta en su posición de comprobación."

[Visibility]


PROPERTIES	23
CTRL_PROPS		22 ("Usar el indicador de herramienta rota (Q13)")
CTRL_VALUES		2 ("SÍ")	

PROPERTIES	27
CTRL_PROPS		26 ("Retraer a plano de seguridad (Q26)")
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		RPM					
ENUM_ITEM		"200"				200		0
ENUM_ITEM		"1000"				1000	1
ENUM_ITEM		"5000"				5000	2



[Categories]
; Name							ID
"Parámetros del ciclo"				100

[Resources]
; File name of resource DLL containing metafiles (optional)
PP_tsToolSettingRes.dll

; The post processor section to call when post processing occurs
[Post Section]
TOOLSETTING_BROKEN_TOOL_MACRO_TRS1
