TABLE OF CONTENTS.MACRO COMMAND...1.MACRO DESIGN...3.ALARM LIST...4.MACRO 1. HOLE PATTERN 1-1.LINE AT ANGLE GRID SQUARE BOLT

Similar documents
CL-68x00,00,00,00,00, CL-78x00,00,00,00,6000 Spindle 181mm mm Spindle bore 181mm is standard. 255,5 or 5mm is option. Chuck is optional. You ca

CNC KINWA FLAT BED CNC LATHE CL-58x3000 CL-38/CL-58 Series Swing 660, 900mm Between centers 1000~6000mm Spindle bore 120,186,258,375mm Spindle motor 3

Gerotor Motors Series Dimensions A,B C T L L G1/2 M G1/ A 4 C H4 E

K301Q-D VRT中英文说明书141009

Gerolor Motors Series Dimensions A,B C T L L G1/2 M8 G1/ A 4 C H4 E

(baking powder) 1 ( ) ( ) 1 10g g (two level design, D-optimal) 32 1/2 fraction Two Level Fractional Factorial Design D-Optimal D

Text 文字输入功能 , 使用者可自行定义文字 高度, 旋转角度 , 行距 , 字间距离 和 倾斜角度。

BC04 Module_antenna__ doc

coverage2.ppt

monalitDE_002.indd

HCD0174_2008

untitled

bingdian001.com

Microsoft Word - 3D手册2.doc

Microsoft Word - HC20138_2010.doc

管道建模基础.ppt

2008年1月11日に岩手県釜石沖で発生した地震(M4.7)について

3 (s05q6) The diagram shows the velocity-time graph for a lift moving between floors in a building. The graph consists of straight line segments. In t

MODEL COLOR LIST UZ125D2 YMW GRAY YNF RED YRG BLUE 30H WHITE

untitled

untitled

119,,,,,, (, ), : (1),,,,,, (2),,,, (3),,,,,20,,,,,,,,

spss.doc

Microsoft PowerPoint - 數控教材第四章

热设计网

<534B544C DACFCA8FDB160B3C6B5E B FB8D5BE5C2E706466>

Bus Hound 5

OncidiumGower Ramsey ) 2 1(CK1) 2(CK2) 1(T1) 2(T2) ( ) CK1 43 (A 44.2 ) CK2 66 (A 48.5 ) T1 40 (

Preface This guide is intended to standardize the use of the WeChat brand and ensure the brand's integrity and consistency. The guide applies to all d

認可人士、註冊結構工程師及註冊岩土工程師作業備考 APP-142

净, 保 持 面 部 整 洁 这 里 要 说 一 下 的 是, 很 多 男 生 注 意 了 胡 子, 却 忘 了 鼻 毛, 而 旁 人 或 者 同 学 往 往 也 不 好 意 思 提 醒 建 议 面 试 前 一 定 要 仔 细 照 一 照 镜 子, 好 好 检 查 一 下 有 些 人 讲 话 多 了

構 築 4 列 牌 陣 從 剩 餘 的 牌 庫 頂 抽 4 張 牌, 面 朝 上 排 列 在 桌 子 中 央 這 4 張 牌 就 是 牌 陣 的 起 始 牌, 包 括 這 張 起 始 牌 在 內, 每 一 列 最 多 只 能 容 納 5 張 牌 將 剩 餘 的 牌 暫 時 置 於 一 旁, 在 下

Microsoft Word - TIP006SCH Uni-edit Writing Tip - Presentperfecttenseandpasttenseinyourintroduction readytopublish

SHIMPO_表1-表4

pdf

第1章 簡介

Microsoft PowerPoint - STU_EC_Ch02.ppt

kNΠm 2 5 % GB [4 5 ] ( ) ; m 100 ; 60m m ( A 114 [3 ] B 113) GB

untitled

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO

Microsoft Word - 数学软文+数学词汇+数学班广告+水印.docx

PowerPoint 演示文稿

LSC操作说明

JOURNAL OF EARTHQUAKE ENGINEERING AND ENGINEERING VIBRATION Vol. 31 No. 5 Oct /35 TU3521 P315.

foreign trade controlling organization before order confirmation. Moreover contract cancelling after verification must be handled within the validity

BHB530.BOOK

4,, : Fig. 1 Research route of the topic,,,,,,,,,,, [4] π,,,, :,, ;,, Tab. 1 Key parameters of back frame header (SP1)/MW (SK1)/% (WP8)/MP

Rotary Switch Catalogue

<4D F736F F F696E74202D20B5DAD2BBD5C228B4F2D3A1B0E6292E BBCE6C8DDC4A3CABD5D>

錄...1 說...2 說 說...5 六 率 POST PAY PREPAY DEPOSIT 更

C N C BED MILL CENTER (Y+Z BOX WAY) CNC- STANDARD ACCESSORIES Coolant System with TANK Auto Lubrication Spindle Air Blast Halogen Work Light F

(Microsoft Word - Motion Program \270\305\264\272\276\363 \307\245\301\366 \271\327 \270\361\302\367.doc)

2/80 2

SHIMPO_表1-表4

PowerPoint Presentation

untitled

MS24264 连接器

Chemcad.doc

FZ1.s92

WFC40810

Microsoft Word - Newsletter July 2007.doc

User’s Manual


Improved Preimage Attacks on AES-like Hash Functions: Applications to Whirlpool and Grøstl

投影片 1

the requirements of load - bearing rescue and turning of the large fire engine can be served as an outdoor safety area. 5 The second floor

穨control.PDF

Panaboard Overlayer help

2005 5,,,,,,,,,,,,,,,,, , , 2174, 7014 %, % 4, 1961, ,30, 30,, 4,1976,627,,,,, 3 (1993,12 ),, 2

Contents

KillTest 质量更高 服务更好 学习资料 半年免费更新服务

Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc

C++ 程式設計

Microsoft PowerPoint - STU_EC_Ch08.ppt

WVT new

今 日 韩 通 2009 年 9 月 30 日 星 期 三 农 历 八 月 十 二 第 十 期 ( 总 18 期 ) 总 编 辑 : 陈 兴 版 面 负 责 人 : 蔡 世 海 编 辑 : 石 榴 榴 主 办 : 江 苏 韩 通 船 舶 重 工 有 限 公 司 投 稿 方 式 : 1 您 可 以 通

PowerPoint Presentation

HC70245_2008

簡報技巧

LH_Series_Rev2014.pdf

PAS 220:2008

010 X Watch out for traffic signals 011 X Bumpy road 012 O Tunnel ahead 013 X Bicycles prohibited 014 O Yield 015 O Single lane road, pass with extrem

10 ( ) ( ) [5] 1978 : [1] (P13) [6] [1] (P217) [7] [1] (P19) : : [1] [4] (P1347) (P18) 1985 : [1] (P343) 1300 : [1] (P12) 1984 :

HC80279_2007

untitled

地質調査研究報告/Bulletin of the Geological Survey of Japan

Microsoft Word - KSAE06-S0262.doc

168 健 等 木醋对几种小浆果扦插繁殖的影响 第1期 the view of the comprehensive rooting quality, spraying wood vinegar can change rooting situation, and the optimal concent

untitled

2015 Chinese FL Written examination

Microsoft Word - Small CNC Lathe and Milling Machine.doc

,00024,000 84,

SINAMICS G120 基本定位器

untitled

18-陈亚莉.FIT)

