- Posts: 225
- Thank you received: 178
Could you please explain what you are trying to achieve. Without this, it is difficult to judge what the problem might be. Please:[code]
net x-index-enable => pid.x.index-enable <= joint.0.index-enable => [LITEXCNC](NAME).encoder.00.index_enable
net x-enable pid.x.enable <= joint.0.amp-enable-out => [LITEXCNC](NAME).stepgen.00.enable => [LITEXCNC](NAME).gpio.j11:1.out
net x-pos-cmd joint.0.motor-pos-cmd => pid.x.command
net x-vel-fb [LITEXCNC](NAME).encoder.00.velocity => pid.x.feedback-deriv
net axis.0.motor-pos-fb <= [LITEXCNC](NAME).encoder.00.position => pid.x.feedback
net x-output pid.x.output => [LITEXCNC](NAME).stepgen.00.velocity-cmd
[code]
Is there a problem with the syntax of my encoder connection? I don't know whether there is a problem with my hal or my hardware connection
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Sorry...This doesn´t work either.To run litexcnc in your poetry environment, please use:
sudo -E env PATH=$PATH poetry run litexcnc install_driver
Please Log in or Create an account to join the conversation.
There is one thing missing in your HAL-file: you have to connect the feedback of the position to the motmod. The pin joint.N.motor-pos-fb is currently not connected in your HAL. This will cause joint following errors, because the motmod won't see your axis responding to the input.I think the input of 5A-75E is connected to the encoder output interface of the servo driver to achieve full closed-loop control
Please Log in or Create an account to join the conversation.
This error is due to an error in your project. Can you share the location of you repository or a zip-file with your code, the I can correct the error for you.To run litexcnc in your poetry environment, please use:
sudo -E env PATH=$PATH poetry run litexcnc install_driver
Sorry...This doesn´t work either.Code:oj@VMLinuxCNC:~$ sudo -E env PATH=$PATH poetry run litexcnc install_driver [sudo] Passwort für oj: /home/oj/src/litexcnc does not contain any element
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.