Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Anonymous
390 Views, 2 Replies

Facing Z depth wrong in posted code

hello,

for some reasons z depth in my NC file doesn't match to the program. it's supposed to face at Z0 but it shows .20 as per below. any ideas what i did wrong and how to fix this?? thank you.

 

(T1 D=2. CR=0.063 - ZMIN=0. - face mill)
N10 G90 G94 G17
N15 G20
N20 G53 G0 Z0.

(Face1)
N25 / M9
N30 T1 M6
N35 S6700 M3
N40 G54
N45 M8
N50 G0 X2.5 Y-0.9451
N55 G43 Z1.22 H1
N60 G0 Z0.22
N65 G1 Z0.21 F100.
N70 G18 G3 X2.3 Z0.01 I-0.2 K0.
N75 G1 X1.2
N80 X-1.2
N85 G17 G2 Y0.2949 I0. J0.62
N90 G1 X1.2
N95 G18 G2 X1.4 Z0.21 I0. K0.2
N100 G0 Z0.22
N105 X2.5 Y-0.9451
N110 G1 Z0.2 F100.
N115 G3 X2.3 Z0. I-0.2 K0.
N120 G1 X1.2
N125 X-1.2
N130 G17 G2 Y0.2949 I0. J0.62
N135 G1 X1.2
N140 G18 G2 X1.4 Z0.2 I0. K0.2
N145 G0 Z1.22

N150 M5
N155 M9
N160 G53 G0 Z0.
N165 X0.
N170 G53 G0 Y0.
N175 M30