Quote Originally Posted by JAZZCNC View Post
Could be you have the Step pulse active on the falling edge rather than rising edge. Basicly it's timing issue and the Step pulse is happening before the Dir so your losing a position with every direction change.

Try changing the Step Active pin state and see if it makes difference.?

Thanks. Sorry had some nasty flu for a couple of days. Maybe because of that damned machine.

Now i see my BIG mistake going with Samsung servos and Galil board initially. May be even so with the Pokeys. NO BLOODY SUPPORT. No one to ask to, nobody with similar setup, enormously big manuals my ignorance, etc...


Meanwhile contacted Pokeys support and received an answer that there have not been similar issue. Still in contact with them.


Today i feel good so i decided again to brainstorm the problem. I read a couple of times again the bloody Samsung CSDJ PLUS manual. I could not find anything there or in the software about "falling edge" or "rising edge" , maybe cause they call them sth differently, though i think its not adjustable and somehow could be obvious to sb knowledgable looking at the pictures below.

Click image for larger version. 

Name:	pulse.PNG 
Views:	1649 
Size:	184.3 KB 
ID:	18414Click image for larger version. 

Name:	pulse 2.PNG 
Views:	1545 
Size:	73.5 KB 
ID:	18415


So i started step by step as per manual, checking all again:
Click image for larger version. 

Name:	prior.PNG 
Views:	1626 
Size:	143.2 KB 
ID:	18423


For a moment i thought the culprit was the resistor value. As before drive was connected to galil board /24v/ . But, no- 220ohm, correct for 5v pulse signal.



So according to the manual then the Autotuning is the next step
Click image for larger version. 

Name:	autotuning.PNG 
Views:	1637 
Size:	172.2 KB 
ID:	18424Click image for larger version. 

Name:	autotuning 2.PNG 
Views:	1688 
Size:	190.6 KB 
ID:	18425Click image for larger version. 

Name:	autotuning 3.PNG 
Views:	1582 
Size:	55.3 KB 
ID:	18426






I am reading now section 6, which is all about the tuning that is in the manual, apart from the auto tuning:

Click image for larger version. 

Name:	tuning.PNG 
Views:	1620 
Size:	203.9 KB 
ID:	18422Click image for larger version. 

Name:	tuning 2.PNG 
Views:	1606 
Size:	246.7 KB 
ID:	18420Click image for larger version. 

Name:	tuning 3.PNG 
Views:	1610 
Size:	146.8 KB 
ID:	18421



I am starting to think that the auto tuning does not do things right for the Z. I am still baffled why the Jog from servo drive software is snappy and from Mach3 is like undershooting a bit?.

Could that be the autotuning and that from there on the drive is not tuned and undershooting? Unfortunately my phone needs recharging but later will take picture of the Gain and autotuning screen from software.

Another thing is -why when autotuning it always changes on next autotuning? it shows load inertia ratio 3-4, sometimes 8-9. Some times 1. I am baffled.

What i did as a last resort is raised the gain from 20 to 70 now, and all seems more snappy even from Mach3. Though i am tired for today. Will continue.