OA-253_H1~H4_OL.ai

永遠的革新號--側論《筆匯》遺漏在文學史上的密碼

GF

untitled


Transcription:

DAH LIH MACHINERY INDUSTRY CO., LTD. CUSTOM MACRO PROGRAMMING MANUAL FS-0M FS-18M FS-15M FS-18i/21iMB FS-0iMC/0iMD MELDAS-M520 R3-T23-014 VERSION 1.0

TABLE OF CONTENTS.MACRO COMMAND...1.MACRO DESIGN...3.ALARM LIST...4.MACRO 1. HOLE PATTERN 1-1.LINE AT ANGLE...6 1-2.GRID...8 1-3.SQUARE...11 1-4.BOLT HOLE CIRCLE...14 1-5.ARC...16 2. FACING 2-1.SQUARE UNI CIRCLE...18 2-2.SQUARE BI DIR...23 2-3.CLRCLE FACING...28 3. SIDE CUTTING 3-1.OUTSIDE OF CIRCLE...33 3-2.INSIDE OF CLRCLE...37 3-3.OUTSIDE OF SQUARE...41 3-4.INSIDE OF SQUARE...45 3-5.OUTSIDE OF TRACK...49 3-6.INSIDE OF TRACK...53 4. POCKETING 4-1.CIRCLE POCKET...57 4-2.SQUARE POCKET...63 4-3.TRACK POCKET...72

THE EXPLAIN OF MACRO: Ⅰ.HOLE PATTERN 1. Line angle drilling G65P9911X_Y_U_A_H_ 2. Square grid drilling G65P9912X_Y_U_V_H_M_A_ 3. Square outside drilling G65P9913X_Y_U_V_H_M_A_ 4. Circle outside drilling G65P9914X_Y_I_H_A_ 5. Arc drilling G65P9915X_Y_I_H_D_A_ Ⅱ.FACING CUTTING 1. Square UNI DIR milling G65P9921X_Y_Z_R_U_V_D_F_E_C_K_Q_ 2. Square BI DIR milling G65P9922X_Y_Z_R_U_V_D_F_E_C_K_Q_ 3. Circle facing milling G65P9923X_Y_Z_R_I_D_F_E_C_K_Q_ Ⅲ.SIDE CUTTING 1. Finish cutting outside of circle G65P9931X_Y_Z_R_I_D_F_C_M_ 2. Finish cutting inside of circle G65P9932X_Y_Z_R_I_D_F_C_S_M_ 3. Finish cutting outside of square G65P9933X_Y_Z_R_I_D_F_U_V_C_S_M_ 4. Finish cutting inside of square G65P9934X_Y_Z_R_I_D_F_U_V_C_S_M_ 5. Finish cutting outside of track G65P9935X_Y_Z_R_I_J_U_D_F_C_M_ 1

6. Finish cutting inside of track G65P9936X_Y_Z_R_I_J_U_D_F_C_S_M_ Ⅳ.POCKETING 1. Bevel circle pocket G65P9941X_Y_Z_R_H_I_D_F_Q_E_A_C_K_S_M_T_(W620) 2. Bevel square pocket G65P9942X_Y_Z_R_H_U_V_I_J_D_F_Q_E_A_B_C_K_S_M_T_ (W620) 3. Track pocket G65P9943X_Y_Z_R_H_I_J_U_D_F_Q_E_C_K_S_M_ Note : The decimal can not be omitted for these commands A C I J K Q R X Y Z 2

3

(ALARM LIST) (MESSAGE) AL 3081 數 DATA LACK OR ERROR AL 3082 OFFSET ERROR AL 3083 令 C 數 DATA ERROR FOR C. AL 3084 R 令 RAPID APPROACH POINT R ERROR AL 3085 Z 令 令 Z END POINT ERROR AL 3086 I CORNER RADIUS I ERROR AL 3087 令 E MODIFY E. AL 3088 令 Q MODIFY Q. AL 3089 令 K MODIFY K. (Specification) 列 令 漏 (I.J.D.F.U.V.C.H.M.). Check whether any command be omitted or wrong for example (I.J.D.F.U.V.C.H.M.). 不 "" 令. Incorrect offset value be specified for the cutter. 不 " 切 C" 令. Incorrect radius of the approach circle be specified for example C. 令 " 切 R" 令. Nothing be specified for rapid approach point R, or the specified value is wrong. 令 " 切 度 Z" 令 Nothing be specified for bottom point Z, or the specified value is wrong. 不 " " 令 Incorrect corner arc radius be specified. 不 " 切 度 " 令.E 不 1.0. Incorrect percentage of the available cutting width be specified. The value E can't be greater than 1.0. 不 " 切 度 " 令.Q 不 (R-Z). Incorrect pass depth be specified.and the value Q can't be greater than the value(r-z). 不 " 度 " 令.K 不 Q. Incorrect finish stock allowance be specified. The value K can't be greater than the value Q. 4

