Hello Guest it is May 22, 2019, 01:15:40 AM

Author Topic: Baffled by G52 offset?  (Read 2506 times)

0 Members and 1 Guest are viewing this topic.

Baffled by G52 offset?
« on: May 11, 2011, 09:16:23 AM »
Hi All,

Just doing some testing with G52 offset, what I cant understand is that at the the end the gcode file when its run the G52 offset is cancelled automatically.
I thought you had code a G52 X0 Y0 to cancell the offset.

Can someone explain why this is happening?

Rick

Offline OCNC

*
  •  23 23
    • View Profile
Re: Baffled by G52 offset?
« Reply #1 on: May 12, 2011, 08:14:23 PM »
What does the code look like?  Something else could be resetting it?

Chris

Offline BR549

*
  •  6,865 6,865
    • View Profile
Re: Baffled by G52 offset?
« Reply #2 on: May 12, 2011, 08:23:38 PM »
Edited (;-) TP
« Last Edit: May 12, 2011, 08:26:59 PM by BR549 »
Re: Baffled by G52 offset?
« Reply #3 on: May 13, 2011, 05:54:10 AM »
This the code..just something simple..

(Tool 100)
(Material Size) (X=2440.000, Y=1220.000, Z=19.000)
G90G80G21G49

(Tool Number:100) (6.000 mm dia. slot drill)
T100
M3 S15000
G52 X100 Y100
G0 X108.2096 Y118.2454 Z5.0000
G1   Z-9.5000 F2000
G3 X118.2950 Y105.9687 I35.6137 J18.9761 F5000
G3 X130.0097 Y101.3655 I13.0582 J16.0240
G3 X141.8742 Y104.6857 I0.6302 J20.6067
G3 X150.8161 Y112.6330 I-19.3103 J30.7310
G3 X163.6592 Y135.4969 I-66.4646 J52.3736
G3 X174.8932 Y226.3480 I-197.9195 J70.5933
G3 X164.4254 Y269.4914 I-134.7425 J-9.8506
G3 X154.1141 Y284.6667 I-45.2990 J-19.6889
G3 X143.5482 Y290.7328 I-16.5879 J-16.6576
G3 X134.0224 Y290.5005 I-4.2985 J-19.1565
G3 X129.2906 Y288.5187 I5.2252 J-19.1155
G3 X119.3293 Y279.9529 I18.3089 J-31.3666
G3 X106.4847 Y257.0850 I66.4385 J-52.3589
G3 X97.4526 Y150.3035 I198.8249 J-70.5903
G3 X108.2096 Y118.2454 I104.0789 J17.0894
G1   Z-19.0000 F2000
G3 X118.2950 Y105.9687 I35.6137 J18.9761 F5000
G3 X130.0097 Y101.3655 I13.0582 J16.0240
G3 X141.8742 Y104.6857 I0.6302 J20.6067
G3 X150.8161 Y112.6330 I-19.3103 J30.7310
G3 X163.6592 Y135.4969 I-66.4646 J52.3736
G3 X174.8932 Y226.3480 I-197.9195 J70.5933
G3 X164.4254 Y269.4914 I-134.7425 J-9.8506
G3 X154.1141 Y284.6667 I-45.2990 J-19.6889
G3 X143.5482 Y290.7328 I-16.5879 J-16.6576
G3 X134.0224 Y290.5005 I-4.2985 J-19.1565
G3 X129.2906 Y288.5187 I5.2252 J-19.1155
G3 X119.3293 Y279.9529 I18.3089 J-31.3666
G3 X106.4847 Y257.0850 I66.4385 J-52.3589
G3 X97.4526 Y150.3035 I198.8249 J-70.5903
G3 X108.2096 Y118.2454 I104.0789 J17.0894
G0   Z5.0000
G0 X0.0000 Y0.0000
G28
M5
M30



Rick
Re: Baffled by G52 offset?
« Reply #4 on: May 13, 2011, 07:15:56 AM »
I got it sorted now.

cheers