Method 3: Surface machining with surface optimiser

#HSC [ON | OFF] [ [ SURFACE [PATH_DEV<expr>] [TRACK_DEV<expr>]

                             [PATH_DEV_G00<expr>] [TRACK_DEV_G00<expr>]

                             [MAX_ANGLE<expr>] [CHECK_JERK<expr>]

                             [AUTO_OFF_G00<expr>] [CIR_MODE<expr>]
                             [CIR_MIN_ANGLE<expr>] ]                                     (modal)

ON

Enable HSC programming.

OFF

Disable HSC programming.

SURFACE

Keyword for HSC operation with surface optimizer. Must always be programmed as first keyword!

PATH_DEV<expr>

 

Define maximum contour error.

> 0.0: Maximum path deviation in [mm, inch *]

Default value: 0.2 mm

Notice

notice

Empirically, the contour error should be set 2 or 3 times larger than the secant error which is defined when the NC program is generated by the CAM system.

The tool is not in contact in G0 motions. As a result, the tolerance can be set significantly larger than PATH_DEF without changing the precision of the workpiece.

PATH_DEV_G00<expr>

Define maximum contour error for G0-G0 transitions.

> 0.0: Maximum path deviation in [mm, inch *]

Default value: The value of PATH_DEV<expr> applies

CIR_MODE<expr>

Define contouring of circular motions:

0 :  No contouring of circular motions G02/G03

1 : Contour circular blocks. (default)

CIR_MIN_ANGLE<expr>]

Define minimum circle angle

Valid values: >= 0.0 : Minimum circle angle in degrees

The minimum circle angle at which circular motions can be traversed by the method using exact interpolation. Circular blocks with small swept angles are approximated by a spline curve for faster processing. (Default value: 30°)

*with active P-CHAN-00439

 

TRACK_DEV<expr>

 

Define the maximum orientation error.

>= 0.0: Maximum path deviation in [°]

Default value: 2°

TRACK_DEV_G00<expr>

Define the maximum orientation error for G0-G0 transitions.

>= 0.0: Maximum path deviation in [°]

Default value: The value of TRACK_DEV<expr> applies

Notice

notice

If a ball milling cutter is used, the value can be set significantly larger than PATH_DEV (e.g. 10 times).

The tool is not in contact in G0 motions. As a result, the tolerance can be set significantly larger than TRACK_DEV without influencing the precision of the workpiece.

MAX_ANGLE<expr>

Define the maximum contour knee angle in [°] for transitions between two linear blocks up to which the this mode can be used. If the angle between the two linear blocks exceeds this limit, the mode is deselected internally.

>= 0.0: Maximum knee angle in [°]

Default value: 160°

CHECK_JERK<expr>

Monitor the jerk, caused by curvature of the polynomial (cf. P-CHAN-00110). This parameter overwrites the initial state defined in the channel parameter list P-CHAN-00110 (check_jerk_on_poly_path).

0: No jerk monitoring

1: Jerk monitoring based on the geometric ramp time P-AXIS-00199. This may reduce path velocity.

2: Jerk monitoring based on ramp times P-AXIS-00195 up to P-AXIS-00198 of the non-linear velocity profile.

AUTO_OFF_G00<expr>

Automatic deselection of optimisation with G00 blocks

0: No implicit deselection due to rapid traverse block (default)

1: Implicit deselection due to a rapid traverse block

Notice

notice

Default values of free-form surface machining

PATH_DEV

0.2 mm (default value of PATH_DEV)

TRACK_DEV

2° (default value of TRACK_DEV)

PATH_DEV_G00

PATH_DEV

TRACK_DEV_G00

TRACK_DEV

CIR_MODE

1

MAX_ANGLE

160°

CHECK_JERK

The valid channel parameter is

P-CHAN-00110

(check_jerk_on_poly_path, Standard 1)

AUTO_OFF_G00

0

CIR_MIN_ANGLE

30°

Notice

notice

The parameters may also be specified in several steps. For example, this means that it is possible to first define the maximum contour deviation ("PATH_DEV "). Then in a second command, jerk monitoring ("CHECK_JERK ") and the selection of HSC surface interpolation ("ON") are defined.

Attention

attention

Parameterisation cannot be changed while smoothing is active.

Attention

attention

A condition for using this function is that it should be parameterised in the start-up list for each channel in which the function is to be used.

Example of a setting in the start-up list:

configuration.channel[].path_preparation.function FCT_DEFAULT|FCT_SURFACE

Programing Example

prg_example

Surface machining with surface optimiser

N20 G00 X0 Y0 Z0 F10000

;Parametrisation + selection

N30 #HSC ON [SURFACE PATH_DEV=0.02 CHECK_JERK=0]

N40   X3     Y25

N50   15     Y15

N60   23     Y12

N70   X25    Y25

N80   X30    Y35

N90   X50    Y37.5

N100  X55    Y32.5

N110  X58    Y12

N120  X70    Y12

N130  X77.5  Y10

N140  X90    Y35

N150  X100   Y37.5

N160 #HSC OFF

N170 M30

Alternative Programming:

N20 G00  X0    Y0    Z0 F10000

#HSC [SURFACE PATH_DEV=0.02 CHECK_JERK=0] ;Parametrisation

N30 #HSC ON ;Select

N40   X3     Y25

N50   15     Y15

N60   23     Y12

N70   X25    Y25

N80   X30    Y35

N90   X50    Y37.5

N100  X55    Y32.5

N110  X58    Y12

N120  X70    Y12

N130  X77.5  Y10

N140  X90    Y35

N150  X100   Y37.5

N160 #HSC OFF

N170 M30