(MESSAGE) AL 3090 R.H.Z. SEQUENCE-ERROR-R.H.Z. AL 3091 H. 令 漏 DATA-LACK-H. AL 3092 度 A. 令 BEVEL-A-TOO-BIG AL 3093 度 B. 令 BEVEL-B-TOO-BIG AL 3094 切 OVERCUTTING-IN-CORNER (Specification) R.H.Z. R. H. Z. The relation for R.H.Z. must obey the rule of sequence, The rule is R. H. Z. H. 令 漏. Check whether command H. be omitted. A. 令. The value A. is too big. B. 令. The value B. is too big. 切, 令 A.B.H.Z.I.J.. Overcutting occur in corner arc. Check the relative values for A.B.H.Z.I.J. 5

(1) Line( ) O9911 G81-G89(CANNED CYCLE)K0(L0) G65P9911X_Y_U_A_H_ Argument Meaning If omitted X Absolute coordination of first hole According to previous point Y Absolute coordination of first hole According to previous point U Distance between holes on the line Alarm 3081 A Rotational angle formed by line and A=0 X-axis H Number of holes on the line Alarm 3081 Note : K : 18M,15M,M520 L : 0M Number of repeats Example : Line angle drilling Ø6.8 mm Drill Spindle speed 1764 rpm Feedrate 176 mm/min Cutting depth 15 mm Z axis star point 50.0 mm above workpiece Program : % O1225 G40G49G80 G00G90G54X0Y0 G43H01Z50.M3S1764 G81Z-15.R5.F176K0(L0) G65P9911X-20.0Y0.0U-15.0A30.0H5. G80G91G28Z0 M30 % 6

Note :1.The value U can be minus. 2.The value H must larger than 0 and be positive integer. 3.The rotational angle A, plus direction of the angle is counterclockwise, and the minus direction is the clockwise, the center of rotation is first center of hole. 4.The G65 code is effective only in the block in which it is specified. 7

(2) Grid( ) O9912 G81-G89(CANNED CYCLE )K0(L0) G65P9912X_Y_U_V_H_M_A_) Argument Meaning If omitted X Absolute coordination of first hole According to previous point Y Absolute coordination of first hole According to previous point U Distance between holes on the line Alarm 3081 V Distance between holes on the column Alarm 3081 A Rotational angle formed by line and A=0 X-axis H Number of holes on the line Alarm 3081 M Number of holes on the column Alarm 3081 Note : K : 18M,15M,M520 L : 0M Number of repeats Example : Square grid drilling Ø6.8 mm Drill Spindle speed 1764 rpm Feedrate 176 mm/min Cutting depth 15 mm Z axis star point 50.0 mm above workpiece Program :% O1225 G40G49G80 G00G90G54X0Y0 G43H01Z50.M3S1764 G81Z-15.R5.F176K0(L0) G65P9912X20.0Y10.0U10.0V10.0A15.0H6.M4. G80G91G28Z0 M30 % 8

Note :1.The value U and V can be minus. 2.The value H and M must be larger than 0 and be positive integer. If H,M equal to 1, the value U and V can be omitted. 3.The rotational angle A, plus direction of the angle is counterclockwise, and the minus direction is the clockwise, the center of rotation is first center of hole. 4.The G65 code is effective only in the block in which it is specified. 9

10

(3) Square( ) O9913 G81-G89(CANNED CYCLE)K0(L0) G65P9913X_Y_U_V_H_M_A_) Argument Meaning If omitted X Absolute coordination of first hole According to previous point Y Absolute coordination of first hole According to previous point U Distance between holes on the line Alarm 3081 V Distance between holes on the column Alarm 3081 A Rotational angle formed by line and A=0 X-axis H Number of holes on the line Alarm 3081 M Number of holes on the column Alarm 3081 Note : K : 18M,15M,M520 L : 0M Number of repeats Example : Square outside drilling Ø6.8 mm Drill Spindle speed 1764 rpm Feedrate 176 mm/min Cutting depth 15 mm Z axis star point 50.0 mm above workpiece Program : % O1225 G40G49G80 G00G90G54X0Y0 G43H01Z50.M3S1764 G81Z-15.R5.F176K0(L0) G65P9913X20.0Y10.0U10.0V10.0A15.0H6.M4. G80G91G28Z0 M30 % 11

Note :1.The value U and V can be minus. 2.The value H and M must be larger than 0 and be positive integer. If H,M equal to 1, the value U and V can be omitted. 3.The rotational angle A, plus direction of the angle is counterclockwise, and the minus direction is the clockwise, the center of rotation is first center of hole. 4.The G65 code is effective only in the block in which it is specified. 12

13

(4) Circle( ) O9914 G81-G89(CANNED CYCLE)K0(L0) G65P9914X_Y_I_H_A_ Argument Meaning If omitted X Absolute coordination of circle center According to previous point Y Absolute coordination of circle center According to previous point I Cutting circle radius Alarm 3081 A Angle formed by the first hole and A=0 X-axis H Number of holes on the line Alarm 3081 Note : K : 18M,15M,M520 L : 0M Number of repeats Example : Circle outside drilling Ø6.8 mm Drill Spindle speed 1764 rpm Feedrate 176 mm/min Cutting depth 15 mm Z axis star point 50.0 mm above workpiece Program : % O1225 G40G49G80 G00G90G54X0Y0 G43H01Z50.M3S1764 G81Z-15.R5.F176K0(L0) G65P9914X30.0Y30.0I30.0H10.A30.0 G80G91G28Z0 M30 % 14

