Programming example
General programming example
Programing Example
Mill circular pocket
Mode 4 is called in this example. This mode corresponds to the finishing configuration. As a consequence, the subroutine manufacturerHscFinishSettings.nc specified in the parameter hscs.finish.prg is called. In addition, this makes available the machining tolerance of 0.01 mm in the variable V.G.HSCS.FINISH.TOLERANCE and it is used in the subroutine as an example for the #HSC
command.
; HSC Settings
T9 D9 ( Tool data )
M6 ( Tool change )
G00 G17 G90 F2000 M03 S6000 ( Technology data )
G00 Z150 ( Go to z start position )
G00 X0 Y0 ( position over the workpiece )
; Finishing Mode
L CYCLE [NAME=SysHscSettings.ecy \
@P1 = 4 \
]
; 3D Milling
;...
;...
M30
Programming example for optimisation programs
The specified data are given as an example and cannot simply be adopted. This could cause damage to the machine.
% manufacturerHscDeselectSettings.nc
G133 = 100
G134 = 100
#HSC OFF
#FILTER OFF
M17
% manufacturerHscRoughSettings.nc
; example
; G133 = 180 ; example G133 = 180 set 180%
; G134 = 180
; #SLOPE[TYPE=HSC]
; #HSC ON[SURFACE PATH_DEV=V.G.HSCS.ROUGH.TOLERANCE \
TRACK_DEV=V.G.HSCS.ROUGH.TOLERANCE]
; #FILTER ON [AX_DEV=V.G.HSCS.ROUGH.TOLERANCE]
M17
% manufacturerHscPrefinishSettings.nc
; example
; G133 = 150 ; example G133 = 150 set 150%
; G134 = 150
; #SLOPE[TYPE=HSC]
; #HSC ON[SURFACE PATH_DEV=V.G.HSCS.PREFINISH.TOLERANCE \
TRACK_DEV=V.G.HSCS.PREFINISH.TOLERANCE]
; #FILTER ON [AX_DEV=V.G.HSCS.PREFINISH.TOLERANCE]
M17
% manufacturerHscFinishSettings.nc
; example
; G133 = 80 ; example G133 = 80 set 80%
; G134 = 80
; #SLOPE[TYPE=HSC]
; #HSC ON[SURFACE PATH_DEV=V.G.HSCS.FINISH.TOLERANCE \
TRACK_DEV=V.G.HSCS.FINISH.TOLERANCE]
; #FILTER ON [AX_DEV=V.G.HSCS.FINISH.TOLERANCE]
M17