Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: king master on December 20, 2013, 11:07:53 AM

Title: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: king master on December 20, 2013, 11:07:53 AM
Hi dear friends, i bought tachus42 driver board months ago and it works with motors in mach3 but it burned after short period, and i replaced it with another one also tachus42 but from another local seller , but this time it doesn't works however i tried the xml file from the official website of Tachus42 ,  the seller supply the setting file for Kcam , i tried it and it works in kcam4 - the pins in kcam same as mach3 xml files from Driver website.


i attached the ports and pins in my pc and both of the software

(http://s28.postimg.org/hou9qbclp/image.jpg)


(http://s28.postimg.org/hq8sxh3t9/image.jpg)

(http://s28.postimg.org/4nd6e7dl9/image.jpg)

this setting in Kcam
(http://s28.postimg.org/jxd1le93h/kcam.jpg)
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: Hood on December 20, 2013, 06:54:42 PM
Try Sherline mode.
Hood
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: king master on December 21, 2013, 08:09:52 AM
tried with no success
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: Hood on December 21, 2013, 03:24:02 PM
Can you attach your xml please, also a link to some documentation on your drives would be good.
Hood
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: king master on December 21, 2013, 06:23:28 PM

About the board :

http://pminmo.com/3axis/3axis.htm

http://pminmo.com/PMinMOwiki/index.php5?title=3axis

the xml files is downloaded from their website and it should work and already worked before with my old driver

i forgot to thank you for your time :) and hope to help me , i need to work with Mach3 not other software
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: Hood on December 22, 2013, 05:07:02 AM
I would need your xml as there may be changes from that one.
Hood
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: king master on December 22, 2013, 01:24:39 PM
Thanx Hood, i attached my file now :

i don't know y the xml file size increased from 40 kb to 98 kb , and i didn't edit it, or added anything to mach3
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: Hood on December 22, 2013, 02:38:40 PM
I dont see any reason it would not work as the motor pins are the same in that xml as the screenshots of KCam.
You do not have Sherline mode enabled in that xml however but maybe you changed it back?
When you changed to Sherline mode did you restart Mach?

Hood
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: king master on December 22, 2013, 04:54:34 PM
yes, i restart mach after enable Sherline mode , and yes i get it back to normal when no change,

i notice something unusual when testing again , it sometime give pulse , this mean the motor just rotate less than 1 degree " very short move "  then nothing ...   this happen some time when click right then left in keypad for moving x axis . then nothing work ....

Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: Hood on December 22, 2013, 05:02:42 PM
That almost sounds like your Step and Dir pins are reversed.
One thing however I did notice is your motor tuning seems to be way out. You have 200 steps per unit and you are running Inch units. I would expect a lot more for that, probably 20,000 but that will depend on microstepping, gearing and screw pitch.
Hood
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: king master on December 22, 2013, 05:34:57 PM
can u check this file, i'll try it again tomorrow , check motor tuning , pins , output , input . ...
 

all measure in MM
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: king master on December 24, 2013, 07:25:57 AM
i tried everything can change , no new
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: Hood on December 24, 2013, 08:57:18 AM
If you go to the Diagnostics screen do you see a frequency and a Time in Int?
Hood
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: king master on December 24, 2013, 03:40:44 PM
Do u mean when i try with connecting electronics or with idle ??

this screenshot is when idle no driver or motors connected :

(http://s11.postimg.org/63ngl5yz7/Xccc.jpg)

i'll added later screenshot when connect and give gcode...


Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: Hood on December 24, 2013, 06:12:28 PM
That looks reasonable, one thing however that looks strange is the Port 1 Current state, I would have expected some to be green. Are you sure you have the correct port address selected?
Hood
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: king master on December 25, 2013, 04:39:17 PM
yes , same pins doe dir and dist in the Kcam :(
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: Hood on December 26, 2013, 05:32:34 AM
Dont have an answer for you I am afraid, if everything is set correctly and the driver would seem to be loaded and working then it should work.
Hood
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: king master on December 26, 2013, 08:13:05 PM
i found this topic, and downloaded the xml file attached their and in Diagonisitc Tab i got 5 pins Green .

i tried to figure the same pins and dir inside it, but the motor with no action ,

i tried to re-install Xp sp3 again , but no change ...

i use Dell Latitude E5400 laptop  and bought  " legacy Extender " to get parallel port  and it worked before good with Mach3 with previous board .

i will try later with PC and see what the problem ,

it make me angry it works well with kcam till now ...  :( so it's not port problem ...
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: king master on December 27, 2013, 06:18:42 AM
Edit  : i tried the same xml file at another PC , worked before with previouse driver in the same pc with the same xml file , still nothing .. and the Diagnostic screen still without any green pins ....
:(
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: Hood on December 27, 2013, 09:51:55 AM
The diagnostics screen may be a red herring, it is something I usually ignore as no one really knows what they correspond to, however I dont think I have ever seen them all out and that is why I mentioned it.

Can you test direct at the port with a volt meter or a scope to see if you are getting outputs when you jog one way or the other. You should get 0v to 5v when you jog back and forth.

Hood
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: king master on January 02, 2014, 02:49:25 PM
Thanx Hood for help and sorry for delay , i got voltmeter later and tested everything many times

2 times tested without any software opened

1 Mach3 idle  (no G-code)

1 mach3 with Gcode  : G0 X200

1 Kcam idle - (without any G-code)

1 kcam with G-code G0 X200

=========

First time test without any kcam or Mach3      (  pin no  -  voltage )

1-9        3.45
10-13   4.70
14         3.45
15         4.70
16         3.45
17         0.05
18-25    0.00

=========

tested again without any software load =  mach3 idle without any gcode = kcam idle without gcode = got same results in three situation :

1          3.49
2-9      0.05
10-13  4.66
14       0.05
15       4.66
16       3.44
17        0.05
18-25  0.00

==========

Results Mach3    with gcode G0 X200

1           3.49
2 >>>> 0.05
3   >>> 3.44
4-9        0.05
10-13   4.66
14         0.05
15         4.66
16         3.44
17         0.05
18-25   0.00

==========

kcam gcode g0 x100

1           3.49
2  >>>  3.44
3   >>> 1.73
4-9     0.05
10-13  4.66
14       0.05
15      4.66
16      3.44
17       0.05
18-25  0.00


i used the cable  : male to male

and tested the output pins :

(http://s7.postimg.org/dgrgqbhcr/male.jpg)

i hope this results help you to solve this situation :)
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: Hood on January 02, 2014, 04:48:43 PM
I am not sure about the results, can you concentrate on just pins 2 and 3 with both Mach and KCam doing a jog.
From the above it looks like you may have the step and dir pins reversed for Mach.
Hood
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: king master on January 02, 2014, 06:33:09 PM
Mach :

2 >>>> 0.05
3   >>> 3.44

====

Kcam     

2  >>>  3.44
3   >>> 1.73
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: Hood on January 02, 2014, 06:34:52 PM
Swap the pins in Mach for the X axis Step and Dir and see if the X works.
Hood
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: king master on January 03, 2014, 07:52:31 AM
i tested again pin2 in right and left dir

in the right give me 3.45 v   on the left  get  0.05

Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: Hood on January 03, 2014, 08:50:03 AM
Ok so it does seem to be working if the voltages are correct on Pin 2 and the voltage on Pin 3 is also changing from 0.5 to 3.44v.
Could it be you have the Velocity far too high and thus the motor instantly stalls? Does it make any noise when you try to jog?

Hood
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: king master on January 03, 2014, 11:32:00 AM
it make some thing strange only Hood,

when swap pin 2 , 3

and move right , then quickly move left (with keyboard arrow )  the motor move something like 2 degree ..

then wait some seconds and try again , it move another degree ( just move some right ,, then some left quickly ) or vise


Just need to change the direction very quickly and the motor Jog for 1 sec >>>>

tried and changed everything in motor tuning ........
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: Hood on January 03, 2014, 01:04:34 PM
It sounds like the axis is stalling, try setting a very low acceleration and velocity, also put it into Sherline mode just in case the driver needs a wide pulse.
Hood
Title: Re: Tachus42 Drivers and motors works in Kcam 4 and Not working in Mach3
Post by: king master on January 08, 2014, 05:42:03 PM
tried everything ... no hope to work with Mach3 :( i don't need to work with kcam