Hello Guest it is April 18, 2024, 03:14:30 PM

Author Topic: Problem with helical arcs  (Read 2552 times)

0 Members and 1 Guest are viewing this topic.

Problem with helical arcs
« on: October 15, 2013, 02:15:21 PM »
I am rebuilding a Flexicam chassis to run with Mach3 and a SoundLogic board. I have had it up and running for a while.

A recent program has me puzzled. I am not sure if I have a hardware problem or a Mach3 problem. This program first cuts an orbround slot .025 deep using a continuous spiral down. It then raises the tool and moves to cut a profile that consists of linked helical arcs, both G2's and G3's, which ramp down in Z just as in the slot.

Here is the problem. The first feature, the slot, is cut correctly. The outside  profile ends up not being cut. Some how coordinates intended to move the tool down are being converted in to positive moves while the Z-axis DRO is merrily saying the spindle is moving down. Also when the program ends Mach3 thinks the Z-zero position is above where it was originally set on the top of the material.

The problem is repeatable. As a test I removed all the Z coordinates from the arcs and adjusted the program to plunge to Z and hold while the arcs are cut.  That program ended correctly. Mach3 still knew the correct position for the Z=zero.

Is there something I am missing about how Mach3 handles a string of G2/G3 blocks using X,Y, Z, I, J  that ramp down ??

Is this a bug or do I have a hardware problem that other programs do not see?

Regards, B

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Problem with helical arcs
« Reply #1 on: October 15, 2013, 02:25:15 PM »
Can you post the code?
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Problem with helical arcs
« Reply #2 on: October 15, 2013, 03:09:38 PM »
This is the code I was having problems with. Is there a way to post as an attachment?
Regards, B
%
(Gilbert Clock minute hand 10-3-2013 Omh)
(using .032 2F endmill in .025 rolled brass)
(glue brass to wood block)
O00011
(T1  D=0.032 CR=0. - ZMIN=-0.025 - flat end mill)
G90 G94 G17 G54
G20
M05
T1 M06
S18000 M03
G00 X0.1575 Y0.164
G43 Z1.2 H01
Z0.2
G01 Z0.0394 F15.
Z0.0295 F5.
X0.255 Z0.0244
G03 Y0.216 Z0.0216 I-0.065 J0.026
G01 X0.125 Z0.0148
G03 Y0.164 Z0.012 I0.065 J-0.026
G01 X0.255 Z0.0052
G03 Y0.216 Z0.0024 I-0.065 J0.026
G01 X0.125 Z-0.0044
G03 Y0.164 Z-0.0072 I0.065 J-0.026
G01 X0.255 Z-0.014
G03 Y0.216 Z-0.0168 I-0.065 J0.026
G01 X0.125 Z-0.0236
G03 X0.12 Y0.19 Z-0.025 I0.065 J-0.026
X0.125 Y0.164 I0.07 J0. F8.
G01 X0.255
G03 Y0.216 I-0.065 J0.026
G01 X0.125
G03 X0.12 Y0.19 I0.065 J-0.026
G00 Z1.2
X1.4285 Y0.238 Z1.2
Z0.2
;end of hole

;program runs fine to here

;start outside profile
G01 Z0.0524 F9.
    Z0.0295 F5.
G03 X2.0263 Y0.3166 Z0.023 I-0.0806 J2.9261
G02 X2.0418 Y0.3118 Z0.0228 I0.0037 J-0.0156
G01 X2.0888 Y0.2606 Z0.0221
    X2.1456 Y0.2956 Z0.0214
G02 X2.1583 Y0.2974 Z0.0212 I0.0084 J-0.0136
G03 X2.674 Y0.2255 Z0.0156 I0.52 J1.8446
G02 X2.69 Y0.2095 Z0.0153 I0. J-0.016
G01 Y0.1705 Z0.0149
G02 X2.674 Y0.1545 Z0.0146 I-0.016 J0.
G03 X2.1583 Y0.0826 Z0.009 I0.0043 J-1.9165
G02 X2.1456 Y0.0844 Z0.0089 I-0.0043 J0.0154
G01 X2.0888 Y0.1194 Z0.0082
    X2.0418 Y0.0682 Z0.0074
