Closed Loop example in position mode and velocity mode #97
Replies: 4 comments 20 replies
-
In speed mode:
and INI:
|
Beta Was this translation helpful? Give feedback.
-
Is the HAL configuration correct in both modes? |
Beta Was this translation helpful? Give feedback.
-
hello peter |
Beta Was this translation helpful? Give feedback.
-
And I remembered that I found another small bug concerning HOME_USE_INDEX that I forgot to write about: when index is found, linuxcnc resets
At the end of the homing, position and feedback are zero, as they should be, there is no error. But if HOME_OFFSET =/= 0 is used, then at the end of the procedure
It's the difference between pos and feedback that causes the follow error after homing. I think when using index-enable we should set This pin (encoder.00.position_offset) is mentioned in the documentation, but it doesn't seem to exist in the current version of the encoder component...
|
Beta Was this translation helpful? Give feedback.
-
How to create a closed loop system in Litex?
Beta Was this translation helpful? Give feedback.
All reactions