Re: [Emc-users] Problem with tapping

2021-05-24 Thread Feral Engineer
The second and third g33.1 lines don't look kosher to me. If g33.1 is a
modal G call, after the first g33.1, it should just be a series of X/Y
positioning moves

Dirty example of g84 on fanuc:

G0 g90 g54 g95 x0 y0 (POSITION, UNIT PER REV FEED)
G43 h1 z2.
M29 S1000 (ENABLE RIGID TAP, SET RPM)
G84 G99 Z-1. F0.0625 R.1
X1.
Y1.
X2. Y.5
G80
G91 G28 Z0
M30


Phil T.
The Feral Engineer

Check out my LinuxCNC tutorials, machine builds and other antics at
www.youtube.com/c/theferalengineer

On Mon, May 24, 2021, 5:29 PM Ed  wrote:

> Following is a snippet of a program using G33.1
>
> The first hole is tapped correctly then all the rest get switched X and
> Z. It will move to X -.8 then back then to x-.25 and repeat for the rest
> whether there is a G33.1 on the line or not.
>
>
> Using Version 2.7.14
>
>
>
> g53g0z0
> m6t25
> g43h25
> m3s500
> g0x-.25y0z.2
> g33.1k.0556z-.8
> g33.1x-1k.0556
> g33.1x-1.625k.0556
> x-2.375k.0556
> x-3k.0556
> x-3.75k.0556
> x-4.375k.0556
> x-5.125k.0556
> m5
>
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Problem with tapping

2021-05-24 Thread Jon Elson

On 05/24/2021 04:26 PM, Ed wrote:

Following is a snippet of a program using G33.1

The first hole is tapped correctly then all the rest get 
switched X and Z. It will move to X -.8 then back then to 
x-.25 and repeat for the rest whether there is a G33.1 on 
the line or not.



Using Version 2.7.14



g53g0z0
m6t25
g43h25
m3s500
g0x-.25y0z.2
g33.1k.0556z-.8
g33.1x-1k.0556
g33.1x-1.625k.0556
x-2.375k.0556
x-3k.0556
x-3.75k.0556
x-4.375k.0556
x-5.125k.0556
m5
The first G33.1 looks right, it has a K to specify the 
thread pitch and a Z to specify how deep.

The second and third do not specify a Z.

The quick ref ( 
http://linuxcnc.org/docs/html/gcode/g-code.html#gcode:g33.1  
) has this warning:


For Z only tapping preposition the XY location prior to 
calling G33.1 and only use a Z word in the G33.1. If the 
coordinates specified are not the current coordinates when 
calling G33.1 for tapping the move will not be along the Z 
axis but will be a coordinated, spindle-synchronized move 
from the current location to the location specified and back.


Is this the problem you are seeing?

Jon


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Problem with tapping

2021-05-24 Thread andy pugh
On Mon, 24 May 2021 at 22:29, Ed  wrote:

> The first hole is tapped correctly then all the rest get switched X and
> Z.

I don't think that that is what happens.
(I was a little surprised by this myself recently)

G33.1 basically works in any direction. if you program a pure X move
then it will "tap" sideways. It isn't a canned cycle like G85 and
friends. it is a more complex version of G33, which is spindle-synched
motion in any direction.
(this can be useful, I have used it to thread in compound directions)

You need to re-cast your code as a sequence of G0 positioning moves
and a G33.1 move to a specified Z.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Problem with tapping

2021-05-24 Thread Ed

Following is a snippet of a program using G33.1

The first hole is tapped correctly then all the rest get switched X and 
Z. It will move to X -.8 then back then to x-.25 and repeat for the rest 
whether there is a G33.1 on the line or not.



Using Version 2.7.14



g53g0z0
m6t25
g43h25
m3s500
g0x-.25y0z.2
g33.1k.0556z-.8
g33.1x-1k.0556
g33.1x-1.625k.0556
x-2.375k.0556
x-3k.0556
x-3.75k.0556
x-4.375k.0556
x-5.125k.0556
m5




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users