Hello Guest it is June 26, 2019, 04:52:51 AM

Author Topic: Code wanders off?  (Read 10423 times)

0 Members and 1 Guest are viewing this topic.

Code wanders off?
« on: March 25, 2008, 11:29:38 PM »
Hi all, sorry if this is a repost somewhere...

I'm using the latest release of Mach 3, and on one part, it sometimes just wanders off. Its a simple 2d part consisting of mostly straight lines and simple 1/2 circles. Some times, but only sometimes! it just wanders off in the middle of the part like it lost 1/2 of a line segment. The weird thing is that it does it both on the Mach tool path simulation and the real part, but doesn't do it every time. Any ideas? Kinda scary for me! (broken tools to attest). I took screen shots if it helps.


Re: Code wanders off?
« Reply #1 on: March 27, 2008, 09:02:23 AM »
Hi,

The same thing happens to me.
Over the weekend 1 made 200 parts, and sometimes the program just does not follow the the programmed path.
It just moves in a total different way in the middle of the part.
On the toolpath display on the PC also the wrong direction is indicated, which means it must be a software problem

Jan

Offline Hood

*
  •  25,847 25,847
  • Carnoustie, Scotland
    • View Profile
Re: Code wanders off?
« Reply #2 on: March 27, 2008, 09:44:15 AM »
Will ask Brian to have a look  and see if he can find anything.
Hood
Re: Code wanders off?
« Reply #3 on: March 27, 2008, 09:48:31 AM »
Hello,
Please post the code and I will have a look... And is this with Rev 3.039??
Thanks
Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: Code wanders off?
« Reply #4 on: March 27, 2008, 10:11:43 AM »
I will post the code tonight when I get home.
But in my case it always happened between 2 G01 moves. It does not always happen on the same line of code, but randomly (but sofar always between two G01 moves)

Jan
Re: Code wanders off?
« Reply #5 on: March 27, 2008, 05:29:57 PM »
Hi,

Here is my code, with in parenthesis what happened on several occasions

N100 T6 M06
N110 G00 Z2.000
N111 G00 Y70.000
N112 G00 X148.000
N120 G00 X113.000 Y43.000
N130 G01 Z-4.500 F100
N140 G03 X107.000 Y43.000 I-3.000 J0.000 F150
N150 G01 Y41.000
N160 G03 X113.000 Y41.000 I3.000 J0.000
N170 G01 Y42.950
N180 G00 Z2.000
N190 G00 X38.000 Y43.000
N200 G01 Z-4.500 F100
N210 G03 X32.000 Y43.000 I-3.000 J0.000 F150
N220 G01 Y41.000
N230 G03 X38.000 Y41.000 I3.000 J0.000
N240 G01 Y42.950
N250 G00 Z2.000
N1020 G00 X-3.000
N1025 G00 Y-3.000
N1030 G01 Z-4.500 F100
N1040 G01 Y30.000 F350
N1050 G01 X15.000
N1060 G03 X17.000 Y32.000 I0.000 J2.000
N1070 G01 Y65.000 F200
   (*After completing this line no move to X53,)
   ( but a move started to the -Y direction, until I hit Esc)
N1080 G01 X53.000
N1090 G01 Y22.000
N1100 G03 X55.000 Y20.000 I2.000 J0.000 F350
N1110 G01 X90.000
N1120 G03 X92.000 Y22.000 I0.000 J2.000
N1130 G01 Y65.000 F150
   (*In the middle of this move to Y65, the mill started to)
   ( move in the +X direction suddenly, until I hit Esc)

   (*After completing this line no move to X128,)
   ( but a move started to the +Y direction, until I hit Esc)
N1140 G01 X128.000 F200
N1150 G01 Y32.000 F200
N1160 G03 X130.000 Y30.000 I2.000 J0.000 F350
N1170 G01 X148.000
N1180 G01 Y-3.000
N1190 G00 Z2.000
N1200 G00 Y70.0000
N1210 G00 X148.0000

M30


Jan
Re: Code wanders off?
« Reply #6 on: March 27, 2008, 05:32:06 PM »
Hi,

I forgot to mention that I use 3.039

Jan
Re: Code wanders off?
« Reply #7 on: March 27, 2008, 08:59:54 PM »
I posted my code and pictures here:
http://www.machsupport.com/forum/index.php/topic,6380.0.html

I wish there weren't so many dang forums.. I feel like I have to chase everywhere.

I'm on the latest version, and get this on multiple computers. This is a show stopper for me, and I've crashed tools twice now as I'm working close to my fixtures.
Re: Code wanders off?
« Reply #8 on: March 28, 2008, 01:27:43 PM »
I will test today ... I am headed to LA for Westec tomorrow and will be back working on the 3rd... So if I can not find the problem today I will get on it after I get back.. Thank for the code and any info that you can give me :)

Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com

Offline jimpinder

*
  •  1,233 1,233
  • Wakefield, West Yorks, UK
    • View Profile
Re: Code wanders off?
« Reply #9 on: March 28, 2008, 01:57:11 PM »
I certainly don't want to tread on Brians toes - but I notice that the line BEFORE the line that causes trouble is a G3 move. This is followed by an instruction where ( and I know this is allowable ) only one parameter is specified.

Could it be that Mach is not identifying the second parameter correctly.

I would try inserting the missing X parameter in line 1070 and 1130 and see if that solves the problem for the time being. It certainly can't do any harm.
Not me driving the engine - I'm better looking.