View Full Version : g52 problem


REVCAM_Bob
12-16-2005, 10:32 PM
I am using g52 in a program after a g54. Sometimes, it will not cancel,
and when running a new similar problem, the move to the g54 is all screwed up. Running on Fanuc 18i-mb5 control on a Fadal.
Can anyone tell me what I am doing wrong? My understanding is that the
g52 x0 y0 should cancel it...... but it does not always work. When this
problem happens, the only fix is to reboot the control, then the g54 moves
to the proper location again.???



%
O1
( 1.7500 PARALLEL HEIGHT )
( FRIDAY 12/2/05 12.02PM )
G00 G20 G53 G00 Z0
G40 G53 X0 Y0
G52 X0 Y0 Z0
G90 G55 G00 X0 Y0
G52 X-2.5000
G52 Y0.0000
G52 Z0.9500
M09
G10 L10 P2 R-17.1405
G10 L12 P2 R0.0000
M6 T2
T5
G00 X-1.2500 Y-0.5
G43 Z3.1000 H2 D2
M00
M00
M00
M00
(* SET EDGE TO POSITIVE STOP WITH 1.0 JOE BLOCK)
(* WHEN DONE, PRESS MANUAL, START, 1 TO RETURN AXES)
(* PRESS START AFTER AXES STOP MOVEING TO CONTINUE)

M09
G10 L10 P5 R-18.5665
G10 L12 P5 R0.4990
M6 T5
T2
S2292 M3
M08
G10 L12 P1 R0.4990
G00 X5.5532 Y-3.7025
G43 Z0.1000 H5 D1
G00 Z0.0100
G01 Z-0.0250 F3.4500
F13.8
G41 G01 X5.8027 Y-3.7025
G01 X5.8027 Y-2.8500
G01 X-1.0135 Y-2.8500
G00 Z0.1000
G40

M08
G10 L12 P1 R0.4990
G00 X5.5532 Y-3.7025
G43 Z0.1000 H5 D1
G00 Z-0.0150
G01 Z-0.0500 F3.4500
F13.8
G41 G01 X5.8027 Y-3.7025
G01 X5.8027 Y-2.8500
G01 X-1.0135 Y-2.8500
G00 Z0.1000
G40

M08
G10 L12 P1 R0.4990
G00 X5.5532 Y-3.7025
G43 Z0.1000 H5 D1
G00 Z-0.0400
G01 Z-0.0750 F3.4500
F13.8
G41 G01 X5.8027 Y-3.7025
G01 X5.8027 Y-2.8500
G01 X-1.0135 Y-2.8500
G00 Z0.1000
G40

M08
G10 L12 P1 R0.4990
G00 X5.5532 Y-3.7025
G43 Z0.1000 H5 D1
G00 Z-0.0650
G01 Z-0.1000 F3.4500
F13.8
G41 G01 X5.8027 Y-3.7025
G01 X5.8027 Y-2.8500
G01 X-1.0135 Y-2.8500
G00 Z0.1000
G40

G9
M5M9
(* DONE *)
M6 T2
G52 X0 Y0 Z0
G43 Z0 H0 D0
G53 X0 Y0
M02
%

HuFlungDung
12-16-2005, 10:55 PM
Can you explain the G10's? I'm not familiar with them enough to know what it is that you are changing. Something to do with tool offsets, or work offsets?

Geof
12-17-2005, 01:38 PM
REVCAM_Bob

You do not have any G54 commands in the program you list, just one G55 so all your G52 commands will be working from G55.

Hu

G10 enters tool offsets and work coordinates from the program. L10 is length offset, L12 diameter offset. The Haas manual describes the use of G10 in a somewhat understandable manner.

REVCAM_Bob
12-17-2005, 06:25 PM
Sorry, I put in my post G54, I meant G55. Its the G55 thats getting all messed up.

Geof
12-19-2005, 11:11 AM
The only comment I can add is have you tried ending your program with M30? This should cancel G52.

cad
12-19-2005, 11:28 AM
I'm lost as to why you need to use the G52?
G52 is local coordinate shift. just add the values to G55 offset.

This does not answer your question, but there are some parameters related to G52 that could be affecting you. One parameter is weather of not M00/M01 cancels G52
Reset/M30 should also cancel it.