使用线性模式的网格模式练习(循环 221)海德汉会话编程
提交人:cnc程序员
绘图/图片
数控程序
0 BEGIN PGM 10125 MM 1 BLK FORM 0.1 Z X+0 Y+0 Z-20 2 BLK FORM 0.2 X+100 Y+100 Z+0 3 TOOL DEF 1 L+0 R+3 4 TOOL CALL 1 Z S500 5 L M6 6 L X+15 Y+10 R0 FMAX M13 7 CYCL DEF 1.0 PECKING 8 CYCL DEF 1.1 SET UP 2 9 CYCL DEF 1.2 DEPTH -20 10 CYCL DEF 1.3 PECKG -20 11 CYCL DEF 1.4 DWELL 0 12 CYCL DEF 1.5 F200 13 CYCL DEF 221 CARTESIAN PATTERN Q225 = 15 ;STARTNG PNT 1ST AXIS Q226 = 10 ;STARTNG PNT 2ND AXIS Q237 = 10 ;SPACING IN 1ST AXIS Q238 = 10 ;SPACING IN 2ND AXIS Q242 = 8 ;NUMBER OF COLUMNS Q243 = 9 ;NUMBER OF LINES Q224 = 0 ;ANGLE OF ROTATION Q200 = 2 ;SET-UP CLEARANCE Q203 = 0 ;SURFACE COORDINATE Q204 = 100 ;2ND SET-UP CLEARANCE 14 TOOL CALL 0 15 L M6 16 L M30 17 END PGM 10125 MM
数控机床