585,937 active members*
3,838 visitors online*
Register for free
Login
Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2010
    Posts
    24

    CL Step servo issues

    Hi Tom,

    As there is severe problems with the Yahoo group I will 'continue' my questions over here assuming all messages comes thru.

    Hi Bengt,

    What kind of motors/drives do you have? How are they configured?

    Regards
    TK
    Did answer but my message just vanished. So here we go....

    AC Servos discussed late March with analog problems and 'we' decided to go for CL Step, output via rj45 connector on Kflop.

    Attachment 329902

    0/20 for X
    0/21 for Y
    0/22 for Z

    What amazes me is that Z with the highest possible load works very well.

    Attachment 329904

    But both X and Y are not 'acting' so where do I go from here?

    Attachment 329906
    Attachment 329908

    Axis show that both X and Y are creeping with no commanded move, what is the cure for that?

    https://youtu.be/XFNWQheZoZc


    Hoping for some advice to get things back on track.

    Cheers
    Bengt

  2. #2
    Join Date
    May 2006
    Posts
    4045

    Re: CL Step servo issues

    Hi Bengt,

    Before jumping ahead to using closed loop Step/Direction you should verify that open loop Step/Dir is working first. It's less confusing if you go step-by-step and verify each step is working correctly before proceeding to the next step. The basic sequence is:

    #1 - verify the Step/Dir signals to the Drive are working open loop. Commanding a motion to the drive should move the correct distance. Returning back should repeat to the original position. There should be no drift in physical position after repeated moves.

    #2 - verify the Encoder feedback is working correctly. Commanding a motion the Encoder position (red) should follow the Command (blue) with only small errors. There should be no drift in measured Encoder position after repeated moves. Observe the amount of following error.

    #3 - enable closed loop control.


    It would be simpler to work with one axis at a time.

    Instead of photographing the screens take a screen shot using alt-print screen Then paste into a program like paint.exe and save to a *.png file.

    Regards
    TK
    http://dynomotion.com

  3. #3
    Join Date
    Jun 2010
    Posts
    24

    Re: CL Step servo issues

    Hi Tom,

    #1 So I change to No Input and Step Dir and output 4

    Starting with X axis only.

    Cheers
    Bengt

  4. #4
    Join Date
    Jun 2010
    Posts
    24

    Re: CL Step servo issues

    Hi Tom,

    Now I did have a memory stick with me

    Both X and Y axis move as commanded, several repetitions of size 100000 = 25mm and no loss of position.

    Attachment 329936
    Attachment 329938
    Attachment 329940

    So next up is #2

    can you kindly be detailed in what steps to do please.

    1. Set driver back to Quadrature input
    2. Change Config to Encoder and CL Step and change output to 20 (X and 21 on Y)

    As Z is already working in quadrature with settings in earlier picture, but not X/Y with similar settings.

    What next?

    Cheers
    Bengt

  5. #5
    Join Date
    May 2006
    Posts
    4045

    Re: CL Step servo issues

    Hi Bengt,

    Why did you change the driver to Quadrature input? Maybe you are thinking you need to use Quadrature input to get quadrature encoder output? The input and output should have nothing to do with one another. The whole idea of step #1 is to verify you can command the drive to move reliably using either Step/Dir or Quadrature or any other mode. After it is verified to move correctly do not change anything regarding how the drive is driven.

    Also to verify the Encoder feedback is working you do not need to change to CL Step. You only need to configure Encoder Input Mode and observe the Encoder. You can observe the Enoder on the KMotion.exe Axis Screen. Or the red plot in the Step Response Screen. You plots show no encoder motion. So either the encoder is not moving, or it isn't wired correctly, or it isn't configured properly.

    HTH
    Regards
    TK
    http://dynomotion.com

  6. #6
    Join Date
    Jun 2010
    Posts
    24

    Re: CL Step servo issues

    Hi Tom,
    Well I do what ask me to do, I verified that S/D is working with no Enc feedback. As regards Quadrature Output, you wanted me to go for this during testing in March as it would be much better as regards pulse width or something in those lines.

    So now I will set Encoder Input Mode and see what happens. ( it very strange that Z axis is Enc input and Quad output and it seems to work well. Any explanation to this Tom? )
    Have double checked the encoder wiring and all 3 axis are connected as they should be.

    So next up will be screendumps with Encoder input.

    Cheers
    Bengt

  7. #7
    Join Date
    May 2006
    Posts
    4045

    Re: CL Step servo issues

    Hi Bengt,

    Sorry for the confusion. I just meant to verify the Drive will "Step" properly in both directions in what ever mode you intend to use. If we decided that Quadrature would be the best mode then that should be the mode you use and test.

    I don't have an explanation why your axes behave differently. Maybe X and Y are not configured properly.

    Regards
    TK
    http://dynomotion.com

  8. #8
    Join Date
    Jun 2010
    Posts
    24

    Re: CL Step servo issues

    Hi Tom,
    Been down in the workshop doing tests with S/D + Encoder and Y is OK but X is not OK. Some days ago I had a mishap with Z and brake that resulted in Z going down fast and unfortunately my tool cart was in its way and one sharp corner managed to damage in going cables to the motor.
    Power cables OK but obviously encoder cables was damaged. Now I have to find how many of the 15 is broken.

    Y axis
    Attachment 330258

    X axis
    Attachment 330260

    Will report my findings with the cable as soon as I get it repaired,

    Cheers
    Bengt

  9. #9
    Join Date
    Jun 2010
    Posts
    24

    Re: CL Step servo issues

    Hi Tom,

    Re X axis, the encoder did get severe damage. I was in the hopes that the cable was damaged but it is OK.
    So I have now ordered new encoder from manufacturer in China.

    I will continue to get all in place with what I have.

    Question regarding the Z axis brake. Is there some C code that can monitor BIT 156 so it can not be switched OFF before brake is activated.
    BIT 156 power enable to drivers, SON is onboard that releases the brake as it is now, 24VDC externally to control relay. So here is the problem
    if BIT 156 is turned off the brake is still non active. So I need a watchdog of some sort to be safe when drivers are powered of.
    Have had several 'run-aways' with knee plunging down uncontrolled. One of these 'trips' did damage the encoder.

    Cheers
    Bengt

  10. #10
    Join Date
    May 2006
    Posts
    4045

    Re: CL Step servo issues

    Hi Bengt,

    I don't fully understand your description. How is the Brake controlled? By an output?

    If your code is turning off Bit 156 to disable the drivers can't it also simply activate the Brake?

    Regards
    TK
    http://dynomotion.com

Similar Threads

  1. Step file issues
    By brianpfeifer1 in forum Tutorials
    Replies: 7
    Last Post: 03-15-2016, 04:39 AM
  2. Spindle Interference on Kanalog DAC ground causing Kflop Step issues?
    By slimneill in forum Dynomotion/Kflop/Kanalog
    Replies: 8
    Last Post: 01-06-2016, 01:41 AM
  3. Replies: 13
    Last Post: 07-31-2008, 11:32 PM
  4. Servo step multiplier
    By JerryFlyGuy in forum Servo Motors / Drives
    Replies: 8
    Last Post: 05-15-2007, 08:20 PM
  5. Units Per Step For Servo
    By bgolash in forum Mach Software (ArtSoft software)
    Replies: 1
    Last Post: 02-14-2006, 08:46 PM

Tags for this Thread

Posting Permissions

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