brother TC 兄弟机CNC如何遍宏程序刻日期“20150118 01 D”
宏程序如何编写 G90G0G40G80G19G49G91G0G28Z0.0
G52X0. Y0.
M01
T1M6
G90G0G54X6.34Y-40.768S6500M03
G43H1Z10.0M08
#100=-6.05
#130=600
#540=20150116
#541=#540-FIX[#540/10.]*10.
#542=FIX[#540/10.]-FIX[#540/100]*10.
#543=FIX[#540/100.]-FIX[#540/1000]*10.
#544=FIX[#540/1000.]-FIX[#540/10000]*10.
#545=FIX[#540/10000.]-FIX[#540/100000]*10.
#546=FIX[#540/100000.]-FIX[#540/1000000]*10.
#551=#550-FIX[#550/10]*10.
#552=FIX[#550/10]-FIX[#550/100]*10.
#553=FIX[#550/100]-FIX[#550/1000]*10.
G52 G54 X6.34Y-40.768
M98 P[#546+900]
G52 G54 X8.313Y-40.768
M98 P[#545+900]
G52 G54 X10.286Y-40.768
M98 P[#544+900]
G52 G54 X12.259Y-40.768
M98 P[#543+900]
G52 G54 X14.232Y-40.768
M98 P[#542+900]
G52 G54 X16.205Y-40.768
M98 P[#541+900]
G52 G54 X18.178Y-40.768
M98 P[#553+900]
G52 G54 X20.15Y-40.768
M98 P[#552+900]
G52 G54 X22.123Y-40.768
M98 P[#551+900]
G52X0. Y0.
#550=#550+1.
M99 xiesen 发表于 2015-1-18 14:10 static/image/common/back.gif
G90G0G40G80G19G49
G91G0G28Z0.0
G52X0. Y0.
这段程序刻的是不是20150116
敢问楼主,#550是干什么的,机台号? 請詳加敘述問題~
你是要編寫紅程序嗎?
若無經過專業培訓, 基本上你是不可能編寫出紅程序, 或是去改寫它!
页:
[1]