Help with homing on dual axis PlasmaC
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2244
- Thank you received: 479
16 Jul 2020 21:43 - 16 Jul 2020 21:53 #174887
by Clive S
Help with homing on dual axis PlasmaC was created by Clive S
Please see the vid for the problem with the homing one side stutters and and the other side is fine and homes without stutter.
The motors are closed loop servos. The machine is grounded correctly.
After it homes it jogs perfectly at 15M/min
There is no binding on the screw
could it be this setp pid.y2.maxerror .0005
is the debounce correctly setup ?
The motors are closed loop servos. The machine is grounded correctly.
After it homes it jogs perfectly at 15M/min
There is no binding on the screw
could it be this setp pid.y2.maxerror .0005
is the debounce correctly setup ?
Attachments:
Last edit: 16 Jul 2020 21:53 by Clive S. Reason: added text
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5715
- Thank you received: 2091
16 Jul 2020 23:25 #174892
by phillc54
Replied by phillc54 on topic Help with homing on dual axis PlasmaC
You haven't connected the debounce outputs, instead of:
you need something like:you could probably also setp the debounce delay a lot lower
net home-y => joint.0.home-sw-in
and
net home-y2 => joint.0.home-sw-in
you need something like:
net home-y-out debounce.0.0.out => joint.1.home-sw-in
and
net home-y2-out debounce.0.1.out => joint.2.home-sw-in
The following user(s) said Thank You: Clive S
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2244
- Thank you received: 479
17 Jul 2020 07:22 #174908
by Clive S
Thanks Phill
Are the timings for debounce in nano or usecs
Replied by Clive S on topic Help with homing on dual axis PlasmaC
You haven't connected the debounce outputs, instead of:
net home-y => joint.0.home-sw-in and net home-y2 => joint.0.home-sw-in
you need something like:you could probably also setp the debounce delay a lot lowernet home-y-out debounce.0.0.out => joint.1.home-sw-in and net home-y2-out debounce.0.1.out => joint.2.home-sw-in
Thanks Phill
Are the timings for debounce in nano or usecs
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19617
- Thank you received: 6610
17 Jul 2020 07:24 #174910
by tommylight
Replied by tommylight on topic Help with homing on dual axis PlasmaC
Those lines should be deleted or omitted, in most cases.could it be this setp pid.y2.maxerror .0005
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5715
- Thank you received: 2091
17 Jul 2020 07:27 #174911
by phillc54
Replied by phillc54 on topic Help with homing on dual axis PlasmaC
I believe they are servo periods, so usually 1 mS per period.Are the timings for debounce in nano or usecs
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5715
- Thank you received: 2091
17 Jul 2020 07:28 #174912
by phillc54
Do they cause issues? I see that I have the same in my config.
Replied by phillc54 on topic Help with homing on dual axis PlasmaC
@Tom
Those lines should be deleted or omitted, in most cases.could it be this setp pid.y2.maxerror .0005
Do they cause issues? I see that I have the same in my config.
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2244
- Thank you received: 479
17 Jul 2020 07:35 #174913
by Clive S
I have seen PCW say delete them many time for stepper configs not sure about close loop servos
Replied by Clive S on topic Help with homing on dual axis PlasmaC
@Tom
Those lines should be deleted or omitted, in most cases.could it be this setp pid.y2.maxerror .0005
Do they cause issues? I see that I have the same in my config.
I have seen PCW say delete them many time for stepper configs not sure about close loop servos
The following user(s) said Thank You: phillc54
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2244
- Thank you received: 479
17 Jul 2020 07:40 #174914
by Clive S
Is this correct then:-
# --- HOME-Y ---
net home-y <= hm2_7i96.0.gpio.003.in_not
net home-y debounce.0.0.in
net home-y-out debounce.0.0.out
net home-y-out => joint.1.home-sw-in
Replied by Clive S on topic Help with homing on dual axis PlasmaC
You haven't connected the debounce outputs, instead of:
net home-y => joint.0.home-sw-in and net home-y2 => joint.0.home-sw-in
you need something like:you could probably also setp the debounce delay a lot lowernet home-y-out debounce.0.0.out => joint.1.home-sw-in and net home-y2-out debounce.0.1.out => joint.2.home-sw-in
Thanks Phill
Are the timings for debounce in nano or usecs
Is this correct then:-
# --- HOME-Y ---
net home-y <= hm2_7i96.0.gpio.003.in_not
net home-y debounce.0.0.in
net home-y-out debounce.0.0.out
net home-y-out => joint.1.home-sw-in
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5715
- Thank you received: 2091
17 Jul 2020 07:42 #174917
by phillc54
Replied by phillc54 on topic Help with homing on dual axis PlasmaC
Yep, that looks OK.Is this correct then:-
# --- HOME-Y ---
net home-y <= hm2_7i96.0.gpio.003.in_not
net home-y debounce.0.0.in
net home-y-out debounce.0.0.out
net home-y-out => joint.1.home-sw-in
The following user(s) said Thank You: Clive S
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19617
- Thank you received: 6610
17 Jul 2020 07:52 #174921
by tommylight
PCW also showed when that line would be useful, but i can not find the topic, it was about 7 or more months ago.
Replied by tommylight on topic Help with homing on dual axis PlasmaC
Yes on stepper systems, not sure about servo, but since it is a step/dir system, chances are they have to be removed. They case instability/vibrations/errors on position tracking. I got used to just deleting them.
@Tom
Those lines should be deleted or omitted, in most cases.could it be this setp pid.y2.maxerror .0005
Do they cause issues? I see that I have the same in my config.
PCW also showed when that line would be useful, but i can not find the topic, it was about 7 or more months ago.
Please Log in or Create an account to join the conversation.
Moderators: snowgoer540
Time to create page: 0.119 seconds