Hs镜像功能指令G24,G25——简化编程的指令
格式:G24XYZ
M98P
G25XYZ
例:如图6.6所示的镜像功能程序
图6.6镜像功能
%0003主程序
N10G91G17M03;
N20M98P100;加工①
N季影齐翻功30G24X0;Y医烧液半请裂钢轴镜像,镜像位置为X=0
N40M9后例厂微西断还娘结灯题8P100;加工②
N50G24X0Y0;X轴、Y轴镜像,镜增部预何规像位置为(0,0)
N60M98P100;加工③
N70G25X0;取消Y轴镜像
N算卫线使民抓80G24Y0;X轴镜像
N90M98P100;加工④
材课波机货激低每控为N100G25Y0;取消镜像
N110M05;
N120M30尔;
子程序(①的加工程序)别特加敌核队积略怀:
%100
N200G41G00X10.0Y4.0D01;
N210Y1.0
N220Z-98.0;
N230G01Z-7.0F100;
N240Y25.0行又把;
N250X10.0;
N260若演管空G03X10.0Y-热10.0I10.0;
N270G01Y-10.0;
N280X-25.0;
N290G00Z105.0;
N300G40X该江李技关减式袁-5.0Y-10.0;
N310M99;
数控铣床编程一般指数控铣床编程与操作项目教程
主要讲述了数控铣床基本操作、平面图形加工、孔加工、轮廓加工、凹槽加工等基本技能。
朋友数安滑述由素天宣异:你好!
我帮你编了,程序如下:
%
O0000
(PROGRAM NAME - T10)
(DATE=DD-MM-为米得点耐YY - 27-05-17 TIME=HH:MM - 14:25)
N100G21
N102G0G17G40G49G80G90
( 10. FLAT ENDMILL TOOL - 1 DIA. OFF. - 1 主既曲轻露影怎安弦LEN. - 1 DIA. - 10.)
N104T1M6
N106G0G90X-71.Y-49.998A0.S1900M3
N108G4治比3H1Z30.
N110Z5.
N112G1Z-2.F100.
N114X71.
N116G0Z30.
N118X-71.Y-42.855
N120Z3.
N122G1Z-2.
N1乎成省妒班24X71.
N126G0Z30.
N128X-71.Y-35.713
N130Z3.
N132G1Z-2.
N134X71.
N136G0Z30.
N138X-71.Y-28.57
N140Z3.
N142G1Z-2.
N144X71.
N146G0Z3负城挥变得府松祖土括0.
N148X-71.Y-21.428
N150Z3.
N152G1Z-2.
N154X71.
N156G0Z30.
N158X-71.Y苦空远味目赶-14.285
N160Z3.
N162G1Z-2.
N164X71.
N166G0Z30.
N168X-71.Y-7.1块伯坚乙时氢43
N170Z3.
停术短并校切穿局医技一N172G1Z-2.
N174X71.
N176G0Z30.
N178X-71.Y0.
N180Z3.
N182G1Z-2.
N184X71.
N186G0Z30.
N188X-71.Y7.143
N190Z3.
N192管故又显机希草质游装G1Z-2.
N194X71.
N196G0Z30.
N198X-71.Y14哥议更.285
N200Z3.
N202G1Z-2.
N204X71.
N206G0Z30华掌行而收先成群预社.
N208X-71.Y21.428
N210Z3.
N212G1Z-2.
N214X71.
N216G0觉安Z30.
N218X-7本成破装组1.Y28.57
N220Z3.
N222G1Z-2.
N均雨微杀224X71.
N226G0Z3而助击模加0.
N228X-71.Y3液煤岩5.713
N230Z3.
N232G1Z-2.
N234X71.
N236G0Z30.
N238X-71.Y42.855
N240Z3.
N242G1Z-2.
N244X71.
N246G0Z30.
N248X-71.Y49.998
N250Z3.
N252G1Z-2.
N254X71.
N256G0Z30.
N258X-64.75Y-54.75
N260Z3.
N262G1Z-5.
N264X64.75
N266Y-47.45
N268X-64.75
N270Y-40.15
N272X64.75
N274Y-32.85
N276X25.25
N278Y-30.
N280G2X25.937Y-25.55R14.75
N282G1X64.75
N284Y-18.25
N286X31.084
N288G2X40.Y-15.25R14.75
N290G1X45.25
N292Y-10.95
N294X64.75
N296Y-3.65
N298X45.25
N300Y3.65
N302X64.75
N304Y10.95
N306X45.25
N308Y18.25
N310X64.75
N312Y25.55
N314X44.204
N316G3X38.212Y32.85R15.25
N318G1X64.75
N320Y40.15
N322X-64.75
N324Y47.45
N326X64.75
N328Y54.75
N330X-64.75
N332Y32.85
N334X-4.95
N336X-14.683Y25.55
N338X-64.75
N340Y18.25
N342X-24.417
N344X-34.15Y10.95
N346X-64.75
N348Y3.65
N350X-43.883
N352X-45.25Y2.625
N354Y-3.65
N356X-64.75
N358Y-10.95
N360X-45.25
N362Y-18.25
N364X-64.75
N366Y-25.55
N368X-45.25
N370Y-32.85
N372X-64.75
N374G0Z30.
N376X65.Y-55.
N378Z3.
N380G1Z-5.
N382X-65.
N384Y55.
N386X65.
N388Y-55.
N390G0Z30.
N392X-45.Y-35.
N394Z3.
N396G1Z-5.
N398X25.
N400Y-30.
N402G2X40.Y-15.R15.
N404G1X45.
N406Y20.
N408G3X30.Y35.R15.
N410G1X-1.667
N412X-45.Y2.5
N414Y-35.
N416G0Z30.
N418M5
N420G91G28Z0.
N422G28X0.Y0.A0.
N424M30
%