Further to my problems, when external e-stop has interupted my job, i then try to run from line so as not to start again and mach3 scrolls through my g-code problem and stops randomly at a line no where near where the run from line should return to !!!!!!!!!!!!!!!!!!!!
When you estop during a job, depending on your feedrate, Mach will lose position. Estop is not a controlled stop. Here are some suggestions for your estop issue...
(1) First and foremost, make sure you are properly grounded. The gantry, Z lifter, table frame and controller should all be grounded to a star ground and that should be grounded to a ground rod driven into wet earth.
(2) If the problem still exists, disconnect all estop switches and jump the estop terminals on your BOB. Does the problem still exist? If Yes, the problem is not in your wiring or switches.
(3) Remove your DB25 serial cable going from the BOB to the PC and solder a wire to the metal shield part of the end of the cable. ground that to the star ground on your machine. That will dissipate any noise being caught by the serial cable. The cable should only be grounded on one end....The PC end. You can also ground the metal chassis of the PC to the star ground.
Just out of curiosity, which BOB are you using?