开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: Mach2 lathe


Art
 

Steve:

I am looking into the spindle now, but I was wrong about the offsets. Or at
least mine seems to work.

Try this in this sequence.

Put in a piece of stock. Jog to the edge, If the stock is 30mms thick, type
30 into the Touch Correction box and turn it on. The LED shoudl flash. Now
press Touch X on the Fixture offsets at the bottom. Does the display on X
now read 30?
Now jog to the face of the stock with the Z (and X if you have to). Type
in the length of the stock (say 124), and enter 124 in the touch correction,
now press TouchZ on the fixtures offset down below. Does the Z readout now
say 124?
If so you are now zeroed to the stock. This is the method to zero all
this. Let me know if this example does something different to you.

Now, as to some of the strange stuff happening to you....

N30 G0 X20.0 Z40.0 ' Tool change position
N40 M6 T1 ' CHANGE TO TOOL # 1
N50 G43 H1

Line such as N30 and N40 are screwing you up badly. Having a ' in the line
causes the interpreter to ignore the entire line. the ' character is illegal
or can be translated to "This line is a comment", so your M6T1 is being
ignored as is your G0X20Z40 line. This will cause the G43H1 to react very
badly because it will think you are (and you would be) at 0,0, not 20,40

See if the touching off works after you remove the ' characters.

Thanks, I'll let you know about spindle. Strange thing is, if the LED is
flashing, then it MUST be on. Or so I thought. Check your pin settings on
this while I check the code.

Thanks,
Art
www.artofcnc.ca

----- Original Message -----
From: "Steve Blackmore" <steve@...>
To: <mach1mach2cnc@...>
Sent: Thursday, August 14, 2003 2:40 PM
Subject: Re: [mach1mach2cnc] Mach2 lathe


On Thu, 14 Aug 2003 08:50:58 -0700, you wrote:

I'm not sure but aren't you using the mil tool change syntax (M6 T1)
instead of the lathe syntax (M6 T01xx)? That may be causing a transverse to
0,0.

Worked fine up to now (sort of ;)

There doesn't appear to be a standard "lathe syntax"

Fanuc 6TM is
T00<TOOL>00

Fanuc 20TAM & 21ITM is
T<TOOL><OFFSET#>

Okuma OSP5000
<TURRET>T{<COMP-NUM>}<TOOL><OFFSET#>{<TRT-TURN>

etc, etc.

It only does it at the start of a file, not on subsequent tool
changes, Art has pointed out that offsets are screwed, something else
I noticed is that tool offsets are being included on the display
screen so the part looks nothing like it's supposed to.

Tool offsets are now saved for lathe & mill separately though ;)

Hard to tell what else needs sorting until spindle will run from
Gcode.

--
Steve Blackmore



To unsubscribe from this group, send an email to:
mach1mach2cnc-unsubscribe@...



Your use of Yahoo! Groups is subject to

Join [email protected] to automatically receive all group messages.