# workplane origin shift = false
# retract and reconfigure style = none linearise combine
# expand helical drilling cycles = true
# contact point based feedrate = true
workplane angles = none
retract at angular limit = true
unwind at tool change = true
multiaxis coordinate transform = true
linearise multiaxis moves = true
withdrawal amount = 100.0
integer 3 = 1
#279
define block tape start
"%"
ID JobName
N ; %D Day ; %M Month ; %Y Year ; %h Hour ; %m Minutes ; %s Seconds ; " )"
if ( DPversion < 1400 )
error " MINIMUM DUCTPOST VERSION REQUIRED = 1400"
end if
N ; VER DPversion ; OFN OptionFileName ; " )"
N ; G2 40 ; G3 17 ; G4 80 ; G6 49 ; G5 90
if ( ToolPath5axis )
N ; "M74 "
else
N ; "M71 "
N ; "M73 "
end if
end define
#290
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
#305
define block tool change
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
#320
define block move from
N ;
end define
#324
define block cldat 1094
set swa
set swb
end define
#329
define block move rapid
if ( swa )
N ; "( ======== )"
N ; TPN ToolPathName ; " )"
N ; "( ======== )"
unset swa
else
N ; G1 ; G2 ; G4 ; G5 ; x coord ; y coord ; z coord ;
elevation axis ; spindle ; M1 ; M2
end if
end define
#341
define block move linear
if ( swa )
unset swa
N ; "( ======== )"
N ; TPN ToolPathName ; " )"
N ; "( ======== )"
end if
if ( swb )
N ; G1 =C ; G2 ; G5 ; x coord =C ; y coord =C ; z coord =C ;
azimuth axis =C ; elevation axis =C ; spindle ; feedrate =C ; M1 ; M2
unset swb
else
N ; G1 ; G2 ; G5 ; x coord ; y coord ; z coord ;
elevation axis; spindle ; feedrate ; M1 ; M2
end if
end define
#383
define block move cycle
N ; x coord ; y coord ; z coord ; feedrate
end define
#387
define block move tap
N ; x coord ; y coord ; z coord ; feedrate
end define
#400
define block tape end
N ; G5 91 ; G6 28 ; z coord 10 =C
N ; G6 28 ; y coord 0 =C
N ; "M71 "
N ; "M73 "
N ; M1 30
"%"
end define