G02 X2.0263 Y0.0634 Z0.0072 I-0.0118 J0.0108
G03 X1.3298 Y0.1431 Z-0.0003 I-0.6783 J-2.8475
G02 X0.3927 Y0.1384 Z-0.0104 I-0.5147 J9.2628
G03 X0.3886 Y0.1355 Z-0.0105 I-0.0002 J-0.004
G02 X0.2262 Y-0.0128 Z-0.013 I-0.1986 J0.0545
    X0.1538 Y0.3928 I-0.0362 J0.2028
    X0.3886 Y0.2445 I0.0362 J-0.2028
G03 X0.3927 Y0.2416 I0.0039 J0.0011
G02 X1.3298 Y0.2369 I0.4224 J-9.2675
G03 X2.0263 Y0.3166 I0.0182 J2.9272
G02 X2.0418 Y0.3118 I0.0037 J-0.0156
G01 X2.0888 Y0.2606
    X2.1456 Y0.2956
G02 X2.1583 Y0.2974 I0.0084 J-0.0136
G03 X2.674 Y0.2255 I0.52 J1.8446
G02 X2.69 Y0.2095 I0. J-0.016
G01 Y0.1705
G02 X2.674 Y0.1545 I-0.016 J0.
G03 X2.1583 Y0.0826 I0.0043 J-1.9165
G02 X2.1456 Y0.0844 I-0.0043 J0.0154
G01 X2.0888 Y0.1194
    X2.0418 Y0.0682
G02 X2.0263 Y0.0634 I-0.0118 J0.0108
G03 X1.3298 Y0.1431 I-0.6783 J-2.8475
G02 X0.3927 Y0.1384 I-0.5147 J9.2628
G03 X0.3886 Y0.1355 I-0.0002 J-0.004
G02 X0.2262 Y-0.0128 I-0.1986 J0.0545

X0.1538 Y0.3928 Z-0.02 I-0.0362 J0.2028 F5.
X0.3886 Y0.2445 Z-0.0233 I0.0362 J-0.2028
G03 X0.3927 Y0.2416 I0.0039 J0.0011
G02 X0.5494 Y0.2474 Z-0.025 I0.4224 J-9.2675
    X1.3298 Y0.2369 I0.2657 J-9.2733 F9
G03 X2.0263 Y0.3166 I0.0182 J2.9272
G02 X2.0418 Y0.3118 I0.0037 J-0.0156
G01 X2.0888 Y0.2606
    X2.1456 Y0.2956
G02 X2.1583 Y0.2974 I0.0084 J-0.0136
G03 X2.674 Y0.2255 I0.52 J1.8446
G02 X2.69 Y0.2095 I0. J-0.016
G01 Y0.1705
G02 X2.674 Y0.1545 I-0.016 J0.
G03 X2.1583 Y0.0826 I0.0043 J-1.9165
G02 X2.1456 Y0.0844 I-0.0043 J0.0154
G01 X2.0888 Y0.1194
    X2.0418 Y0.0682
G02 X2.0263 Y0.0634 I-0.0118 J0.0108
G03 X1.3298 Y0.1431 I-0.6783 J-2.8475
G02 X0.3927 Y0.1384 I-0.5147 J9.2628
G03 X0.3886 Y0.1355 I-0.0002 J-0.004
G02 X-0.0086 Y0.2445 I-0.1986 J0.0545
    X0.3886 I0.1986 J-0.0545
G03 X0.3927 Y0.2416 I0.0039 J0.0011
G02 X0.5494 Y0.2474 I0.4224 J-9.2675
G00 Z1.2
M05
T1(LOAD FIRST TOOL)
M30
%