Add Axis
- RLA
- Offline
- Senior Member
Less
More
- Posts: 48
- Thank you received: 2
23 Aug 2024 18:51 - 23 Aug 2024 19:09 #308491
by RLA
Add Axis was created by RLA
hi...new user here...trying to add an axis..copied/pasted /edited...still something not right....not sure what I am doing wrong..
Thanks for any help
Rick
Sorry....just found the error...missed one b reference...Thanks!!!
Thanks for any help
Rick
Sorry....just found the error...missed one b reference...Thanks!!!
Last edit: 23 Aug 2024 19:09 by RLA.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
Less
More
- Posts: 19561
- Thank you received: 6572
23 Aug 2024 21:39 #308498
by tommylight
Replied by tommylight on topic Add Axis
You are getting the hang of it pretty good, so not "new user" anymore !
The following user(s) said Thank You: RLA
Please Log in or Create an account to join the conversation.
- RLA
- Offline
- Senior Member
Less
More
- Posts: 48
- Thank you received: 2
26 Aug 2024 17:16 #308720
by RLA
Replied by RLA on topic Add Axis
Hi...I copied a working axis as far as being able to jog with no error...but when I jog new axis (U)...I get Joint follow error...not sure what I am doing wrong...I tried to switch pins to another working axis and still had problem with U...other axis still worked after switch pin...??
Attachments:
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
Less
More
- Posts: 18028
- Thank you received: 4854
26 Aug 2024 17:51 #308721
by PCW
Replied by PCW on topic Add Axis
One way to debug this is to widen the following error limits
and then plot the commanded and feedback joint positions
with halscope.
and then plot the commanded and feedback joint positions
with halscope.
The following user(s) said Thank You: RLA
Please Log in or Create an account to join the conversation.
- RLA
- Offline
- Senior Member
Less
More
- Posts: 48
- Thank you received: 2
26 Aug 2024 20:16 #308736
by RLA
Replied by RLA on topic Add Axis
So I am new to lcnc...will have to learn halscope...in the meantime out of curiosity...what is the actual feedback looked for that results in error when not found?...
Thanks!
Thanks!
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
Less
More
- Posts: 18028
- Thank you received: 4854
26 Aug 2024 20:26 #308739
by PCW
Replied by PCW on topic Add Axis
net u-pos-cmd <= joint.4.motor-pos-cmd
net u-pos-fb <= hm2_7i96s.0.stepgen.07.position-fb
net u-pos-fb <= hm2_7i96s.0.stepgen.07.position-fb
The following user(s) said Thank You: RLA
Please Log in or Create an account to join the conversation.
- RLA
- Offline
- Senior Member
Less
More
- Posts: 48
- Thank you received: 2
26 Aug 2024 21:36 #308743
by RLA
Replied by RLA on topic Add Axis
I left shop for today but just noticed this in my hal...no reference to new axis (U)...would that cause the error?...thanks!addf hm2_7i96s.0.read servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf pid.x.do-pid-calcs servo-thread
addf pid.y.do-pid-calcs servo-thread
addf pid.z.do-pid-calcs servo-thread
addf pid.a.do-pid-calcs servo-thread
addf pid.s.do-pid-calcs servo-thread
addf hm2_7i96s.0.write servo-thread
setp hm2_7i96s.0.dpll.01.timer-us -50
setp hm2_7i96s.0.stepgen.timer-number 1
# external output signals
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf pid.x.do-pid-calcs servo-thread
addf pid.y.do-pid-calcs servo-thread
addf pid.z.do-pid-calcs servo-thread
addf pid.a.do-pid-calcs servo-thread
addf pid.s.do-pid-calcs servo-thread
addf hm2_7i96s.0.write servo-thread
setp hm2_7i96s.0.dpll.01.timer-us -50
setp hm2_7i96s.0.stepgen.timer-number 1
# external output signals
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
Less
More
- Posts: 18028
- Thank you received: 4854
26 Aug 2024 22:28 #308744
by PCW
Replied by PCW on topic Add Axis
Yes, you are missing the:
addf pid.u.do-pid-calcs servo-thread
so the "U" PID pins are there but they are not functioning
addf pid.u.do-pid-calcs servo-thread
so the "U" PID pins are there but they are not functioning
The following user(s) said Thank You: RLA
Please Log in or Create an account to join the conversation.
- RLA
- Offline
- Senior Member
Less
More
- Posts: 48
- Thank you received: 2
26 Aug 2024 22:48 #308745
by RLA
Replied by RLA on topic Add Axis
What a relief!! So in terms of unreliable hardware...its me!!
Thanks again..glad to be able to move on...
Thanks again!
Thanks again..glad to be able to move on...
Thanks again!
Please Log in or Create an account to join the conversation.
Time to create page: 0.174 seconds