Hello Guest it is July 14, 2020, 07:59:43 PM

Author Topic: Please Wait...Generating Path  (Read 9622 times)

0 Members and 1 Guest are viewing this topic.

Please Wait...Generating Path
« on: January 15, 2009, 07:09:54 PM »
Hello all,

I currently am working on a 6-axis CNC Router for applying a custom texture to lumber.  This morning I finally updated to the latest version of Mach3, I was running version D1.90.072.  The main intention of this update was to loose the lag between blocks (our program is 500 lines, repeated 3 to 6 times depending on the length of the board).  After the update I keep on getting "Please Wait...Generating Path" dialog box comes up, and will not finish.  The progress meter in the box is full, but it wont close.  If I hit cancel it goes away, and I am able to run the program just as normal. 

The program still runs great, the tool path comes up, and everything else works as it should.  Our operators have more of a problem with it than I do.

Anybody else have something like this happen?

Thanks in advance!

Ryan

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Please Wait...Generating Path
« Reply #1 on: January 16, 2009, 02:55:57 AM »
Do you have any custom macros which are being called from your code?
Hood

BClemens

*
Re: Please Wait...Generating Path
« Reply #2 on: January 16, 2009, 06:31:11 AM »
There is a demo GCode in Mach3 that I believe says 'designs' which is actually about six different objects or designs within the program. 'Run from here' will not work with that demo program to separate out one of the designs. Appears that you must make the separation outside of Mach3 or edit all away but the one of interest and run each one independently -  OR -  Mach3 will not regenerate the chosen path within the whole. If your program contains all of the 500 line segments together, then that could be your problem.

WAC

Hope this helps - I observed this about Mach3 with the demo program and also another one of my own creation that was multiple independent programs in one presented program.
« Last Edit: January 16, 2009, 06:49:03 AM by BClemens »
Re: Please Wait...Generating Path
« Reply #3 on: January 16, 2009, 10:29:01 AM »
Do you have any custom macros which are being called from your code?

No I don't.  I even went as far as to remove the looping section (M98, etc) from the code and run just one pass.  I also removed the toolpath window from the screen.  Nothing seems to work.

Ryan

vmax549

*
Re: Please Wait...Generating Path
« Reply #4 on: January 16, 2009, 11:18:07 AM »
I probably use the run from here every day. WHat exactly is NOT working with it for you?

THe Please wait is shown to allow MACH to error check the code and setup the tool disp[lay path. IF you use a sub routine to loop through then MACH has to error check 500x6 lines of code sometimes it take a little while. IF you wait does it clear up on its own?


When you mentioned LAG between blocks can you describe this in more detail???

(;-) TP
« Last Edit: January 16, 2009, 11:21:44 AM by vmax549 »

vmax549

*
Re: Please Wait...Generating Path
« Reply #5 on: January 16, 2009, 11:45:42 AM »
THe run from here problem is a file problem not a MACH problem. Someone just took many file and made one large file . THe problem is they left in the M30 at the end of each file. When MACH sees the M30 it "ENDS program and resets like it is suppose to do. The run from here HAS to rerun all the mode settings to properly setup mach to continue from here(;-) So the M30 triggers amch to end program and reset.

If you want to use the program and run from here remove all the M30s from the middle of the program.

I am interested in the lag between blocks problem(;-) Normally Mach has to wait on the machine to process the holding cue where the movement commands are stacked up for the machine to run.

(;-) TP
Re: Please Wait...Generating Path
« Reply #6 on: January 16, 2009, 02:31:54 PM »
THe run from here problem is a file problem not a MACH problem. Someone just took many file and made one large file . THe problem is they left in the M30 at the end of each file. When MACH sees the M30 it "ENDS program and resets like it is suppose to do. The run from here HAS to rerun all the mode settings to properly setup mach to continue from here(;-) So the M30 triggers amch to end program and reset.

If you want to use the program and run from here remove all the M30s from the middle of the program.

I am interested in the lag between blocks problem(;-) Normally Mach has to wait on the machine to process the holding cue where the movement commands are stacked up for the machine to run.

(;-) TP

I don't have any M30's within the program.  I only started seeing this when I upgraded.  I have a couple other program that close the dialog box automatically.  Just for fun I loaded Mach3 onto my development machine (Dual Zeon Quad Core @ 2.66ghz, 8gb ram), and I got the same problem. 

The lag I am talking about is there would be a momentary pause between blocks, I think it was because it was waiting for the motors to come to a complete stop. 

Thanks for all the help!

Ryan

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: Please Wait...Generating Path
« Reply #7 on: January 16, 2009, 02:35:16 PM »
Can you attach the code?
Hood

vmax549

*
Re: Please Wait...Generating Path
« Reply #8 on: January 16, 2009, 02:53:01 PM »
Sorry for the confusion I answered two questions at the same time.

Could you upload the problem file for us to see?

(;-) TP

Offline zealous

*
  •  492 492
  • HI!
    • View Profile
    • Artsoft Solutions
Re: Please Wait...Generating Path
« Reply #9 on: January 18, 2009, 07:00:38 PM »
I didn’t see you mention anything about "RUN FROM HERE" in your post but it was brought up.
To possibly help out I can tell you two way I am able to recreate your issue:

- You cannot "Regen" a toolpath after issuing a "Run From Here" till after the machine moves in to position (know issue).

- Always put "If (Isloading() = false Then" in your macros or Mach will read them while loading a file or a "RUN from Here".
There is now an option in the "Gen config" to ignore Mcodes while loading..but it best to have this in you Macros or any VB to make sure
« Last Edit: January 18, 2009, 07:02:14 PM by zealous »