Hello Guest it is April 28, 2024, 08:20:13 AM

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.


Topics - moggy

Pages: 1
1
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