Hello Guest it is April 27, 2024, 07:22:48 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - moggy

Pages: 1
1
G-Code, CAD, and CAM discussions / Re: Mach3 Random M98 Behaviour
« on: May 05, 2006, 12:13:28 AM »
Art,

I checked the file and added some L1s where they where missing. So each M98 has an L command. Same, this didn't stop it calling the an L14 only once. It made no difference if it was L14 or L#100 where #100=14 either.

Steven

2
G-Code, CAD, and CAM discussions / Re: Mach3 Random M98 Behaviour
« on: May 05, 2006, 12:06:07 AM »

Thanks Art,

I think I might have a couple of M98s that don't have the L1 on them. Most do, I will check, probable not 100% consistent on this. I have also had the problem occur when I had an M98 P1000 L14 and it started to just call it once.

Actually it was more like
#100=[2*7]   (something like this to document what I was doing)
G code and then...
M98 P1000 L#100
M30
O1000
G Code
M99

I have also had code that worked like this for a while and then stopped

#20=1000
lines of G code and then...
M98 P#20 L1
M30
O1000
lines of G code and then...
G Code ....
M99

I use this kind of thing where I have multiple fixtures with the same part and I can get the more parts made per tool change.

Certainly appreciate you looking at it.

Steven

3
G-Code, CAD, and CAM discussions / Re: Mach3 Random M98 Behaviour
« on: May 04, 2006, 10:38:19 AM »

So I discovered // isn't a comment inMach3. I put all comments in brackets (comment open & closed bracket on each line ). Exact same behaviour as with % character starting a comment.

Is there any other way to comment?

Steven

4
G-Code, CAD, and CAM discussions / Re: Mach3 Random M98 Behaviour
« on: May 04, 2006, 09:26:53 AM »
Ok, I will give that a try. What comment character is used in MACH3?

Should it be // or something else?

Steven

5
G-Code, CAD, and CAM discussions / Mach3 Random M98 Behaviour
« on: May 03, 2006, 10:16:14 PM »
Hi,

I am experiencing seemingly random behaviour of the M98 sub routine call. The subroutine is contained within the same file as the calling M98 command. Sometimes it will call it OK and the correct number of times and then sometimes not. Usually after adding another block of code somewhere else. Not obviously related to where the problem shows up. I have noticed that if I delete some comment blocks towards the start of the program after the problem starts it will sometimes start working again. Add a comment somewhere and it stops.

Example:

%Main Program
G0 X0 Y0
M98 P4100
M30
% Sub routine
o4100
G1 x1 y1
M99

A number of programs share similar random behaviour. They are in the order of 200 to 300 line in total. This is running on a liceneced Mach3 Version D1.90.020 something through to 32.

Has anybody got any ideas what might be causing this.

Pages: 1