Hello Guest it is September 15, 2019, 09:16:49 PM

Author Topic: Problems threading on the lathe  (Read 330051 times)

0 Members and 1 Guest are viewing this topic.

Offline RICH

*
  • *
  •  7,358 7,358
    • View Profile
Re: Problems threading on the lathe
« Reply #680 on: November 14, 2009, 11:58:07 AM »
Hi ART and All,
As Hood always says "Every Day is a learning Day".
Will update the config section 7.1 in the "Threading on the Lathe" write up.
In the mean time I'll post just that section here and include Arts last reply.

Good grief, the last 5% of that write up to get to rev "0" is like having a tooth pulled.  ;D
RICH

Offline RICH

*
  • *
  •  7,358 7,358
    • View Profile
Re: Problems threading on the lathe
« Reply #681 on: November 14, 2009, 06:11:47 PM »
Attached is a test file which did run fine in .028 & .030.
Will not run in .032 for me.

Can someone just try it out?

Maybe additional changes have been made in .032 not allowing it to run.

RICH

Offline Chip

*
  • *
  •  2,056 2,056
  • Gainesville Florida USA
    • View Profile
Re: Problems threading on the lathe
« Reply #682 on: November 14, 2009, 08:37:10 PM »
Hi, Rich

After my phone call I played with your file some more and can get it to load, Then it wont load, Then it will and so on.

I think this is a problem that has been in Mach for a long long time, I'll play with it some more and see if I can get a step by step list so we can look at it.

It's pretty much a file load/unload/edit issue, I'll give you a call tomorrow.

Chip

Offline RICH

*
  • *
  •  7,358 7,358
    • View Profile
Re: Problems threading on the lathe
« Reply #683 on: November 14, 2009, 08:59:58 PM »
Yep, I tend to agree with ya Chip, and you realy don't know the effects.
After "numerous" small changes it actually worked  and on the second loop, well ,it kicked me out of Mach and locked up the PC. I also lost the DRO and index, took about six tries of opening and closing Mach to get the DRO back.
Got to admit, at least i gave you something to play with.  >:D
RICH

Offline ART

*
  • *
  •  1,698 1,698
  • Tough as soggy paper.
    • View Profile
Re: Problems threading on the lathe
« Reply #684 on: November 14, 2009, 09:04:50 PM »
Rich:

 Two problems with it..

1) Subroutine designations must start with the letter O , in your case its "N50 O9999" , that needs to be just "O9999"

2) On the fist line you have G32 Z-O.99 ....  but thats a letter O, not the number -0.99 , change that O to a zero.

Ill let Brian figure out why the oddity in execution, it should never have loaded.. :0

Art

Offline RICH

*
  • *
  •  7,358 7,358
    • View Profile
Re: Problems threading on the lathe
« Reply #685 on: November 14, 2009, 09:19:48 PM »
In case someone is wondering about the looped file see attached.

Thanks Art, I will come up with something different, but equivilant, it the G32 looping is not to be.
RICH

Offline ART

*
  • *
  •  1,698 1,698
  • Tough as soggy paper.
    • View Profile
Re: Problems threading on the lathe
« Reply #686 on: November 14, 2009, 11:04:24 PM »
Rich:

 I think its fine to loop the G32 that way..

You just need to fix that syntax error with the "O" instead of the "0" ..
and put the "N50 O9999" to "O9999" without any N50 on that line.

Art

Offline Chip

*
  • *
  •  2,056 2,056
  • Gainesville Florida USA
    • View Profile
Re: Problems threading on the lathe
« Reply #687 on: November 15, 2009, 05:26:55 PM »
Hi, Rich

Hears what I was talking about.

N10 (Z AXIS TEST NO 2 )
N20 G20 G40 G49 G61 G80 G90 G94
N30 M98 P01 L10 ; it should be looking for "O1"
N40 M30
%

O12 ; So let's say you made an error with the O12 instead of O1

N60 G32 Z-0.9995 F.1
N70 G95
N80 G4 P4
N90 G00 Z0.001
N100 G32 Z-1.0 F.1
N110 G95
N120 G4 P4
N130 G00 Z0.0
N140 M99
%

O01 ('OK, So why is it loading this.)

N60 G32 Z-0.9995 F.1
N70 G95
N80 G4 P4
N90 G00 Z0.001
N100 G32 Z-1.0 F.1
N110 G95
N120 G4 P4
N130 G00 Z0.0
N140 M99
%

O13

N60 G32 Z-0.9995 F.1
N70 G95
N80 G4 P4
N90 G00 Z0.001
N100 G32 Z-1.0 F.1
N110 G95
N120 G4 P4
N130 G00 Z0.0
N140 M99
%

Sintex Errors ?

There is another interesting issue that crop's up from time to time, If you have loaded a G-code file and then used the File, Close File(s) option, Then when you load another G-code file and Edit it, Mach will Open 2 Files in 2 separate windows, The old one and the new one, Which ever one you close last is used as the current loaded G-code.

Still trying to sort this one out so it's repeatable.  ???

OK, I think I figured this one out, You can inadvertently "Mouse Click" open up multiple Edit window's, Mach is not sensing that there is already a open file for editing and allowing multiple copy's, When you close the top one Mach covers up the others.

Maybe theres a simple Fix for this.  ;D

Chip  ;D
« Last Edit: November 15, 2009, 07:20:28 PM by Chip »
Re: Problems threading on the lathe
« Reply #688 on: November 15, 2009, 07:53:05 PM »
Chip, what is the fix?  ;D

Offline RICH

*
  • *
  •  7,358 7,358
    • View Profile
Re: Problems threading on the lathe
« Reply #689 on: November 15, 2009, 08:14:13 PM »
Chip,
See what you mean.
-If you leave the "O oh" 02 in it will incorrectly run then "O oh" 01
- If you delete the O02 , then it will stop at the O01 / wont load or run it

Haven't the foggiest, but i would think it should not work.
RICH