Trimming a contour

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

                         [AUTO_OFF_PATH<expr>] [AUTO_OFF_TRACK<expr>]

                         [AUTO_OFF_G00<expr>]

                         [MAX_PATH_LENGTH<expr>] [MAX_ANGLE<expr>] ] ] (modal)

ON

Enable HSC programming.

OFF

Disable HSC programming.

BSPLINE

Keyword for HSC programming with BSPLINE. Must always be programmed as first keyword.

PATH_DEV<expr>

Maximum deviation of B spline from programmed path contour in [mm, inch *]. The spline is deselected automatically if this deviation is exceeded. If the maximum deviation is defined as 0, path deviation is not monitored.

Default value: 0.2 mm

*at active P-CHAN-00439

TRACK_DEV<expr>

Maximum deviation of tracking axes in [°]. If the maximum deviation is defined as 0, tracking axes is not monitored.

Default value: 5°

MERGE<expr>

Merging blocks. The maximum deviation is determined depending on the values taken from PATH_DEV and TRACK_DEV.

0: No block merging (default)

1: Merging blocks

AUTO_OFF_PATH<expr>

Automatic block separation if the programmed B spline deviation of the main axes is exceeded (PATH_DEV).

0: No deselection if deviation is too large (default), block is separated

1: Deselection if deviation is too large

AUTO_OFF_TRACK<expr>

Automatic block separation if the programmed B spline deviation of the tracking axes is exceeded (TRACK_DEV).

0: No deselection if deviation is too large (default), block is separated

1: Deselection if deviation is too large

AUTO_OFF_G00<expr>

Automatic deselection of B spline interpolation for G00 blocks.

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

1: Implicit deselection due to a rapid traverse block

MAX_PATH_LENGTH<expr>

Maximum path length of relevant blocks in [mm, inch *]. If blocks are longer than the specified length, the B-spline is deselected implicitly.

Default value: 0 mm (implicit deselection due to block length does not take place).

*at active P-CHAN-00439

MAX_ANGLE<expr>

Maximum contour knee angle in [°] for transitions between two linear blocks up to which a B spline is inserted. The B-spline is cancelled internally if the angle between the two linear blocks is greater.

Default value: 0° (no implicit deselection because of knee angle)

Control points are programmed with linear blocks (G00 and G01). Their target points are used as control points. It must be considered that only the start and end of the curve runs straight through the control points.

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, the maximum path length ("MAX_PATH_LENGTH ") and selection of B spline interpolation ("ON") are defined.

Attention

attention

Parameterisation cannot be changed while B spline interpolation is active.

Programing Example

prg_example

Trimming a contour

The spline curve is based on the control points N40 – N155 but in this case, the spline curve only runs straight through them at N20 and N150.

N20 G00 X0 Y0 Z0 F10000

N30 #HSC ON [BSPLINE PATH_DEV=0.2 MERGE=1 ...] Parametrisation + selection

N40   X3     Y25

N50   X15    Y15

N60   X23    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

... or also

N20  G00 X0 Y0 Z0 F10000

N25  #HSC [BSPLINE PATH_DEV=0.2 MERGE=1 ...] Parameterisation

N30 #HSC ON Selection

N40   X3     Y25

N50   X15    Y15

N60   X23    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 Abwahl

N170 M30