Controlling edge machining (#EDGE MACHINING)
Depending on the machining technology it may be necessary to control the machining process especially on sharp contours (edges). In the case of a sharp edge (defined by the angle difference between two contour elements), the path velocity at the edge is modified depending on pre-defined parameters. Linear or circular blocks can be programmed as contour elements. No check is made here whether they are inner or outer contours.
The edge machining function is configured in the channel parameter list and is effective as of program start. The exact description of parameters is described in the documentation [MDS-CHAN//Section Settings for edge machining].
In addition, the edge machining function can also be selected/deselected and parametrised in the NC program by the following NC command:
Syntax of Selecting edge machining: |
#EDGE MACHINING ON [ [ANGLE_LIMIT=..] [WAIT_TIME=..] [PRE_DIST=..] [PRE_FEED=..] [POST_DIST=..] [POST_FEED=..] [ DISABLE_FEED_ADAPTION=.. ] ] |
or together with setting default values
#EDGE MACHINING ON [ [ANGLE_LIMIT] [WAIT_TIME] [PRE_DIST] [PRE_FEED] [POST_DIST] [POST_FEED] [ DISABLE_FEED_ADAPTION] ] |
or
#EDGE MACHINING ON DEFAULT |
ON | Select edge machining. |
ANGLE_LIMIT=.. | Limit knee angle in [°]. If the knee angle between two contour elements is smaller than this critical angle, the special edge function is executed. |
WAIT_TIME=.. | Wait time in the edge in [s] |
PRE_DIST=.. | Distance after the edge in [mm, inch] for which a PLC signal is generated. |
PRE_FEED=.. | Feed before the edge in [mm/min, m/min, inch/min] used for the motion from PRE_DIST to the stop in the edge. |
POST_DIST=.. | Distance after the edge in [mm, inch] for which a PLC signal is generated. |
POST_FEED=.. | Feed after the edge in [mm/min, m/min, inch/min] used for the motion up to POST_DIST. The motion then continues at the originally programmed feed rate. |
DISABLE_FEED_ | Switching feed adaptation, Boolean: 0: Feed adaptation is active 1: Feed adaptation is inactive, PRE_FEED and POST_FEED are not effective. |
DEFAULT | When combined with ON selection, the default values apply from the channel parameter list [P-CHAN-00221 - P-CHAN-00226, P-CHAN-00300]. |
If all or some single keywords ANGLE_LIMIT, WAIT_TIME, PRE_DIST, PRE_FEED, POST_DIST, POST_FEED or DISABLE_FEED_ADAPTION and programmed without values, the default values from the channel parameter list [P-CHAN-00221 - P-CHAN-00226, P-CHAN-00300] are used.
The command #EDGE MACHINING OFF deselects the edge machining function. In combination with deselection, no other parameters may be specified.
Syntax of Deselecting edge machining |
#EDGE MACHINING OFF |
Configuration:
To use this function, the following setting must be made in the start-up list ([STUP]):
configuration.channel[0].path_preparation.function FCT_DEFAULT | FCT_EMF
Attention
It is permitted to change parameters when edge machining is active. However, it is recommended to program the change only after relevant contour elements are completed. This avoids an undefined reaction of the edge machining function.
Programing Example
Control edge machining
%edge_machining
(Select edge machining and set parameters with value)
#EDGE MACHINING ON [ANGLE_LIMIT=90 WAIT_TIME=0.2 PRE_DIST=5 PRE_FEED=800
POST_DIST=10 POST_FEED=1600]
(Select edge machining and set parameters to default)
#EDGE MACHINING ON [ANGLE_LIMIT PRE_DIST PRE_FEED POST_DIST POST_FEED
WAIT_TIME DISABLE_FEED_ADAPTION]
or
(Select edge machining and set parameters to default)
#EDGE MACHINING ON DEFAULT
(Deselect edge machining)
#EDGE MACHINING OFF