Hello Guest it is April 25, 2024, 04:49:55 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 - JoePage

Pages: 1
1
General Mach Discussion / Looses position when running a cycle
« on: November 14, 2011, 03:43:20 PM »
Hi, I have a CNC lathe that I converted to run on mach 3 but I'm having some issues with it. When I type in the G-codes manually one line at a time the lathe performs exactly as it should, but when I run a program it looses its place by quite a large amount - 10mm or so. I really need to get it sorted because manual machining is taking me too long. Help would be appreciated, thanks

Below is a bit of the code.
G21 G40
G00 Z5 X30
G01 Z0 F100
G01 X-2 F50
G00 Z5
G00 X25 Z2
G01 Z-38 F100
G00 X30
G00 Z5
M01
G00 X0
G00 X24 Z2   All ok until it gets to here, it only moves to about x12 but says x24 in software, I have to hit e-stop otherwise it would crash
G01 Z-38 F100
G00 X30
G00 Z5
M01
G00 X0
G00 X23 Z2 Does exactly the same here losing a further 10mm
G01 Z-38 F100
G00 X30
G00 Z5

Pages: 1