Note :1.The value H must be larger than 0 and be positive integer. 2.The value A, plus direction of the angle is counterclockwise, and the minus direction is the clockwise. 3.The G65 code is effective only in the block in which it is specified. 15

(5) Arc( ) O9915 G81-G89(CANNED CYCLE)K0(L0) G65P9915X_Y_I_H_D_A_ Argument Meaning If omitted X Absolute coordination of arc center According to previous point Y Absolute coordination of arc center According to previous point I Radius of arc Alarm 3081 D Angular distance between holes Alarm 3081 A Angle formed by the first hole and A=0 X-axis H Number of holes on the line Alarm 3081 Note : K : 18M,15M,M520 L : 0M Number of repeats Example : Arc drilling Ø6.8 mm Drill Spindle speed 1764 rpm Feedrate 176 mm/min Cutting depth 15 mm Z axis star point 50.0 mm above workpiece Program : % O1225 G40G49G80 G00G90G54X0Y0 G43H01Z50.M3S1764 G81Z-15.R5.F176K0(L0) G65P9915X30.0Y30.0I30.0H4.D30.A15.0 G80G91G28Z0 M30 % 16

Note :1.The value H must be larger than 0 and be positive integer. 2.The value A, plus direction of the angle is counterclockwise, and the minus direction is the clockwise. 3.The G65 code is effective only in the block in which it is specified. 4.The product (between angular difference (D) and number of holes(h))must be 360 or less. 5.The value D can be minus. 17

(6) SQUARE UNI DIR() O9921 G65P9921X_Y_Z_R_U_V_D_F_E_C_K_Q_) Argument Meaning If omitted X Absolute coordination of the left According to previous point down point Y Absolute coordination of the left According to previous point down point Z Finish depth Alarm 3085 R Staring depth and rapid approach Alarm 3084 point U Horizontal side length Alarm 3081 V Longitudinal side length Alarm 3081 D Cutter radius offset NO. Alarm 3081 F Feedrate Alarm 3081 E The percentage of the effectual cutting E=0.60 width (E 1) C Clearance C= Radius of cutter K Finish stock allowance K=0 Q Pass depth Q=R-Z+K 18

Example : Square UNI DIR milling Ø75.0mm Face mill D02=37.5 Spindle speed 600 rpm Feedrate 720 mm/min Cutting 5 mm Pass rough machining depth 2.0 mm Finish stock allowance 1.0 mm Z axis star point 50 mm above workpiece Star cutting point R5.0 Finish cutting point Z0.0 Program : % O1225 G40G49G80 G00G90G54X0Y0 G43H01Z50.M3S600 G65P9921X100.0Y50.0Z0.0R5.0U400.0V300.0D02F720E0.75C5.0K1.0Q2.0 G80G91G28Z0 M30 % Note :1.The command (G65P9921) include the finishing cutting. 2.The value U and V must be larger than 0, otherwise ALARM 3081 will occur. 3.The percentage of effectual cutting width E can not be larger than 1.0, otherwise ALARM 3087 will occur. 4.The clearance C can not be less than 0, otherwise ALARM 3083 will occur. 5.The finishing stock allowance value K can not be larger than the value Q, otherwise ALARM 3089 will occur. (Value [R-Z] Value Q Value K 0) 6.The pass depth Q can not be larger than value of total cutting depth (Value R- Value Z ), otherwise ALARM 3088 will occur.(value [R-Z] Value Q Value K 0) 7.The cutter offset value must be larger than 0, otherwise ALARM 3082 will occur. 8.The cutter radius compensation (G40,G41,G42) is not used. 9.These commands (D,F,R,Z,U,V) can not be omitted, otherwise ALARM 3081 will occur. 10.The G65 code is effective only in the block in which it is specified. 19

20

21

22

(7) SQUARE BI DIR() O9922 G65P9922X_Y_Z_R_U_V_D_F_E_C_K_Q_) Argument Meaning If omitted X Absolute coordination of the left According to previous point down point Y Absolute coordination of the left According to previous point down point Z Finish depth Alarm 3085 R Staring depth and rapid approach Alarm 3084 point U Horizontal side length Alarm 3081 V Longitudinal side length Alarm 3081 D Cutter radius offset NO. Alarm 3081 F Feedrate Alarm 3081 E The percentage of the effectual cutting E=0.60 width (E 1) C Clearance C=Radius of cutter K Finish stock allowance K=0 Q Pass depth Q=R-Z+K 23

Example : Square BI DIR milling Ø75.0mm Face mill D02=37.5 Spindle speed 600 rpm Feedrate 720 mm/min Cutting 5 mm Pass rough machining depth 2.0 mm Finish stock allowance 1.0 mm Z axis star point 50.0 mm above workpiece Star cutting point R5.0 Finish cutting point Z0.0 Program : % O1225 G40G49G80 G00G90G54X0Y0 G43H01Z50.M3S600 G65P9922X100.0Y50.0Z0.0R5.0U400.0V300.0D02F720E0.75C5.0K1.0Q2.0 G80G91G28Z0 M30 % Note :1.The command (G65P9922) include the finishing cutting. 2.The value U and V must be larger than 0, otherwise ALARM 3081 will occur. 3.The percentage of effectual cutting width E can not be larger than 1.0, otherwise ALARM 3087 will occur. 4.The clearance C can not be less than 0, otherwise ALARM 3083 will occur. 5.The finishing stock allowance value K can not be larger than the value Q, otherwise ALARM 3089 will occur. (Value [R-Z] Value Q Value K 0) 6.The pass depth Q can not be larger than value of total cutting depth (Value R- Value Z ), otherwise ALARM 3088 will occur.(value [R-Z] Value Q Value K 0) 7.The cutter offset value must be larger than 0, otherwise ALARM 3082 will occur. 8.The cutter radius compensation (G40,G41,G42) is not used. 9.These commands (D,F,R,Z,U,V) can not be omitted, otherwise ALARM 3081 will occur. 10.The G65 code is effective only in the block in which it is specified. 24

