; Renishaw Productivity+ Custom Macro
; Do NOT remove the preceeding line or this macro will not load
; Definition File for Non-Contact Toolsetting Tool Length/rad 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]
Chinese

; 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]
"Heidenhain (NC1, NC2, NC4...)"

; Custom Macro Name - used as menu item text. ID MUST BE UNIQUE FOR EACH CUSTOM MACRO!
; FIELD IS COMPULSORY
[Custom Macro]
; Name										ID
"刀具長度/半徑"						48860

; 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]
"Length_Radius"

; Name or Program Number of macro
[MacroID]
505

; Properties - Do not use IDs 1-19
; Name										ID	Datatype	Default		Range		Category	Output Parameter	Metafile ID (optional)	Help Text			
[Properties]
"主軸轉速 (S)"							23	INT		1000	GE1000:LE20000	100				CM_S				11102				"刀具更換時使用的主軸速度"
"量測模式 (Q380)"					20	MEAS_TYPE	0			{NA}		100				CM_D				11102				"循環 505 用於量測刀具的有效長度和半徑。Q380 循環工作模式:= 0 量測模式（設定 L/R、零 DL/DR）:= 1 檢查模式（L/R 不變、調整 DL/DR):= 2 控制模式（僅公差檢查，不做刀具資料調整）。"
"長度修正值 (Q366)"			22	LINEAR		0.0			{NA}		100				CM_B				11102				"Q366 是長度修正值。在刀具基準設定之後，刀具長度值 (L, DL) 用此值進行修正。"
"半徑修正值 (Q367)"			21	LINEAR		0.0			{NA}		100				CM_C				11102				"Q367 半徑修正值。在刀具基準設定之後，刀具半徑值 (R, DR) 用此值進行修正。內定值 = 0"

[Visibility]
PROPERTIES	100
CTRL_PROPS		20 ("量測類型")	
CTRL_VALUES		0 ("量測模式 - Q380 = 0")			
CTRL_VALUES		1 ("檢查模式 - Q380 = 1")	
CTRL_VALUES		2 ("控制模式 - Q380 = 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		MEAS_TYPE					
ENUM_ITEM		"量測模式 Q380= 0"	0		0
ENUM_ITEM		"檢查模式 Q380= 1"		1		1
ENUM_ITEM		"控制模式 Q380= 2"		2		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_LENGTH_RADIAL_MACRO
