CNC编程中工件坐标系G54~G59是机床定位的功能,在一单节程序里只能用一个坐标,比如(G0G90G54X50Y50S1386M3.)要换为G55。(G0G90G55X50Y50S1386M3)一个坐标只能定位一个数据,
O006
G09G0G54X0Y0S1500M3;
G43H1Z50.M8;
Z1.
G1Z0F500
X50Y-50F2500.
X0Y-50.
...
Z50
M5
M9
G91G28Z0.
T2M6
G0G90G55X0Y0S2000M3;
G43H2Z50.
Z1.
G1Z0F500
X50Y-50F2500.
X0Y-50.
...
直接把程序首行的G54改成G55就好了,OK!