. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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.?

  2. #2
    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:	354 
Size:	184.3 KB 
ID:	18414Click image for larger version. 

Name:	pulse 2.PNG 
Views:	285 
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:	355 
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:	314 
Size:	172.2 KB 
ID:	18424Click image for larger version. 

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

Name:	autotuning 3.PNG 
Views:	293 
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:	345 
Size:	203.9 KB 
ID:	18422Click image for larger version. 

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

Name:	tuning 3.PNG 
Views:	310 
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.
    project 1 , 2, Dust Shoe ...

  3. #3
    Quote Originally Posted by Boyan Silyavski View Post
    I could not find anything there or in the software about "[COLOR=#333333]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.
    The drive will expect to see Step pulse either on the Rising edge or Falling. Can be a setting but often the manual just states what it requires.
    To change the Edge you do this in Mach3 using the Active hi/lo setting so it's easy to try if not sure.

  4. #4
    Ok I just looked at the pictures and it's right there in the first picture the portion you circled. TR=on /off

    Also the warning is saying what I suggested that if the low/high is wrong there is position shift and you'll have errors. Every direction change you'll lose one pulse.

    Don't think pokeys supports this but not used one for while so not sure but if possible wire step/Dir differential rather than Common Anode or Cathode.

  5. #5
    Just a follow up.

    For the moment the problem is solved. Though not sure if entirely, as i have many wood jobs , so no time to play with fine adjustments. But wood is fine.

    Reason was bad servo tuning. It seems it was a mistake to rely on the autotuning function. So it was undershooting . When positioning the Z. And the gantry also. Symptoms were you move it to position and when it stops there was a further fine adjusting movement. But as it is my first servo machine, i thought that normal.

    So i still do not understand very well how to fine tune the parameters one by one, even if i read a lot of info on internet. However luckily Samsung servo has 3rd method as seen on last document above. Just raising the gain, so all else auto adjusts some how. factory was 20, 50 is for rigid machine, 100 is max. So i made the Z gain 75 and now is snappy as a bullet from new AK47.

    All other axis are set to 50, and i am still testing if to raise that or no.


    I still have to understand if TR=on/off is set right, and how to change it exactly from the servo software. I guess as the machine is rigid, motors and acceleration are calculated correctly, gain is set correctly, if problems still persist then that would be the solution. Unfortunately Pokeys does not support differential.

    Truth is i wanted to know better that cheap board for my future projects, otherwise i would have installed CSMIO already. But it seems handles things well for now. Some small quirks but that's Mach3 .
    project 1 , 2, Dust Shoe ...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Boxford 160 cnc convert to mach3, Info needed
    By sbdtasos in forum Boxford Lathes
    Replies: 4
    Last Post: 20-12-2015, 12:21 PM
  2. Boxford 190vmc Mach3 Conversion - Help needed!
    By Joshi in forum Boxford Vertical Mills
    Replies: 2
    Last Post: 30-09-2015, 11:55 AM
  3. Replies: 0
    Last Post: 03-01-2015, 03:40 PM
  4. Boxford 160 cnc convert to mach3, Info needed.
    By SparkyMarc in forum Boxford Lathes
    Replies: 5
    Last Post: 01-11-2014, 11:38 PM
  5. Help needed for a 3d part gcode for mach3
    By Rebekah_harper in forum Computer Software
    Replies: 33
    Last Post: 04-11-2013, 01:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •