Getting joint 0 following error?
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18304
- Thank you received: 4982
29 Mar 2020 00:56 #161897
by PCW
Replied by PCW on topic Getting joint 0 following error?
You could set ferror and min_ferror to say 1 while testing and tuning
The following user(s) said Thank You: Catch22
Please Log in or Create an account to join the conversation.
- Catch22
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 218
- Thank you received: 17
29 Mar 2020 01:04 #161899
by Catch22
Replied by Catch22 on topic Getting joint 0 following error?
I will give that a try, thanks again.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23213
- Thank you received: 4892
29 Mar 2020 14:00 #161969
by andypugh
Replied by andypugh on topic Getting joint 0 following error?
You might also want to remove all the lines like:
net y-vel-cmd => pid.y.command-deriv
I don't think that is the problem, but there is an issue with connecting an empty signal to that pin in some versions of LinuxCNC.
net y-vel-cmd => pid.y.command-deriv
I don't think that is the problem, but there is an issue with connecting an empty signal to that pin in some versions of LinuxCNC.
The following user(s) said Thank You: Catch22
Please Log in or Create an account to join the conversation.
- Catch22
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 218
- Thank you received: 17
29 Mar 2020 14:48 #161972
by Catch22
Replied by Catch22 on topic Getting joint 0 following error?
So would I delete all of this?
net y-index-enable <=> pid.y.index-enable
net y-enable => pid.y.enable
net y-pos-cmd => pid.y.command
net y-vel-cmd => pid.y.command-deriv
net y-pos-fb => pid.y.feedback
net y-output => pid.y.output
net y-index-enable <=> pid.y.index-enable
net y-enable => pid.y.enable
net y-pos-cmd => pid.y.command
net y-vel-cmd => pid.y.command-deriv
net y-pos-fb => pid.y.feedback
net y-output => pid.y.output
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18304
- Thank you received: 4982
29 Mar 2020 14:53 #161973
by PCW
Replied by PCW on topic Getting joint 0 following error?
No!
just
net x-vel-cmd => pid.x.command-deriv
net y-vel-cmd => pid.y.command-deriv
net z-vel-cmd => pid.z.command-deriv
just
net x-vel-cmd => pid.x.command-deriv
net y-vel-cmd => pid.y.command-deriv
net z-vel-cmd => pid.z.command-deriv
The following user(s) said Thank You: Catch22
Please Log in or Create an account to join the conversation.
- Catch22
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 218
- Thank you received: 17
29 Mar 2020 15:06 #161975
by Catch22
Replied by Catch22 on topic Getting joint 0 following error?
Ok thanks
Please Log in or Create an account to join the conversation.
- OT-CNC
- Offline
- Platinum Member
-
Less
More
- Posts: 622
- Thank you received: 75
29 Mar 2020 17:50 #162009
by OT-CNC
Replied by OT-CNC on topic Getting joint 0 following error?
I'm working with the same drives right now and linear encoders on the machine. How did you setup the drives? Are they running the motors correctly (belts removed) before connecting to linuxcnc?
The following user(s) said Thank You: Catch22
Please Log in or Create an account to join the conversation.
- Catch22
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 218
- Thank you received: 17
29 Mar 2020 18:33 #162012
by Catch22
Replied by Catch22 on topic Getting joint 0 following error?
Only one motor is working properly, when I get a few minutes I will let you know how they are wired, after I get it working properly.
Please Log in or Create an account to join the conversation.
- OT-CNC
- Offline
- Platinum Member
-
Less
More
- Posts: 622
- Thank you received: 75
29 Mar 2020 19:01 #162015
by OT-CNC
Replied by OT-CNC on topic Getting joint 0 following error?
I'm almost all set with the initial setup on mine. Let me know if you have questions. I would make sure they run correctly with a small external control voltage applied, like 1.5v from a battery, before connecting to linuxcnc. I was initially fighting duds from fleabay. Motors should run smooth in both directions and drives should not fault out.
The following user(s) said Thank You: Catch22
Please Log in or Create an account to join the conversation.
- Catch22
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 218
- Thank you received: 17
29 Mar 2020 20:49 #162021
by Catch22
Replied by Catch22 on topic Getting joint 0 following error?
Ok, so I tried 2 other drives that I had and all motors are turning both directions now.
I tried just manually moving each axis and x does nothing, y moves -.0003 and z moves -.0003 nomatter how far I move them that's it.
I tried just manually moving each axis and x does nothing, y moves -.0003 and z moves -.0003 nomatter how far I move them that's it.
Please Log in or Create an account to join the conversation.
Time to create page: 0.074 seconds