Hello Guest it is March 28, 2024, 08:12:57 AM

Author Topic: Multiple work offsets and Z clearance  (Read 2351 times)

0 Members and 1 Guest are viewing this topic.

Multiple work offsets and Z clearance
« on: April 28, 2012, 09:52:39 AM »
With only G54, on repetitive operations my Z axis clears the work piece .5" and then goes up  when it returns home, providing plenty of clearance between the tool and the workpiece.
I've duplicated this code in order to run the same operations on G55 and G56.
The problem I am having is that when the Z axis is done with G54 operations, it drops down to the work piece zero point and then returns home before moving to G55.
This obviously provides no clearance when the tool is moving. I need the tool to go up and get out of the way when it completes the operations on one workoffset before moving to the other.

Here the code snipped between one work offset and the next one. What should I remove or change.
thanks.

tc

N4280 G1 X2.4652 Y.4739 Z-.2216
N4290 X2.4891 Y.4973 Z-.1881
N4300 X2.5125 Y.5212 Z-.2216
N4310 X2.5353 Y.5457 Z-.255
N4320 G3 X2.8941 Y1.475 R1.3827
N4330 G0 Z.5
N4340 M5
N4350 G49 G0 Z0.
N4360 X0. Y0.
N4370 A0.
(--- G55 Work Offset Was Added ---)
G55
%

N100 G20
N110 G0 G17 G40 G49 G80 G90
( DRILL )
N120 G49 T1 M6
N130 G0 G90 G55 X1.8102 Y1.0638 A0. S5704 M3
N140 G43 H1 Z.5
N150 Z.2

Offline Graham Waterworth

*
  • *
  •  2,668 2,668
  • Yorkshire Dales, England
    • View Profile
Re: Multiple work offsets and Z clearance
« Reply #1 on: May 02, 2012, 08:39:31 AM »
The red high lighted block is the problem area, if you are moving from one fixture to the next you do not need to go back to xyz zero.

N4280 G1 X2.4652 Y.4739 Z-.2216
N4290 X2.4891 Y.4973 Z-.1881
N4300 X2.5125 Y.5212 Z-.2216
N4310 X2.5353 Y.5457 Z-.255
N4320 G3 X2.8941 Y1.475 R1.3827
N4330 G0 Z.5
N4340 M5
N4350 G49 G0 Z0.
N4360 X0. Y0.
N4370 A0.
(--- G55 Work Offset Was Added ---)
G55

%

Just add the fixture offset to the first move line of the second/third fixture code.

N100 G20
N110 G0 G17 G40 G49 G80 G90
( DRILL )
N120 G49 T1 M6
N130 G55 G0 G90 X1.8102 Y1.0638 A0. S5704 M3
N140 G43 H1 Z.5
N150 Z.2
« Last Edit: May 02, 2012, 08:44:51 AM by Graham Waterworth »
Without engineers the world stops