Tuning question, stepper motor mill
22 Feb 2019 14:05 - 22 Feb 2019 14:10 #126909
by Leon82
Tuning question, stepper motor mill was created by Leon82
I have my dirhold and dirsetup at 60000. I inflated my max jitter numbers initially.
Velocity was set at 2 in per sec and it stalled out so I dropped it to 1.75 and it runs but sounds like it may be missing a couple steps. On wheezy it's fine but I'm testing out stretch. The jitters is around 20k for both on stretch
I could increase voltage (40v Currently) on the nema 23 motors also
I would be happy with 100 ipm max velocity.
May get a mesa card but want to try and tweak this first.
Velocity was set at 2 in per sec and it stalled out so I dropped it to 1.75 and it runs but sounds like it may be missing a couple steps. On wheezy it's fine but I'm testing out stretch. The jitters is around 20k for both on stretch
I could increase voltage (40v Currently) on the nema 23 motors also
I would be happy with 100 ipm max velocity.
May get a mesa card but want to try and tweak this first.
Last edit: 22 Feb 2019 14:10 by Leon82.
Please Log in or Create an account to join the conversation.
22 Feb 2019 14:13 #126912
by pl7i92
Replied by pl7i92 on topic Tuning question, stepper motor mill
can you tell Here what Board are you using
100ipm on a parporrt is quite easy
that is 40mm/sec
and 40 VEL and 250 ACC is a Standard that can be done by a simple TB6560 at 100000 latency
100ipm on a parporrt is quite easy
that is 40mm/sec
and 40 VEL and 250 ACC is a Standard that can be done by a simple TB6560 at 100000 latency
Please Log in or Create an account to join the conversation.
22 Feb 2019 14:54 #126920
by Leon82
Replied by Leon82 on topic Tuning question, stepper motor mill
It's a sainsmart breakout board with gecko 201s
Please Log in or Create an account to join the conversation.
22 Feb 2019 17:07 #126922
by Leon82
Replied by Leon82 on topic Tuning question, stepper motor mill
These are the hal values
setp stepgen.0.steplen 1
setp stepgen.0.stepspace 0
setp stepgen.0.dirhold 60000
setp stepgen.0.dirsetup 60000
setp stepgen.0.steplen 1
setp stepgen.0.stepspace 0
setp stepgen.0.dirhold 60000
setp stepgen.0.dirsetup 60000
Please Log in or Create an account to join the conversation.
22 Feb 2019 19:02 #126932
by pl7i92
Replied by pl7i92 on topic Tuning question, stepper motor mill
is it the one i use
here is my channel
here is my channel
The following user(s) said Thank You: Leon82
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Away
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
22 Feb 2019 20:21 #126950
by Todd Zuercher
There is one more pertinant thing needed from your hal file. From the above numbers you must be using the reset funtion of the parallel port to get a full step/ base-thread cycle. We need to see what that reset time is because it becomes your step length time. Look for a line like:
setp parport.0.reset-time ...
Replied by Todd Zuercher on topic Tuning question, stepper motor mill
These are the hal values
setp stepgen.0.steplen 1
setp stepgen.0.stepspace 0
setp stepgen.0.dirhold 60000
setp stepgen.0.dirsetup 60000
There is one more pertinant thing needed from your hal file. From the above numbers you must be using the reset funtion of the parallel port to get a full step/ base-thread cycle. We need to see what that reset time is because it becomes your step length time. Look for a line like:
setp parport.0.reset-time ...
Please Log in or Create an account to join the conversation.
22 Feb 2019 20:39 - 22 Feb 2019 21:35 #126957
by Leon82
Replied by Leon82 on topic Tuning question, stepper motor mill
it's 5000
These are the hal values
setp stepgen.0.steplen 1
setp stepgen.0.stepspace 0
setp stepgen.0.dirhold 60000
setp stepgen.0.dirsetup 60000
There is one more pertinant thing needed from your hal file. From the above numbers you must be using the reset funtion of the parallel port to get a full step/ base-thread cycle. We need to see what that reset time is because it becomes your step length time. Look for a line like:
setp parport.0.reset-time ...
Last edit: 22 Feb 2019 21:35 by Leon82.
Please Log in or Create an account to join the conversation.
22 Feb 2019 21:35 #126959
by Leon82
Replied by Leon82 on topic Tuning question, stepper motor mill
It's 5000 for the port reset
Please Log in or Create an account to join the conversation.
22 Feb 2019 22:59 #126962
by Leon82
Replied by Leon82 on topic Tuning question, stepper motor mill
I set the reset to 35000 and it sounds good.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Away
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
23 Feb 2019 02:27 #126980
by Todd Zuercher
Replied by Todd Zuercher on topic Tuning question, stepper motor mill
35000 is pretty long for a reset time, I would suggest not using a rest time longer than half your base-thread time. if you have trouble at that speed,either try inverting your step signal or don't use the reset feature.
The reason being the reset feature holds the real time system hostage for the amount of time it counts down and if your computer is twiddling it thumbs for more than half the time... you get the picture.
The reason being the reset feature holds the real time system hostage for the amount of time it counts down and if your computer is twiddling it thumbs for more than half the time... you get the picture.
The following user(s) said Thank You: Leon82
Please Log in or Create an account to join the conversation.
Time to create page: 0.101 seconds