Trim a contour (#HSC ON/OFF)
Syntax: |
#HSC [ON | OFF] [ BSPLINE [PATH_DEV=..] [TRACK_DEV=..] [MERGE=..] [AUTO_OFF_PATH=..] [AUTO_OFF_TRACK=..] [AUTO_OFF_G00=..] [AUTO_OFF_G60=..] [MAX_PATH_LENGTH=..] [MAX_ANGLE=..] ] ] |
ON | Enable HSC programming. |
OFF | Disable HSC programming. |
BSPLINE | Keyword for HSC programming with BSPLINE. Must always be programmed as first keyword. |
PATH_DEV=.. | 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 *when P-CHAN-00439 is active |
TRACK_DEV=.. | Maximum deviation of tracking axes in [°]. If the maximum deviation is defined as 0, tracking axes is not monitored. Default value: 5 ° |
MERGE=.. | Merge blocks. The maximum deviation is determined depending on the values taken from PATH_DEV and TRACK_DEV. 0: No block merging (default) 1: Merge blocks |
AUTO_OFF_PATH=.. | 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: Deselect if deviation is too large |
AUTO_OFF_TRACK=.. | 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: Deselect if deviation is too large |
AUTO_OFF_G00=.. | 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 |
AUTO_OFF_G60=.. | Automatic deselection of B Spline interpolation for programmed exact stop G60 or G360. 0: No implicit deselection due to exact stop (default) 1: Implicit deselection due to exact stop |
MAX_PATH_LENGTH=.. | Minimum 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) *when P-CHAN-00439 is active |
MAX_ANGLE=.. | Maximum contour knee angle in [°] for transitions between two linear blocks up to which a B spline is inserted. The B Spline is deselected internally if the angle between two linear blocks is greater. Default value: 160 ° |
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.
![]() | 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. |
Notice | |
Parameterisation cannot be changed while B spline interpolation is active. |
Programming Example
Trimming a contour
... or also