25

26

27

(8) CIRCLE FACING( ) O9923 G65P9923X_Y_Z_R_I_D_F_E_C_K_Q_) Argument Meaning If omitted X Absolute coordination of the circle According to previous point center Y Absolute coordination of the circle According to previous point center Z Finish depth Alarm 3085 R Staring depth and rapid approach Alarm 3084 point I Radius of circle Alarm 3081 D Cutter radius offset NO. Alarm 3081 F Feedrate Alarm 3081 E The percentage of the effectual cutting E=0.60 width (E 1) C Clearance C=Radius of cutter K Finish stock allowance K=0 Q Pass depth Q=R-Z+K 28

Example : Circle facing milling Ø75.0mm Face mill D02=37.5 Spindle speed 600 rpm Feedrate 720 mm/min Cutting 5 mm Pass rough machining depth 2.0 mm Finish stock allowance 1.0 mm Z axis star point 50.0 mm above workpiece Star cutting point R5.0 Finish cutting point Z0.0 Program : % O1225 G40G49G80 G00G90G54X0Y0 G43H01Z50.M3S600 G65P9923X45.0Y35.0Z0.0R5.0I100.0D02F720E0.75C5.0K1.0Q2.0 G80G91G28Z0 M30 % Note :1.The command (G65P9923) include the finishing cutting. 2.The percentage of effectual cutting width E can not be larger than 1.0, otherwise ALARM 3087 will occur. 3.The clearance C can not be less than 0, otherwise ALARM 3083 will occur. 4.The finishing stock allowance value K can not be larger than the value Q, otherwise ALARM 3089 will occur. (Value [R-Z] Value Q Value K 0) 5.The pass depth Q can not be larger than value of total cutting depth (Value R- Value Z ), otherwise ALARM 3088 will occur.(value [R-Z] Value Q Value K 0) 6.The cutter offset value must be larger than 0, otherwise ALARM 3082 will occur. 29

7.The cutter radius compensation (G40,G41,G42) is not used. 8.These commands (D,F,R,Z,I) can not be omitted, otherwise ALARM 3081 will occur. 9.The G65 code is effective only in the block in which it is specified. 30

31

32

(9) CIRCLE OUTSIDE( 輪廓 ) O9931 G65P9931X_Y_Z_R_I_D_F_C_M_) Argument Meaning If omitted X Absolute coordination of the circle According to previous point center Y Absolute coordination of the circle According to previous point center Z Finish depth Alarm 3085 R Rapid approach point R Alarm 3084 I Cutting circle radius Alarm 3081 D Cutter radius offset NO. Alarm 3081 F Feedrate Alarm 3081 C Approach direction Diameter of cutter M Cutting direction (M02 down cut) (M03 up cut) M02 (down cut) 33

Example : Finish cutting outside of circle Ø20.0mm End mill D02=10.0 Spindle speed 1500 rpm Feedrate 300 mm/min Cutting circle radius 50.0 mm Z axis star point 50.0 mm above workpiece Rapid approach point R R 2.0 Z end point Z -10 Cutting direction M02 (down cut) Program : % O1225 G40G49G80 G00G90G54X0Y0 G43H01Z50.M3S1500 G65P9931X100.0Y100.0Z-10.0R2.0I50.0D02F300C20.0M02 G80G91G28Z0 M30 % 34

Note :1.The clearance C can not be less than cutter radius offset value, otherwise ALARM 3083 will occur. 2.The cutter radius offset value must be larger than 0, otherwise ALARM 3082 will occur. 3.The cutter radius compensation (G40,G41,G42) is not used. 4.These commands (I,D,F,R,Z) can not be omitted, otherwise ALARM 3081, ALARM 3084, ALARM 3085 will occur. 5.The G65 code is effective only in the block in which it is specified. 35

36

(10) CIRCLE INSIDE( 輪廓 ) O9932 G65P9932X_Y_Z_R_I_D_F_C_S_M_) Argument Meaning If omitted X Absolute coordination of the circle According to previous point center Y Absolute coordination of the circle According to previous point center Z Finish depth Alarm 3085 R Rapid approach point R Alarm 3084 I Cutting circle radius Alarm 3081 D Cutter radius offset NO. Alarm 3081 F Feedrate Alarm 3081 C Approach circle radius 1/2 of I S Approach feedrate or return 3 time of F M Cutting direction (M02 up cut) (M03 down cut) M03 (down cut) 37

Example : Finish cutting inside of circle Ø20.0mm End mill D02=10.0 Spindle speed 1500 rpm Feedrate 300 mm/min Cutting circle radius 80.0 mm Z axis star point 50.0 mm above workpiece Rapid approach point R R 2.0 Z end point Z -10 Cutting direction M03 (down cut) Program : % O1225 G40G49G80 G00G90G54X0Y0 G43H01Z50.M3S1500 G65P9932X100.0Y100.0Z-10.0R2.0I80.0D02F300C40.0S1000M03 G80G91G28Z0 M30 % 38

Note :1.The cutting circle radius value (I) must be larger than or equal to approach circle radius value (C), the approach circle radius value (C) must be larger than or equal to the cutter radius offset value and the cutter radius offset value must be larger than 0, otherwise ALARM 3082 & ALARM 3083 will occur. 2.The cutter radius compensation (G40,G41,G42) is not used. 3.These commands (I,D,F,R,Z) can not be omitted, otherwise ALARM 3081, ALARM 3084, ALARM 3085 will occur. 4.The G65 code is effective only in the block in which it is specified. 39

