|
发表于 2019-4-27 21:08:31
|
显示全部楼层
define block tool change first
N ; TT ToolType ; " )"
N ; TN ToolName ; " )"
if ( ToolType = "BALLNOSED" or ToolType = "ENDMILL" or ToolType = "DRILL" )
N ; TD ToolRadius[ToolNum] ; TLH ToolLength[ToolNum] ; " )"
else
N ; TD ToolRadius[ToolNum] ; TR TipRadius[ToolNum] ; TLH ToolLength[ToolNum] ; " )"
end if
N ; change tool ; T ToolNum
N ; S toolSpeed[ToolNum] ; spindle on cw
N ; rapid =C ; G4 54 =C ; x coord FromX =C ; y coord FromY =C
N ; G6 43 ; "H11"
N ; abs data =C ;
end define |
|