Contour mode in the NC program

Contouring is activated by the G functions G61 (blockwise) or G261 (modal) after parameterising the corresponding contouring mode.

Programming Example

Activating contour modes in the NC program

%Contour_on_off
N10 G90 G01 X0 Y0 Z0 A0 C0 F60
N20 #CONTOUR MODE ON [DEV PATH_DEV=1.0]    ;Parameterise and
                                           ;activate (= G261)
N30 X100
N40 Y100
N50 X0
N60 Y0
N70 #CONTOUR MODE OFF                      ;Deactivate (= G260)
N80 M30

Parameterise contour modes in the NC program

Before the actual enabling of polynomial contouring (G61/G261), the individual options are parameterised by the NC command #CONTOUR MODE.

Depending on the contour mode, specific keywords are provided for parameterisation. The command has the following syntax structure:

#CONTOUR MODE [<contour_mode> <parameter> <action> ]

<contour_mode>

DEV

Contouring with corner deviation (default)

 

DIST

Contouring with corner distance

POS

Contour with interim point

DIST_SOFT

Dynamic optimised contouring

DIST_MASTER

Dynamic optimised contouring with master axis

PTP

Dynamically optimised contouring of the complete contour

<Parameter>

PATH_DEV

TRACK_DEV

...

Caution:

The parameters for deviations and tolerances must always be specified in [mm, inch] or [°]. When specifying in [inch], please refer to the note in P-CHAN-00439.

<action>

PRE_ACTION

Execute M/H actions at the start of the contouring curve.

 

INTER_ACTION

Execute M/H actions at the centre of the contouring curve.

POST_ACTION

M/H actions after the contouring curve.