40

(11) SQUARE OUTSIDE( 輪廓 ) O9933 G65P9933X_Y_Z_R_I_D_F_U_V_C_S_M_) Argument Meaning If omitted X Absolute coordination of the square According to previous point center Y Absolute coordination of the square According to previous point center Z Z end point Alarm 3085 R Rapid approach point R Alarm 3084 I Radius of corner arc No corner arc(i=0) D Cutter radius offset NO. Alarm 3081 F Feedrate Alarm 3081 U Horizontal side length Alarm 3081 V Longitudinal side length Alarm 3081 C Approach circle radius Alarm 3081 S Approach feedrate 3 time of F M Cutting direction (M02 down cut) (M03 up cut) M02 (down cut) 41

Example : Finish cutting outside of square Ø20.0mm End mill D02=10.0 Spindle speed 1500 rpm Feedrate 300 mm/min Z axis star point 50.0 mm above workpiece Rapid approach point R R 2.0 Z end point Z -10 Cutting direction M02 (down cut) Program : % O1225 G40G49G80 G00G90G54X0Y0 G43H01Z50.M3S1500 G65P9933X100.Y80.Z-10.0R2.0I5.0D02F300U150.V100.C50.0S1000M02 G80G91G28Z0 M30 % 42

Note :1.The approach circle radius value C can not be less than cutter radius offset value, Otherwise ALARM 3083 will occur. 2.The cutter radius offset value must be larger than 0, otherwise ALARM 3082 will occur. 3.The cutter radius compensation (G40,G41,G42) is not used. 4.These commands (C,D,F,R,Z,U,V) can not be omitted, otherwise ALARM 3081, ALARM 3084, ALARM 3085 will occur. 5.The G65 code is effective only in the block in which it is specified. 43

44

輪廓 G65P9934X_Y_Z_R_I_D_F_U_V_C_S_M_) Argument Meaning If omitted X Absolute coordination of the square According to previous point center Y Absolute coordination of the square According to previous point center Z Z end point Alarm 3085 R Rapid approach point R Alarm 3084 I Radius of corner arc I= Radius of cutter D Cutter radius offset NO. Alarm 3081 F Feedrate Alarm 3081 U Horizontal side length Alarm 3081 V Longitudinal side length Alarm 3081 C Approach circle radius Alarm 3081 S Approach feedrate 3 time of F M Cutting direction (M02 up cut) (M03 down cut) M03 (down cut) 45

Example : Finish cutting inside of square Ø16.0mm End mill D02=8.0 Spindle speed 1875 rpm Feedrate 375 mm/min Z axis star point 50.0 mm above workpiece Rapid approach point R R 2.0 Z end point Z 10.0 Cutting direction M03 (down cut) Program : % O1225 G40G49G80 G00G90G54X0Y0 G43H01Z50.M3S1875 G65P9934X100.Y80.Z-10.0R2.0I10.0D02F375U150.V100.C40.0S1000M03 G80G91G28Z0 M30 % 46

Note :1.The approach circle radius value C can not be less than cutter radius offset value, Otherwise ALARM 3083 will occur. 2.The cutter radius offset value must be larger than 0, otherwise ALARM 3082 will occur. 3.The cutter radius compensation (G40,G41,G42) is not used. 4.These commands (C,D,F,R,Z,U,V) can not be omitted, otherwise ALARM 3081, ALARM 3084, ALARM 3085 will occur. 5.The G65 code is effective only in the block in which it is specified. 47

48

(13) TRACK OUTSIDE( 輪廓 ) O9935 G65P9935X_Y_Z_R_I_J_U_D_F_C_M_) Argument Meaning If omitted X Absolute coordination of left arc According to previous point center Y Absolute coordination of left arc According to previous point center Z Track bottom point Z Alarm 3085 R Rapid approach point R Alarm 3084 I Radius of left cutting arc Alarm 3081 J Radius of dexter cutting arc Alarm 3081 U Distance between the two center of Alarm 3081 arc D Cutter radius offset NO. Alarm 3081 F Feedrate Alarm 3081 C Approach or return distance Diameter of cutter M Cutting direction (M02 down cut) (M03 up cut) M02 (down cut) 49

Example : Finish cutting outside of track, used G68 command to coordinate system rotation. Ø20.0mm End mill D02=10.0 Spindle speed 1500 rpm Feedrate 300 mm/min Z axis star point 50.0 mm above workpiece Rapid approach point R R 2.0 Z end point Z 10.0 Cutting direction M02 (down cut) The absolute coordination for the rotatory center is (40,0), and the coordinate system rotate for 45 degrees in the direction of counterclockwise. Program : % O1225 G40G49G80 G00G90G54X0Y0 G43H01Z50.M3S1500 G68X40.0Y0.R45. G65P9935X40.Y0.Z-10.0R2.0I20.0J30.0D02F300U50. C20.0M02 G69 G80G91G28Z0 M30 % 50

Note :1.The clearance C can not be less than cutter radius offset value, otherwise ALARM 3083 will occur. 2.The cutter radius offset value must be larger than 0, otherwise ALARM 3082 will occur. 3.The cutter radius compensation (G40,G41,G42) is not used. 4.These commands (I,J,U,D,F,R,Z) can not be omitted, otherwise ALARM 3081, ALARM 3084, ALARM 3085 will occur. 5.The G65 code is effective only in the block in which it is specified. 51

52

