Programming
Before the real polynomic contouring (G61 / G261) the various options are set by the NC command #CONTOUR MODE:
Depending on the contouring type for the parameterization some specific keywords are available. The command consist of the following basic syntax elements:
#CONTOUR MODE[
<contouring_type> PATH_DEV TRACK_DEV VEL PRE_DIST POST_DIST
<1.st_main_ax_name> <2.nd_main_ax_name> <3.rd_main_ax_name>
RELEVANT_PATH RELEVANT_TRACK REMAIN_PART <action>
CHECK_JERK MAX_ANGLE SYM_DIST ACC_MAX ACC_MIN
RAMP_TIME ]
<contouring_type>: | AUTO_DEV | Autom. contouring with maximum corner deviation (Type 1) |
AUTO_VEL | Autom. contouring with velocity reduction (Type 2) | |
DIST | Corner distance contouring (Type 3) | |
DEV | Corner deviation contouring (Type 4). ->Default contouring type after program start. | |
POS | Interim point contouring (Type 5) | |
DIST_SOFT | Contouring with jerk limiting by the contour (Type 6) | |
<action>: | PRE_ACTION | Execution of actions (M/H) before the contour curve |
INTER_ACTION | Execution of actions (M/H) during the contour curve | |
POST_ACTION | Execution of actions (M/H) after the contour curve |
Programming example
%TestG61
#CONTOUR MODE [AUTO_DEV PATH_DEV=1.0 RELEVANT_PATH=0 RELEVANT_TRACK=0]
N1 G90 G01 X0 Y0 Z0 A0 C0 F60
N10 G1 G61 X99.999 Y0.001
N20 G1 X100 (-> error message: 120216, Block to short)
(for contouring, contouring stopped)
#CONTOUR MODE [AUTO_DEV PATH_DEV=1.0 RELEVANT_PATH=0.1 RELEVANT_TRACK=0]
N2 G90 G01 X0 Y0 Z0 A0 C0 F60
N30 G1 G61 X99.999 Y0.001 (-> no error message: 120216)
N40 G1 X100 (-> Block is skipped, Contouring N30 -> N3)
#CONTOUR MODE [AUTO_DEV PATH_DEV=1.0 RELEVANT_PATH=0 RELEVANT_TRACK=0]
N3 G90 G01 X0 Y0 Z0 A0 C0 F60
N50 G1 G61 X100
N60 G1 X200 Z00 C-32.667 (-> tang. transition of main axes)
(contouring is suppressed)
#CONTOUR MODE [AUTO_DEV PATH_DEV=1.0 RELEVANT_PATH=0 RELEVANT_TRACK=0.1]
N4 G90 G01 X0 Y0 Z0 A0 C0 F60
N70 G1 G61 X100
N80 G1 X200 Z00 C-32.667 (-> tang. transition of main axes)
(contouring is not suppressed because)
(maximum deviation of slave axes)
N10000 G1 G61 X300 Z0 (-> error message: 120206, program end)
(during active contouring)
N0210 M30