Hello Guest it is December 07, 2021, 10:30:43 AM

Author Topic: Machturn threading problem  (Read 3496 times)

0 Members and 1 Guest are viewing this topic.

Machturn threading problem
« on: August 11, 2009, 08:58:23 AM »
When I use the threading wizard I get one move starting 80" away from the chuck moving towards it. I can't figure out why or how to get rid of it.


result:
G0 G40 G18 G80 G50 G90
G00 G53 X2 Z1
T202M6
G00  X1.025
G00 Z0.1
G00 X1
M03 S360
G76 X0.95 Z2 Q2 P0.05 J0.01 L45 H0.01 I29 C0.025 B0.001 T0
M9
M5
M30

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Machturn threading problem
« Reply #1 on: August 11, 2009, 09:08:18 AM »
Line 2 of the code is telling it to move to X2 Z1 in Machine Coordinates, that is likely your problem. You need to either set the toolchange position in machine coordinates or alter the VB in the macro to not ask for a toolchange position, thats what I did. You could of course just edit out that line or change the G53 to a G54 if that is the position you are wanting to move to in Work Coordinates.
Hood
Re: Machturn threading problem
« Reply #2 on: August 11, 2009, 10:17:13 AM »
Thank you that was it.

Offline RICH

*
  • *
  •  7,419 7,419
    • View Profile
Re: Machturn threading problem
« Reply #3 on: August 11, 2009, 10:28:39 AM »
I don't have that problem, but then also don't have my lathe setup for homing. I assume you are
using the standard screens of Turn.

Here is something from another post:

"Is it possible to shift the X origin (zero position) to the outer diameter of the starting stock so that

setup operations whether using wizard or LazyTurn G-code are similar? "

 Most all programs have X=0 as the origin for their code because it can be a repeatable place to easily

find / reference to, along with a number of other reasons. There are a lot of ways of accomplishing

what you ask. Depends on how "you" want to work and your understanding of Mach3 Turn.

For now here is MY suggestion for when in MACH3Turn:

Zero world  X and Z which ( cancels any G54 so there are no offsets ) and set home somewhere away

from the piece, move the tool "controlled point" to where the gcode for the part was created, click part

zero X & Z, ( now machine=program=part cords at the same point ) move the tool to where you want

to start cutting, cycle start the program and all should work just fine. That's a mouth full, but, just one

way of working.

FWIW,
RICH
 
Re: Machturn threading problem
« Reply #4 on: August 12, 2009, 02:16:25 PM »
Last thing about this. When I have the synch turned on and I disconnect the spindle index and eliminate the S command the code gets hung on the canned cycle. When I put the S command back in it doesn't, even though I didn't hook the index back up. Just like you would expect.

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Machturn threading problem
« Reply #5 on: August 12, 2009, 02:29:50 PM »
Asked on one of your other threads but will also ask here just in case you didnt see.
Is this a licenced or a Demo version. If licenced check your licence is active by looking at the Help menu then About Mach3.......   Make sure it says your licenced name in the window that appears.
Hood
Re: Machturn threading problem
« Reply #6 on: August 12, 2009, 02:46:15 PM »
Oh, yeh. It's a demo version. I've got the licensed copy in my office. I wouldn't want to put the licensed copy in the shop. DUH.

Sorry about that.

Offline Hood

*
  •  25,838 25,838
  • Carnoustie, Scotland
    • View Profile
Re: Machturn threading problem
« Reply #7 on: August 12, 2009, 02:54:52 PM »
LOL, well Demo versions dont thread (no spindle sync ;)  ) so you have your answer, just copy the licence over and all should work fine.

Hood