(14) TRACK INSIDE( 輪廓 ) O9936 G65P9936X_Y_Z_R_I_J_U_D_F_C_S_M_) Argument Meaning If omitted X Absolute coordination of left arc According to previous point center Y Absolute coordination of left arc According to previous point center Z Track bottom point Z Alarm 3085 R Rapid approach point R Alarm 3084 I Radius of left cutting arc Alarm 3081 J Radius of dexter cutting arc Alarm 3081 U Distance between the two center of Alarm 3081 arc D Cutter radius offset NO. Alarm 3081 F Feedrate Alarm 3081 C Approach or return circle radius I/2 S Approach or return feedrate 3 times of F M Cutting direction (M02 up cut) (M03 down cut) M03 (down cut) 53

Example : Finish cutting inside of track Ø20.0mm End mill D02=10.0 Spindle speed 1500 rpm Feedrate 300 mm/min Z axis star point 50.0 mm above workpiece Rapid approach point R R 2.0 Z end point Z 10.0 Cutting direction M03 (down cut) Program : % O1225 G40G49G80 G00G90G54X0Y0 G43H01Z50.M3S1500 G65P9936X100.Y80.0Z-10.0R2.0I40.0J50.0D02F300U100.C20.0S1000M03 G80G91G28Z0 M30 % 54

Note :1.The values (I,J) of left arc and dexter arc cutting radius must both be larger than approach circle radius value (C), the approach circle radius value (C) must be larger than cutter radius offset value, and the cutter radius offset value must be larger than 0, otherwise ALARM 3082 & ALARM 3083 will occur. 2.The cutter radius offset value must be larger than 0, otherwise ALARM 3082 will occur. 3.The cutter radius compensation (G40,G41,G42) is not used. 4.These commands (I,J,U,D,F,R,Z) can not be omitted, otherwise ALARM 3081, ALARM 3084, ALARM 3085 will occur. 5.The G65 code is effective only in the block in which it is specified. 55

% 56

(15) CIRCLE POCKET( ) O9941 G65P9941X_Y_Z_R_H_I_D_F_Q_E_A_C_K_S_M_T_(W620)) Argument Meaning If omitted X Absolute coordination of circle center According to previous point Y Absolute coordination of circle center According to previous point Z Track bottom point Z Alarm 3085 R Rapid approach point R Alarm 3084 H Pocket top point H Alarm 3091 I Radius of circle Alarm 3081 D Cutter radius offset NO. Alarm 3081 F Feedrate Alarm 3081 Q Pass depth Q=H-Z+K E The percentage of the effectual cutting E=0.60 width A Bevel A=0 C Radius of helical interpolation C=0 K Finish stock allowance K=0 M Cutting direction (M02 up cut) M03(down cut) (M03 down cut) S Feedrate in helical interpolation S=F/4 T Corner radius of cutter T=0 W620 Precision finish pocket command useless 57

Example : Bevel circle pocket (including rough machining of pocket, precision finish bottom of pocket, and precision finish side of pocket.) Ø32.0mm copy milling cutter D02=16.0 mm(corner radius of cuttert=5.0mm) Spindle speed 1406 rpm Feedrate 632 mm/min Z axis star point 50.0 mm above workpiece Rapid approach point R R 5.0 mm Z axis absolute coordination of pocket top Z 0.0 Z end point Z 15.0 Cutting direction M03 (down cut) Program : % O1225 G40G49G80 G00G90G54X0Y0 G43H01Z50.M3S1406 G65P9941X120.Y120.0Z-15.0R5.0H0.0I100.0 D02F632Q2.0 E0.50A10.0 C10.0K0.5S200M03T5.0.( Rough machining of pocket) G65P9941X120.Y120.0Z-15.0R5.0H0.0I100.0 D02F632Q15.0 E0.50A10.0 C10.0S200M03T5...(Precision finish bottom of pocket) G65P9941X120.Y120.0Z-15.0R5.0H0.0I100.0 D02F632Q0.5E0.50A10.0 C10.0S200M03T5.0W620..(Precision finish side of pocket.) G80G91G28Z0 M30 % 58

Explain : When W620 be specified following after the G65P9941, the cutting pocket macro Program will only execute finish cutting, and suppose that the rough machining has be finished before. Note :1.The offset value of cutter radius compensation must be less than or equal to the value I, otherwise ALARM 3086 will occur. 2.The sequence of altitude (R,H,Z) can not be changed, otherwise ALARM 3090 will occur.( Value R Value H Value Z ) 3.The percentage of effectual cutting width E can not be larger than 1.0, otherwise ALARM 3087 will occur. 4.The command I should be specified before K. 5.The finishing stock allowance value K can not be larger than the value Q, otherwise ALARM 3089 will occur. (Value [R-Z] Value Q Value K 0) 6.The pass depth Q can not be larger than value of total cutting depth (Value R- Value Z ), otherwise ALARM 3088 will occur.(value [H-Z] Value Q Value K 0) 7.The cutter offset value must be larger than 0, otherwise ALARM 3082 will occur. 8.The cutter radius compensation (G40,G41,G42) is not used. 9.These commands (D,F,R,Z,H,I) can not be omitted, otherwise ALARM 3081, ALARM 3084, ALARM 30854 will occur. 10.The G65 code is effective only in the block in which it is specified. 59

60

61

62

(16) SQUARE POCKET( ) O9942 G65P9942X_Y_Z_R_H_U_V_I_J_D_F_Q_E_A_B_C_K_S_M_T_(W620)) Argument Meaning If omitted X Absolute coordination of square According to previous point center Y Absolute coordination of square According to previous point center Z Pocket bottom point Z Alarm 3085 R Rapid approach point R Alarm 3084 H Pocket top point H Alarm 3091 U Horizontal side length Alarm 3081 V Longitudinal side length Alarm 3081 I Radius of top corner arc I= Radius of cutter J Radius of bottom corner arc J= Radius of cutter D Cutter radius offset NO. Alarm 3081 F Feedrate Alarm 3081 Q Pass depth Q=H-Z+K E The percentage of the effectual cutting E=0.60 width A Bevel on the XY plane A=0 B Bevel on the YZ plane B=0 C Radius of helical interpolation C=0 K Finish stock allowance K=0 M Cutting direction (M02 up cut) M03(down cut) (M03 down cut) S Feedrate in helical interpolation S=F/4 T Corner radius of cutter T=0 W620 Precision finish pocket command useless 63

