Hello Guest it is April 25, 2024, 02:48:26 PM

Author Topic: Current point same as end point alarm  (Read 4787 times)

0 Members and 1 Guest are viewing this topic.

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Current point same as end point alarm
« on: March 26, 2007, 12:21:31 PM »
Hello All,
     I have a question. Why is it that my set up will give me the alarm Current point same as end point of arc on line #20 in the code directly below. However, in the later code it is doing the same thing only with IJKs and not Rs. My set up has no problem with the later. Is there something Mach doesn't like about the Rs or is it just my set up, code, etc.? Does this code look good to you guys? See any problems?

%
O5000 (TEST2.TAP)
( MCV-OP ) (26-MAR-2007)
(SUBROUTINES: O1 .. O2)         
G90 G17
G80 G49 G40
G54
M98 P9011
M01
N1 M6 T1
(TOOL -1- MILL DIA 0.323 R0. MM )
G90 G00 G40 G54
G43 H1 D31 G0 X-5.378 Y-3.25 Z0. S1200 M3
M8
(----------------------)
(F-PROFILE-T1 - PROFILE)
(----------------------)
   X-5.378 Y-3.25 Z0.1
   Z0.025
G1 Z-0.38 F2
G3 X-5.378 Y-3.25 R-0.128 F3.937
G0 Z0.1
M98 P9010
M30
%


%
O5000 (F_PROFILE_T1.TAP)
( MCV-OP ) (26-MAR-2007)
N1 (SUBROUTINES: O1 .. O2)         
N2 G90 G17
N3 G80 G49 G40
N4 G54
N5 M98 P9011
N6 M6 T1
N7 (TOOL -1- MILL DIA 0.323 R0. MM )
N8 G90 G00 G40 G54
N9 G43 H1 D31 G0 Z0.
N10 G0 X-5.378 Y-3.25 S1200 M3
N11 M8
N12 (----------------------)
N13 (F-PROFILE-T1 - PROFILE)
N14 (----------------------)
N15    Z0.1
N16 G0 X-5.378 Y-3.25
N17    Z0.025
N18 G0
N19 G1 Z-0.38 F2
N20 G3 X-5.378 Y-3.25 I0.128 J0. F3.937
N21 G0 Z0.1
N22 G0
N23 G0 Z0
N24 G0 X0 Y0
N25 M98 P9010
N26 M30
%

Thanks,
Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: Current point same as end point alarm
« Reply #1 on: March 26, 2007, 07:13:49 PM »
It looks the same but its not.

G03 with an R calculates an arc from where you are now to the end point

G03 with an I,J is an offset from the current point.

Your first bit of code is already at the end point so can't calculate an end point

Your second bit of code just moves by the I amount.

The R command in a G02/03 can not do more than 180 degrees.

If you are trying to mill a hole you can do :-

G00 X-5.378 Y-3.25 Z.1
G01 Z-.38 F2.
X-5.506 F3.937
G03 I.128
G00 X-5.378
G00 Z.1

This will do a full 360 cut.

Graham.
« Last Edit: March 26, 2007, 07:18:40 PM by Graham Waterworth »
Without engineers the world stops

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Current point same as end point alarm
« Reply #2 on: March 26, 2007, 07:33:14 PM »
Thanks Graham,
     I had refrenced a thread I saw a while back that you had answered . It makes perfect sense that it can't go to where it is already at. Now I understand that a R can not do more than 180 degrees. I hadn't seen it spelled out like that before or didn't understand it if I did. ;D Thanks a lot Graham. You have saved me once again.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!