Following Error When Homing

More
3 years 11 months ago #255920 by PCW
Replied by PCW on topic Following Error When Homing
Can you:
1. Post your hal file
2. Plot the commanded joint position, joint feedback position and index-enable
in halscope at 1 servo thread/division (trigger on index-enable falling edge)

Please Log in to join the conversation.

More
3 years 11 months ago #255927 by turbostew
Here are my config files.

I forget I posted here a while back.....

forum.linuxcnc.org/49-basic-configuratio...-with-index?start=20

I did all the things you(PCW) suggested in that post, vel mode on stepgen,etc.

I'll work on those scope plots.....

Please Log in to join the conversation.

More
3 years 11 months ago #255935 by turbostew
 

Attachment not found

Here is my scope plot...

Please Log in to join the conversation.

More
3 years 11 months ago #255936 by PCW
Replied by PCW on topic Following Error When Homing
That's odd, I don't see the baseline (0) for the feedback or commanded position
something like this:

 

Attachment not found

Please Log in to join the conversation.

More
3 years 11 months ago #255938 by turbostew
meaning u expect the signals to be zero after index en? or before? or??? Or you don't see the baseline lines on the pic (I gained them up to maximize resolution so the base line is the white lines at first division from bottom)?

Please Log in to join the conversation.

More
3 years 11 months ago #255940 by PCW
Replied by PCW on topic Following Error When Homing
The feedback and commanded position should be forced to 0 at index detection

There is no visible baseline for the commanded or feedback positions in your plot

Please Log in to join the conversation.

More
3 years 11 months ago #255941 by turbostew
It is, white lines at first div from bottom.   notice my home positions in ini are around where the positions settle 

Attachment not found

Please Log in to join the conversation.

More
3 years 11 months ago #255943 by turbostew
Big question to me is why the big following error spike? It is like the command is current sample and feedback is one sample ahead in time (more like feebback plot data is one sample old).  Maybe "pid.y.error-previous-target true" causing this?

Please Log in to join the conversation.

More
3 years 11 months ago #255944 by PCW
Replied by PCW on topic Following Error When Homing
The question I have is why the feedback is not 0 after index detection

Please Log in to join the conversation.

More
3 years 11 months ago #255946 by turbostew
I hope you can tell me:)

Please Log in to join the conversation.

Time to create page: 0.113 seconds
Powered by Kunena Forum