Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: dikkieduk on March 21, 2012, 02:44:04 PM

Title: mach3 loses contact
Post by: dikkieduk on March 21, 2012, 02:44:04 PM
Hi All,

I am working with Mach3 for 4 years with no major issues.

Now in jog mode (and program mode as well)  M3 is loosing contact with its steppingmotors after a few seconds/steps (random) .

After each try the steppers start for a short while/distance and then stop with no obvious reason.


Grateful for any help..

Mark

Title: Re: mach3 loses contact
Post by: Tweakie.CNC on March 22, 2012, 04:13:24 AM
Hi Mark,

Have you started using a different PC or made any other hardware changes ??

Tweakie.
Title: Re: mach3 loses contact
Post by: dikkieduk on March 22, 2012, 05:05:31 AM
Hi Tweakie,     No i had no change in PC or any Hardware , this makes it even more difficult..........
Title: Re: mach3 loses contact
Post by: Tweakie.CNC on March 22, 2012, 05:44:54 AM
Hi Mark,

Bit of a mystery then.
Perhaps checking your voltages at the PSU and controller etc. may be the first step also checking the tightness of all the wire connections may reveal something ??

Tweakie.
Title: Re: mach3 loses contact
Post by: dikkieduk on March 22, 2012, 05:52:02 AM
Even more complicated when i say that i use the same Pc, drivers and hardware in switchablemode for my lathe and mill.

The hardware all functions ok on my Lathe with LatheMach3

I can however i approach my mill with Mach3Lathe and then i can jog normal.
Title: Re: mach3 loses contact
Post by: Hood on March 22, 2012, 07:37:57 AM
It sounds like you are in step jog mode.
If that is not the case then attach the xml for both lathe and mill.
Hood
Title: Re: mach3 loses contact
Post by: dikkieduk on March 22, 2012, 08:43:17 AM
Hi Hood,

No step mode.

Have files attached

thanks in advance
Mark
Title: Re: mach3 loses contact
Post by: dikkieduk on March 22, 2012, 08:46:58 AM
second try
Title: Re: mach3 loses contact
Post by: dikkieduk on March 22, 2012, 08:47:50 AM
third try
Title: Re: mach3 loses contact
Post by: Hood on March 22, 2012, 11:24:59 AM
Seems to jog fine here with the mill xml, I will have a look later on when I get home from work and see if I can find the problem in the xml.
Hood
Title: Re: mach3 loses contact
Post by: Hood on March 22, 2012, 05:15:52 PM
You have the native units in the Mill profile set to inch, it is likely that it is meant to be metric and thus the Velocity and Accel is far too much and the motors are stalling. Set it back to metric and see if that helps.

Hood
Title: Re: mach3 loses contact
Post by: dikkieduk on March 23, 2012, 03:33:15 AM
I have changed setting to mm , but problem remains . thanks anyway Hood.
Title: Re: mach3 loses contact
Post by: Hood on March 23, 2012, 03:40:50 AM
Ok do the DROs in Mach continue to count when you are jogging?
When the motion stops are the motors making a squealing nouse?
Your velocity in Mill is a lot greater than lathe so make sure you have the correct motor tuning in Mill.
Hood
Title: Re: mach3 loses contact
Post by: dikkieduk on March 23, 2012, 03:59:10 AM
DROs  stop when motors stop,they dont make any noise functioning ok.
Set the motorsettings very low : no change.


Have an extra (Image) harddisk with original functioning software mounted and problem  remains the same.

I just do not understand why everything seems to function ok  when i approach my mill with M3Turn .
Title: Re: mach3 loses contact
Post by: Hood on March 23, 2012, 04:06:07 AM
Ok if the DROs are stopping then something is stopping it. Are there any messages in the ticker line? I can jog no problems using your xml so I dont think it can be a setting in Mach but it does seem strange that it works with another xml.
Try using an older xml to see if you can get it working again. You will find them in the xml backup folder. If you rename your xml you are using now then in the backup folder copy one and paste it into the main Mach folder and then change the file extension to xml.
Hood
Title: Re: mach3 loses contact
Post by: dikkieduk on March 23, 2012, 04:47:35 AM
used an older xml but to no effect.


I use 2 different Mach3-softwareprogs:  Mach3Turn for my lathe and Mach3Mill for my mill.
Its on  1 Pc with 1 breakoutboard to 3 stepperdrives .
I have made some provisions for a output-hardwareswitch from  2 drives for X/Z to my lathe and  3 drives X/Y/Z for my mill .


When i start up M3Turn for my lathe and leave the Hardwareswitch to the Mill so the output from M3Turn goes to  Mills  X and Z axis , then jogging works ok
Title: Re: mach3 loses contact
Post by: Hood on March 23, 2012, 06:12:48 AM
Do you get any message?
Are there any LEDs lit on the diagnostics page?
Hood
Title: Re: mach3 loses contact
Post by: dikkieduk on March 23, 2012, 06:42:31 AM
In Diagnostics:   no messages when jog attempt


leds :      port1pins:       #1#2#3 5#6#7#8   #12  are lid    #4 flashes
           inputsignals:      #1#2#4 are lid

Inp1    led is  flashing
Digitize  led is  flashing

time in int +4.5-+5.7
Title: Re: mach3 loses contact
Post by: Hood on March 23, 2012, 06:45:57 AM
Sounds like the probe may be the problem, do you have a brain or macropump or plugin unning?
Disable the probe input and see if that helps.
Hood
Title: Re: mach3 loses contact
Post by: dikkieduk on March 23, 2012, 06:53:23 AM
I removed the Jw2 hardware ; no effect
Title: Re: mach3 loses contact
Post by: Hood on March 23, 2012, 06:56:09 AM
I dont have a clue what the JW2 hardware it but it is likely a software issue so if it has a plugin or uses a brain etc disable them and disable the probe input as well whilst trying to find the problem.
Hood
Title: Re: mach3 loses contact
Post by: dikkieduk on March 23, 2012, 07:00:41 AM
Jogpendant JW-2 from cnc-steuerung in germany it uses a scriptfile should is disable this scriptfile?

do not know what you mean by probeinput, and how to disable
Title: Re: mach3 loses contact
Post by: Hood on March 23, 2012, 07:10:05 AM
Yes disable it or any other brain or script that you are using with Mill and not with lathe, that way you can enable one at a time and narrow down the problem.
Probe input is in Ports and Pins Inputs, if you disable it it may help narrow down the issue.
Hood
Title: Re: mach3 loses contact
Post by: dikkieduk on March 23, 2012, 11:39:34 AM
Thanks Hood, i have deleted all my in and outputs and this cures my problem .

So i only have to find out which one is faulty.

Thanks again
Mark
Title: Re: mach3 loses contact
Post by: Hood on March 23, 2012, 11:41:58 AM
Thats what its all about, eliminating one possible cause at a time until you find the culprit. Once that is found then hopefully a way to make it work correctly can be found.
Hood