Hello Guest it is April 24, 2024, 11:51:00 AM

Author Topic: Tool change with length-compensation  (Read 2300 times)

0 Members and 1 Guest are viewing this topic.

Tool change with length-compensation
« on: September 15, 2010, 05:44:39 AM »
Hi all,

I´d like to do a tool-change during my programm, but it doesn´t work. Any help would be great. I use the current version of Mach3

Workpiece height is set to +151mm; Tool-length for #4 is set to -229mm; Tool-length for #9 is set to -192mm

From my point of knowledge the following programm should place tool #9 on the surface of the workpiece, ask for tool #4 and place than tool #4 on the surface of the piece.

It doesn´t work, I have tried to switch tool-offsets on and off, etc.
Can anybody give me help please?


G15                (kart. Koordinaten)
G17                (X-Y Ebene -> Kreise um Z-Achse)
G21                (Millimeter)
G40                (WZBK AUS)
G50                (Skalierungen AUS)
G90                (absolute Maße)
M48                (man. Override AN)

G53 G0 Z0            (Machine ZERO)

T9 M6 G43 H9 (tool 9, take offset 9)

G54
G0 X0 Y0 Z0        (GO to piece-ZERO)

G53 G0 Z0           (Machine ZERO)
T4 M6 G43 H4 (tool 4, take offset 4)
       
G54
G0 X0 Y0 Z0        (GO to piece-ZERO)


G53 G0 Z0           (Machine ZERO)
M30