Hello Guest it is April 25, 2024, 12:59:56 PM

Author Topic: unexplained stop during program  (Read 11723 times)

0 Members and 1 Guest are viewing this topic.

unexplained stop during program
« on: January 11, 2011, 10:36:54 PM »
ok i have everything running pretty good except the machine will just hang .....randomly during a program.
i have added some debounce and no improvement.
i do not see any triggers from limits occuring, or any errors that are present
the drivers are all still energized when it stops
the spindle continues to turn, its the motion that stops at random line numbers during the program

can the galil card stop motion because of an error. if so can i poll the gaglilcard to find stop codes or history??

1 in 10 times the program will run completely with all the same settings

i have turned all the brains off and tried, i have no custom macros

the mach history is empty

im open to any ideas, ....please...

Offline smurph

*
  • *
  •  1,546 1,546
  • "That there... that's an RV."
    • View Profile
Re: unexplained stop during program
« Reply #1 on: January 11, 2011, 10:45:37 PM »
Steve,

Enable debug output in the plugin configuration and restart Mach.  Then try running your program.  If it fails, exit Mach and send me the GalilDebug.txt file in your plugins directory.  You can attach it to a message in this forum as well.

We will then be able to see what is happening on the Galil (communications, etc...)

Steve
« Last Edit: January 11, 2011, 10:47:38 PM by smurph »
Re: unexplained stop during program
« Reply #2 on: January 11, 2011, 11:04:17 PM »
steve,
   will do , thanks
Re: unexplained stop during program
« Reply #3 on: January 13, 2011, 01:49:37 AM »
steve,
  there is 5 or 6 grabfiles in the zip all were recorded after mach3 hung up....
hopefully you see some thing its all greek to me...;)
it actually took a while to get it to act up, once it did, it became frequent.

steve

Offline smurph

*
  • *
  •  1,546 1,546
  • "That there... that's an RV."
    • View Profile
Re: unexplained stop during program
« Reply #4 on: January 13, 2011, 12:39:01 PM »
Steve,

What kind of machine are you running?  (Processor size, memory, operating system, etc...)  I don't believe this is a Galil issue.  The movement queue is drained meaning no more movement information from Mach.  So it looks like something is interfering with Mach at this point.  I'm not ruling the plugin out, but if you could give me the lay of your machine, I'll dig some more.

Steve

Offline Mogal

*
  •  76 76
    • View Profile
Re: unexplained stop during program
« Reply #5 on: January 13, 2011, 01:12:29 PM »
I have a simular issue. Although, doesn't seem to be as sever as Steve's.
Its completely randum, and when the same code is run a second time, it runs without error.
It can happen happened 5 minutes into the code, or 5 hours into the code.
I think its a windows issue(win 7 32bit)
I have to close Mach3, and restart it when it happens.
I set Mach3's priority one step higher, and (knock on wood) haven't seen a reocurance yet.
Re: unexplained stop during program
« Reply #6 on: January 13, 2011, 01:18:02 PM »
pentium 4 pc 3ghz
1gig ram
xp pro
nvidia gforce mx 440 video
contec pio16(pci)
galil 1842 motion controller
power scheme is set to always on
no screen saver
no anti virus
most non used features of windows turned off
no remote assistance
no remote desktop
no autoupdate

system restore point on drive c IS on

paging file is 1536 mb

hid stuff usb keyboard, usb trackball mouse,




pc running xp, everything non essential is turned off.
Re: unexplained stop during program
« Reply #7 on: January 13, 2011, 01:24:41 PM »
when mine locks up it acts like an unregistered version of mach3, it gets to a line then just sits.....but it does go past 100 lines....
when it does lock up i hit the stop (alt-a) then hit spindle to restart spindle then cycle start and it will take off where it was at..
steve
Re: unexplained stop during program
« Reply #8 on: January 13, 2011, 01:29:36 PM »
i did get a 40 minute cycle to complete yesterday......followed by a 2.5 minute lockup..
steve

Offline Mogal

*
  •  76 76
    • View Profile
Re: unexplained stop during program
« Reply #9 on: January 13, 2011, 01:56:45 PM »
when it does lock up i hit the stop (alt-a) then hit spindle to restart spindle then cycle start and it will take off where it was at..
steve

Thanks, I will try that if it ever happens again.
Chris