- Posts: 17524
- Thank you received: 0
Following Error When Homing
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)
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.
3 years 11 months ago #255927
by turbostew
Replied by turbostew on topic Following Error When Homing
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.....
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.
3 years 11 months ago #255935
by turbostew
Here is my scope plot...
Replied by turbostew on topic Following Error When Homing
Attachment not found
Please Log in to join the conversation.
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:
something like this:
Attachment not found
Please Log in to join the conversation.
3 years 11 months ago #255938
by turbostew
Replied by turbostew on topic Following Error When Homing
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.
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
There is no visible baseline for the commanded or feedback positions in your plot
Please Log in to join the conversation.
3 years 11 months ago #255941
by turbostew
Replied by turbostew on topic Following Error When Homing
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.
3 years 11 months ago #255943
by turbostew
Replied by turbostew on topic Following Error When Homing
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.
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.
Time to create page: 0.113 seconds
