; 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]
"비접촉"

; Definition File Language - language of displayable text strings in this file
[Language]
Korean

; Existing Menu Item in application that Custom Macro name and its Parent Menu are to appear under
; FIELD CAN BE OMITTED
[Existing Menu]
"공구 세팅"

; Parent Menu - used as parent menu item text 
; FIELD CAN BE OMITTED
[Parent Menu]

"파손 공구 검출(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_Broken_Tool_Check"

; 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]
"공차(Q11)"										21	LINEAR		3.0			{NA}			100				CM_H			12102					"공구가 파손된 것으로 정의된 시기를 지정하는 공차 값 주: 지정된 음수 값과 함께 H 입력을 사용하는 경우 공구 길이에 공차를 더한 값이 공구 점검 위치입니다."

"파손 공구 플래그(Q13) 사용"							22	YESNO		NO			{NA}			100				-				12102					"Set this value to 'Yes' to use a broken tool flag
"공차를 벗어남 알람(Q13) 표시"					23	INT			1			GT0:LT2			100				CM_MM			12102					"공구 파손/공차를 벗어남 플래그. 공구가 파손/공차를 벗어난 것으로 확인될 때 기계에서 알람 발생을 억제하는 플래그입니다."

"스핀들 속도(Q19)"									24	RPM			5000		{NA}			100				CM_S			12102					"파손 공구 검사가 수행되는 스핀들 속도. 200,1000 또는 5000 rev/min 값만 사용할 수 있습니다."

"안전 평면(Q26)으로 후퇴"							26	YESNO		NO			{NA}			100				-				12102					"이 값을 'Yes(예)'로 설정하면 안전 평면 특성에 지정된 값만큼 스핀들 축에서 뒤로 공구가 후퇴합니다."
"안전 평면(Q26)"									27	LINEAR		9999		GT0				100				CM_ZZ			12102					"안전 평면 높이 스핀들 축에서 공구가 후퇴하는 거리."

"X축 증분 조정 거리(Q4)"			29	LINEAR		0.0			{NA}			100				CM_I			12102					"공구의 반사점을 개별적으로 조정하여 최대 피드백에 도달할 수 있습니다. 주: X 이동을 사용하여 공구를 점검 위치로 보내는 경우에만 유효합니다."

"Y축 증분 조정 거리(Q5)"			31	LINEAR		0.0			{NA}			100				CM_J			12102					"공구의 반사점을 개별적으로 조정하여 최대 피드백에 도달할 수 있습니다. 주: Y 이동을 사용하여 공구를 점검 위치로 보내는 경우에만 유효합니다."

[Visibility]


PROPERTIES	23
CTRL_PROPS		22 ("파손 공구 플래그(Q13) 사용")
CTRL_VALUES		2 ("예")	

PROPERTIES	27
CTRL_PROPS		26 ("안전 평면(Q26)으로 후퇴")
CTRL_VALUES		2 ("예")


[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
"사이클 파라메타"				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
