Initial Setup Troubles

If you have a question about the software please ask it here.

Initial Setup Troubles

Postby ejg3855 » Fri Sep 06, 2019 1:34 am

I've finished building my mechanics and now I am working on getting the ABXX-E setup with Teknic Clearpath Servos that use step and direction signals. I can set my resolutions to anything I want within reason with the Teknics. I am using 200steps/rev currently. I have tuned the gains on the servos so they are running very well.

When I run the motions using the Teknic software everyting moves like it should, Video 1. https://youtu.be/-b05c4El9ZY

When I connect the axbb-e and UCCNC control the motor runs like complete garbage, Video 2. https://youtu.be/rrbqihcPoa4


I feel like I need to be missing something very simple here, or I have a bad board (abxx-e). Anyone shed some light on this for me?

Thanks
Last edited by ejg3855 on Fri Sep 06, 2019 1:48 am, edited 1 time in total.
ejg3855
 
Posts: 28
Joined: Thu Aug 15, 2019 3:01 pm

Re: Initial Setup Troubles

Postby ger21 » Fri Sep 06, 2019 1:48 am

Try running them at the native resolution, rather than 200 steps/rev.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: Initial Setup Troubles

Postby ejg3855 » Fri Sep 06, 2019 1:50 am

ger21 wrote:Try running them at the native resolution, rather than 200 steps/rev.


I'm not sure they have a native resolution. I tried 800 step
/Rev and got the same results.
ejg3855
 
Posts: 28
Joined: Thu Aug 15, 2019 3:01 pm

Re: Initial Setup Troubles

Postby cncdrive » Fri Sep 06, 2019 11:24 am

I think your comparion is not OK. You running on low speed with the UCCNC and running on high speed with the servo config software.
Try to also run low speed with the servo config software, around the same speed as you running this with the UCCNC.
I'm asking this to see if this is a PID tuning issue or not, I guess it is.

Also if you have an oscilloscope or logic analyser then check the step signals to see if their frequency is smooth or not.

And yes, try to use higher resolution. I'm not familiar with the config software, but maybe it runs on high resolution encoder feedback, so it could be a difference.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Initial Setup Troubles

Postby ejg3855 » Fri Sep 06, 2019 12:29 pm

I am not sure but I am reading the natural encoder resolution is 6,400 on this model. I can switch to that.

When I run the motor direct (usb teknic) at a slow speed it also runs just fine.

I do get a "step input timing error" on the servo when I try to move faster via the UCCNC. I think that means its feeding steps much faster than the servo can process.
ejg3855
 
Posts: 28
Joined: Thu Aug 15, 2019 3:01 pm

Re: Initial Setup Troubles

Postby ger21 » Fri Sep 06, 2019 12:34 pm

What frequency do you have UCCNC set to? Try using both a faster and slower frequency, to see if it makes a difference?
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: Initial Setup Troubles

Postby ejg3855 » Fri Sep 06, 2019 3:03 pm

There was a noticeable difference when I switched from low hertz to high hertz and there was a noticeable decrease in the studder of the system, it seemed like it wanted to go faster than the 400mhz

I am more puzzled as to why it won't operate in the (-) direction.

I am going to bring a scope home from work and try to evaluate the signals this weekend.
ejg3855
 
Posts: 28
Joined: Thu Aug 15, 2019 3:01 pm

Re: Initial Setup Troubles

Postby Robertspark » Fri Sep 06, 2019 3:34 pm

ejg3855 wrote:...400mhz...

:shock: wow :lol:
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: Initial Setup Troubles

Postby ejg3855 » Fri Sep 06, 2019 3:59 pm

it was a typo lol I wish it went that fast.
ejg3855
 
Posts: 28
Joined: Thu Aug 15, 2019 3:01 pm

Re: Initial Setup Troubles

Postby ejg3855 » Mon Sep 09, 2019 12:31 pm

It was a logic grounding issue. Solved!
ejg3855
 
Posts: 28
Joined: Thu Aug 15, 2019 3:01 pm

Next

Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 22 guests