TheWolfOfWalmart
Plastic
- Joined
- Nov 2, 2018
I'm using the probed location of two bores to find the rotation for my G68, which I call at the beginning of my program. I've observed that the group 50 active code(while running) shows what's contained in my R variable. However, in the program below, the value changes part way through. When I single block, it seems to be at N180 and I can't figure out why.
The angle is small enough that it isn't visually perceptible so I'm hesitant to continue running without having any way to verify the WCS rotation is still working.
Doesn anyone know a way to verify this on NGC while running? 2016 Haas Minimill. Thanks
<code>
%
O01001 (Outer 1/2"-13)
(Using G0 which travels along dogleg path.)
(T3 D=0.25 CR=0. TAPER=45deg - ZMIN=-0.06 - chamfer mill)
(T4 D=0.25 CR=0. TAPER=140deg - ZMIN=-0.04 - spot drill)
(T5 D=0.187 CR=0. - ZMIN=-0.25 - flat end mill)
(T6 D=0.372 CR=0. - ZMIN=-0.8 - form mill)
(T7 D=0.5 CR=0. - ZMIN=-0.25 - reamer)
(T10 D=0.4219 CR=0. TAPER=135deg - ZMIN=-1.0124 - drill)
N10 G90 G94 G17
N15 G20
N20 G54 (Calling for G68);
N25 (Code for Co-ordinate rotation)
N30 #10000=ATAN[[ #5242-#5222]/[#5241-#5221]]
N35 G68 X0. Y0. R#10000
N40 G53 G0 Z0.
(Spot 6)
N45 T4 M6
N50 S4667 M3
N55 G54
N60 M8
N65 G0 X-5. Y5.
N70 G43 Z0.8 H4
N75 G0 Z0.2
N80 G98 G82 X-5. Y5. Z-0.04 R0.2 P30 F23.615
N85 G80
N90 G0 Z0.8
</code>
The angle is small enough that it isn't visually perceptible so I'm hesitant to continue running without having any way to verify the WCS rotation is still working.
Doesn anyone know a way to verify this on NGC while running? 2016 Haas Minimill. Thanks
<code>
%
O01001 (Outer 1/2"-13)
(Using G0 which travels along dogleg path.)
(T3 D=0.25 CR=0. TAPER=45deg - ZMIN=-0.06 - chamfer mill)
(T4 D=0.25 CR=0. TAPER=140deg - ZMIN=-0.04 - spot drill)
(T5 D=0.187 CR=0. - ZMIN=-0.25 - flat end mill)
(T6 D=0.372 CR=0. - ZMIN=-0.8 - form mill)
(T7 D=0.5 CR=0. - ZMIN=-0.25 - reamer)
(T10 D=0.4219 CR=0. TAPER=135deg - ZMIN=-1.0124 - drill)
N10 G90 G94 G17
N15 G20
N20 G54 (Calling for G68);
N25 (Code for Co-ordinate rotation)
N30 #10000=ATAN[[ #5242-#5222]/[#5241-#5221]]
N35 G68 X0. Y0. R#10000
N40 G53 G0 Z0.
(Spot 6)
N45 T4 M6
N50 S4667 M3
N55 G54
N60 M8
N65 G0 X-5. Y5.
N70 G43 Z0.8 H4
N75 G0 Z0.2
N80 G98 G82 X-5. Y5. Z-0.04 R0.2 P30 F23.615
N85 G80
N90 G0 Z0.8
</code>