Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: Art Signs on March 14, 2013, 10:05:37 AM

Title: Lost code in middle of program
Post by: Art Signs on March 14, 2013, 10:05:37 AM
Hi everyone,  Im new here, obviously.  I had a little trouble yesterday and I was hoping you guys could help me out

I was in the middle of a program last night before I left work.  All of a sudden I lost my code, the machine stopped and Mach3 stopped responding and closed

After a year and a half of using it I was very surprised.  This had never happened before.  When I got Mach restarted and couldnt get onto my network drive (the switch got unplugged) I realized that Mach must actively read the Gcode from where ever the file is located. 
My question is this...  Is there any way to load the code into the computers memory instead of reading it as it goes?  Luckily I was doing a relatively simple pocket and was able to get going again but if this had happened while I was doing a V-groove I could have easily ruined a $250 dollar sheet of material.
Title: Re: Lost code in middle of program
Post by: Art Signs on March 14, 2013, 10:07:12 AM
Also I hope I posted this in the right forum.  if not please refer me to the correct one and I will delete this post and repost it in the correct forum
Title: Re: Lost code in middle of program
Post by: Chaoticone on March 14, 2013, 10:46:28 AM
You should have a gcode folder in your Mach3 root folder.  I would drag my code into it and load it to mach from there.

Brett
Title: Re: Lost code in middle of program
Post by: BR549 on March 14, 2013, 11:12:09 AM
MAch3 does not drip feed . It reads the entire file into MEM on load.

Just a thought, (;-) TP
Title: Re: Lost code in middle of program
Post by: Art Signs on March 14, 2013, 11:37:27 AM
MAch3 does not drip feed . It reads the entire file into MEM on load.

Just a thought, (;-) TP

Then why did I lose everything when access to the network drive was lost?
Title: Re: Lost code in middle of program
Post by: ger21 on March 14, 2013, 07:12:40 PM
It's always been recommended to have the g-code on the local hard drive. Even though it's supposed to be loaded into memory, occurrences like you had have been reported quite often over the years.
Title: Re: Lost code in middle of program
Post by: BR549 on March 14, 2013, 07:48:54 PM
That is one of lifes great mysteries (;-). I run a plasma machine directly off of a thumb drive for files to load. Once loaded and running I can remove the drive and run without loss of program as it is already loaded into memory.

NOW IF I were guessing I would say that when the PC lost the network it spent a lot of CPU resources trying to constantly FIND the lost network and caused MACH3 to lock up due to ZERO resources left for MACH3 to work with.

Not a good idea to run MAch3 on a networked system. Some PC can pull it off and SOME can't.


Just a thought, (;-) TP
Title: Re: Lost code in middle of program
Post by: Art Signs on March 15, 2013, 09:35:01 AM
Not a good idea to run MAch3 on a networked system. Some PC can pull it off and SOME can't.

Unfortunately I need to.  The designer and my comp[uter are in separate parts of the building so I need to be able to pull files off his computer somehow without running back and forth constantly

NOW IF I were guessing I would say that when the PC lost the network it spent a lot of CPU resources trying to constantly FIND the lost network and caused MACH3 to lock up due to ZERO resources left for MACH3 to work with.

Im thinking your right about that.  The PC I use is relatively a POS.  Its one of the first p4's that came out with 512 ram.  My boss got suckered into buying it from the machines manufacturer for $300.  Granted it runs the machine nice but I know one day soon the parts that are 10+ years old will call it quits.  My brother works for an IT company and says the thing is worth about $50... In a year and a half ive yet to shut down windows successfully

Thanks everyone

Title: Re: Lost code in middle of program
Post by: Chaoticone on March 15, 2013, 09:42:19 AM
I have my Mach PC networked though it is not recommended.  I have no problems pulling files from a network folder but I place them in the gcode folder before loading to mach.  I'm on a wired network mind you.  Wireless gave me the blue screen of death.  Something in the usb adapter and my pc with mach did not play well togther at all.

Brett
Title: Re: Lost code in middle of program
Post by: Art Signs on March 15, 2013, 09:50:14 AM
Yeah I didnt even attempt wireless.  for some reason we have always had problems with it here.  I have several large format printers hooked directly up to the network switch so it was easy just to run a new wire for myself
Title: Re: Lost code in middle of program
Post by: BR549 on March 15, 2013, 08:29:43 PM
I think here it was a problem of disconecting the network and the PC went into panic mode HUNTING for the network connection. If this was the first time it happened then safety wire that connector to the PC (;-)

(;-) TP