4.36 DINplus Program Example
Example of a subprogram with contour
repetitions
Contour repetitions, including saving of the contour
HEADER
#SLIDE $1
TURRET 1
T2 ID "121-55-040.1"
T3 ID "111-55.080.1"
T4 ID "161-400.2"
T8 ID "342-18.0-70"
T12 ID "112-12-050.1"
BLANK
N1 G20 X100 Z120 K1
FINISHED
N2 G0 X19.2 Z-10
N3 G1 Z-8.5 BR0.35
N4 G1 X38 BR3
N5 G1 Z-3.05 BR0.2
N6 G1 X42 BR0.5
N7 G1 Z0 BR0.2
N8 G1 X66 BR0.5
N9 G1 Z-10 BR0.5
N10 G1 X19.2 BR0.5
MACHINING
N11 G26 S2500
N12 G14 Q0
N13 G702 Q0
N14 L"1" V0 Q2
N15 M30
SUBPROGRAM "1"
N16 M108
N17 G702 Q1
380
Save contour
Qx = number of repetitions
Load saved contour
ISO Programming