Example : Bevel square pocket (including rough machining of pocket, precision finish bottom of pocket, and precision finish side of pocket.) Ø20.0mm copy milling cutter D02=10.0 mm(corner radius of cuttert=5.0mm) Spindle speed 2250 rpm Feedrate 450 mm/min Z axis star point 50.0 mm above workpiece Rapid approach point R R 5.0 mm Z axis absolute coordination of pocket top Z 0.0 Z end point Z 20.0 Cutting direction M03 (down cut) Program : % O1225 G40G49G80 G00G90G54X0Y0 G43H01Z50.M3S2250 G65P9942X120.Y100.0Z-20.0R5.0H0.0U150.0V120.0I40.0J20.0D02 F450.Q2.0 E0.50 A30.B15. C10.0K0.5S200M03T5.0.(Rough machining of pocket) G65P9942X120.Y100.0Z-20.0R5.0H0.0U150.0V120.0I40.0J20.0D02 F450.Q20. E0.50 A30.B15. C10.0S200M03T5.0 (Precision finish bottom of pocket) G65P9942X120.Y100.0Z-20.0R5.0H0.0U150.0V120.0I40.0J20.0D02 F450.Q0.5 E0.50 A30.B15. C10.0S200M03T5.0W620.(Precision finish side of pocket) G80G91G28Z0 M30 % 64

Explain : When W620 be specified following after the G65P9942, the cutting pocket macro Program will only execute finish cutting, and suppose that the rough machining has be finished before. Note :1.The offset value of cutter radius compensation must be less than or equal to the value I, J, otherwise ALARM 3086 will occur. 2.The sequence of altitude (R,H,Z) can not be changed, otherwise ALARM 3090 will occur.( Value R Value H Value Z ) 3.The percentage of effectual cutting width E can not be larger than 1.0, otherwise ALARM 3087 will occur. 4.The command I should be specified before K. 5.The finishing stock allowance value K can not be larger than the value Q, otherwise ALARM 3089 will occur. (Value [H-Z] Value Q Value K 0) 6.The pass depth Q can not be larger than value of total cutting depth (Value R- Value Z ), otherwise ALARM 3088 will occur.(value [H-Z] Value Q Value K 0) 7.The cutter offset value must be larger than 0, otherwise ALARM 3082 will occur. 8.The cutter radius compensation (G40,G41,G42) is not used. 9.These commands (D,F,R,Z,H,U,V) can not be omitted, otherwise ALARM 3081, ALARM 3084, ALARM 30854 will occur. 10.Corner radius of cutter must be less than value U and V. 11.The G65 code is effective only in the block in which it is specified. 65

66

67

68

69

70

71

(17) TRACK POCKET( ) O9943 G65P9943X_Y_Z_R_H_I_J_U_D_F_Q_E_ C_K_S_M_) Argument Meaning If omitted X Absolute coordination of circle center According to previous point Y Absolute coordination of circle center According to previous point Z Pocket bottom point Z Alarm 3085 R Rapid approach point R Alarm 3084 H Pocket top point H Alarm 3091 I Radius of left cutting arc Alarm 3081 J Radius of dexter cutting arc Alarm 3081 U Distance between the two center of Alarm 3081 arc D Cutter radius offset NO. Alarm 3081 F Feedrate Alarm 3081 Q Pass depth Q=H-Z+K E The percentage of the effectual cutting E=0.60 width C Radius of helical interpolation C=0 K Finish stock allowance K=0 M Cutting direction (M02 up cut) M03(down cut) (M03 down cut) S Feedrate in helical interpolation S=F/4 72

Example : Track pocket Ø32.0mm copy milling cutter D02=16.0 mm(corner radius of cuttert=5.0mm) Spindle speed 1406 rpm Feedrate 632 mm/min Z axis star point 50.0 mm above workpiece Rapid approach point R R 5.0 mm Z axis absolute coordination of pocket top Z 0.0 Z end point Z 20.0 Cutting direction M03 (down cut) Program : % O1225 G40G49G80 G00G90G54X0Y0 G43H01Z50.M3S1406 G65P9943X120.Y120.0Z-20.0R5.0H0.0I100.0J80.0 U280.D02F632Q2.0 E0.50 C20.0K0.5S200M03. (Rough machining of pocket) G80G91G28Z0 M30 % 73

Note :1.The offset value of cutter radius compensation must be less than or equal to the value I, J, otherwise ALARM 3086 will occur. 2.The sequence of altitude (R,H,Z) can not be changed, otherwise ALARM 3090 will occur.( Value R Value H Value Z ) 3.The percentage of effectual cutting width E can not be larger than 1.0, otherwise ALARM 3087 will occur. 4.The command I should be specified before K. 5.The finishing stock allowance value K can not be larger than the value Q, otherwise ALARM 3089 will occur. (Value [H-Z] Value Q Value K 0) 6.The pass depth Q can not be larger than value of total cutting depth (Value R- Value Z ), otherwise ALARM 3088 will occur.(value [H-Z] Value Q Value K 0) 7.The cutter offset value must be larger than 0, otherwise ALARM 3082 will occur. 8.The cutter radius compensation (G40,G41,G42) is not used. 9.These commands (D,F,R,Z,H,I,J,U) can not be omitted, otherwise ALARM 3081, ALARM 3084, ALARM 30854 will occur. 10.The value U can not be minus. 11.The G65 code is effective only in the block in which it is specified. 74

75

76

77

78