Hello Guest it is March 29, 2024, 07:34:04 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - bartniswonger

Pages: 1
1
G-Code, CAD, and CAM discussions / G12 Trouble...
« on: September 30, 2013, 07:30:58 AM »
Hello - I am struggling to make a small circle using G12. 

The code:

Code: [Select]
g0 x.8622 y.8207
g12 h.125 i.078125 f10

makes a line, not a circle -  3/16" line along X only.  It is not only that it cuts only a line, but in the toolpath display, only a line is shown.  The Y axis simply does not get moved.

I have restarted the computer, and it is highly repeatable for me.

The code

Code: [Select]
g0 x.8624 y.8207
g12 h.125 i.078125 f10

creates a circle, as expected.  Note the only change is to shift the X axis by .0002"  It also works to move the Y axis by .0002".  It appears this problem shows up in very specific x,y positions.  Unfortunately, this snippet is part of a larger program which triggers this behavior in about 40% of the holes.

I found a couple previous threads:
http://www.machsupport.com/forum/index.php/topic,23272.0.html has no resolution. 

http://www.machsupport.com/forum/index.php/topic,9850.0.html solves his problem with scaling - I am not sure how I would use scaling in my program, but I could imagine that tweaking the scaling would change the x,y positions enough to avoid the issue.

I am attaching a photo of Mach3 running the combined code:

Code: [Select]
g0 x.8622 y.8207
g12 h.125 i.078125 f10
g0 x.8624 y.8207
g12 h.125 i.078125 f10

As you can (hoipefully) see, the toolpath display has a large circle with a highlighted line running from the center of the circle to the right edge.

In the next photo, the only change is that I commented out the second G0 line.  There is no circle, just a short line (and it is all very small).  The toolpath displays are accurate in terms of what my machine actually does, but not in terms of what the GCode seems to be asking for.

Any thoughts as to a) why this is happening or b) how I can avoid it?

Thanks!

Bart



2
General Mach Discussion / Mach3's DRO pauses intermittently
« on: September 27, 2013, 02:56:46 PM »
Hello - I am relatively new to the world of Mach3 and CNC machines.  I have an older 3-axis router which I am trying to make usable.  I am running Mach3.

I am in the process of making a new table to mount to the existing subtable - a 'simple' matter of drilling a set of holes with counter bores.  I am using G12 to make the counter bores and drill the holes with a 1/4" cutter.

The trouble is that some holes are not coming out round, they are simply 1/4" wide grooves, there is no activity on the Y axis at all.  It was suggested that this was likely to be a problem with the machine getting hung up, so I disassembled the X and Y axis, cleaned them, lubed them, and they both glide nicely when not attached to the screws.  I find no points of hesitation.  I have turned the acceleration down to 1 to further limit the effect of mass/stiff glides.  The screws are acme with Kerk anti-backlash nuts, all clean, lubed, and in apparently good shape.  I have the speed set at 40 because the motors stall at 80.  The feed rate in my drilling program is 30.

There are three things I do not understand:
1) For those holes that are mis-cut, the DRO does not show the Y axis moving - if it was just the steppers missing steps, shouldn't the DRO on the Mach3 screen show the numbers on the Y axis changing, like it does for the X axis?  Why does it not?  On good holes, both axis are shown changing by the DRO.  There is a (related?) issue that occassionally in a traverse the movement will pause, then start again in half a secod or so - and again the DRO also pauses.

2) Not all the holes are misshapen - but it is consistent as to which are.  In particular, the first one is each time (which is nice for testing).

3) I made a test pattern of 25 counterbores (using the same G12 line as for the table) and every one of them is perfect - even when I put it in the same spot on the table.  The only difference is that the test pattern is being cut on the surface of the table, rather than into the table, so the Z axis is in a different spot.

I am not sure where to go next. 

I just ran the driver test - it says I could be running at 65k without trouble.  I am running at 25k.  Nothing else is installed on this machine and it is not networked.  It connects via parallel cable to a Xylotex driver. 

I had some trouble with noise in the control lines which are all shielded cable but do run together with the spindle power.  I am not sure if noise would show up as a pause in the DRO - it seems like it would be more likely to be just skipped steps.

The same holds for trouble with the Xylotex - would those problems show up on the DRO?  There is no feedback, these are very basic steppers.

Any thoughts would be most welcome!

Thanks

Bart

3
General Mach Discussion / G12 not moving Y axis, sometimes.
« on: May 26, 2013, 12:10:33 PM »
Hello - I recently got a cnc with Mach3 and I have been slowly getting to know it and how to use it.  The table that came with the machine was done, so I want to make a new table.  I wrote a little gcode program to drill and counterbore for the socket cap screws that hold the table to the base using a 1/4" end mill.  There are about 30 holes in the table.

Most of the holes are fine - their counterbore is round, and the socket cap screws fit with a little slop, as planned.

But a few of them do not have round counterbores - the tool enters the workpiece, moves in the positive x direction, moves back to the center, drills, and returns.  The Y axis is never engaged.  I have tried it with the spindle on and off, with a workpiece and without, it always does the same thing.  One of the holes is the very first so I thought it might be softlimits, but another hole is out in the middle of the field.  I also suspected the machine itself, but it is incredibly consistent - always the same holes, always the same way, I never see the y-axis steppers move at all, and the x only goes and comes back. I am using Mach3 R3.043.066, appropriately licensed to me.


The code is very simple, here is an excerpt:
...
g0 x.8622 y.8208
m98 p2345
g0 x.9060 y12.2972
m98 p2345
...

o2345
g1 z-.5
g12 i.078125 f10
g1 z-.875
g12 i.015625 f10
g0 z.25
m99

As you can see, it moves around to all the locations of the screws (which are not at all regular) and at each location calls the subroutine o2345 which uses g12 to cut two circular pockets - one counterbore, .5" deep, a little over 3/8" in diameter, the other 7/8" deep, a little over 1/4" in diameter.


Thank you for any thoughts you might have!

Bart

Pages: 1