×
Forum Header
Setting for Gecko 210X
02 Sep 2012 15:00 - 02 Sep 2012 15:10 #23844
by Rick4004
Setting for Gecko 210X was created by Rick4004
I just replaced all my stepper drivers with new Gecko 210X drivers, and it would be great if someone would review my settings and answer a couple of questions.
The specs from the Gecko site www.geckodrive.com/geckodrive-step-motor-drives/g210x.html are:
Step Pulse “0” Time - 2uS
Step Pulse “1” Time - 1uS
Direction Setup (Before step rising edge) - 200nS
Direction Setup (Hold after pulse rising edge) - 200nS
So, I ran the step configuration wizard and entered the following:
Step time - 2000nS
Step Space - 1000nS
Direction Hold - 200nS
Direction Setup - 200nS
Base Jitter - 24074ns (after running multiple 24hour latency tests)
The Step Configuration Wizard generated the following settings;
In the INI file - Base_Period - 71428
In the HAL file;
Steplen - 1
Step Space - 0
Dirhold - 24274
Dirsetup - 24274
Now when I ran the StepTimingCalculator (attached), it tells me my "Best" setup is
Base Period 26.07
steplen 1
stepspace 1
dirsetup 1
dirhold 1
step period 52.15
So, I am a little confused.
1. Should I change the Base_period in the Hal file from 71428 to 24274 if I use the numbers from the StepConfig Wiz, or to 26070 if I use the results of the StepTimingCalculator, or does it stay at 71428? And if I do need to change it, where did the 71428 come from?
2. If I use the results of the StepTimingCalculator, do I change the Dirhold and Dirsetup to "1", or does "1" mean one base period, and I would then enter "26070" for those two settings.
I hope that I presented this information clear enough to get a response.
Thanks
Rick Denoon
The specs from the Gecko site www.geckodrive.com/geckodrive-step-motor-drives/g210x.html are:
Step Pulse “0” Time - 2uS
Step Pulse “1” Time - 1uS
Direction Setup (Before step rising edge) - 200nS
Direction Setup (Hold after pulse rising edge) - 200nS
So, I ran the step configuration wizard and entered the following:
Step time - 2000nS
Step Space - 1000nS
Direction Hold - 200nS
Direction Setup - 200nS
Base Jitter - 24074ns (after running multiple 24hour latency tests)
The Step Configuration Wizard generated the following settings;
In the INI file - Base_Period - 71428
In the HAL file;
Steplen - 1
Step Space - 0
Dirhold - 24274
Dirsetup - 24274
Now when I ran the StepTimingCalculator (attached), it tells me my "Best" setup is
Base Period 26.07
steplen 1
stepspace 1
dirsetup 1
dirhold 1
step period 52.15
So, I am a little confused.
1. Should I change the Base_period in the Hal file from 71428 to 24274 if I use the numbers from the StepConfig Wiz, or to 26070 if I use the results of the StepTimingCalculator, or does it stay at 71428? And if I do need to change it, where did the 71428 come from?
2. If I use the results of the StepTimingCalculator, do I change the Dirhold and Dirsetup to "1", or does "1" mean one base period, and I would then enter "26070" for those two settings.
I hope that I presented this information clear enough to get a response.
Thanks
Rick Denoon
Last edit: 02 Sep 2012 15:10 by Rick4004. Reason: Had my HAL File and INI file mixed up
Please Log in or Create an account to join the conversation.
02 Sep 2012 15:48 #23845
by BigJohnT
Replied by BigJohnT on topic Re:Setting for Gecko 210X
A "feature" of the Stepconf Wizard is to make the base period just short enough to make pulses at the rate needed for the fastest step pulse needed. If you change the velocity or the scale of one or more axis then Stepconf will adjust the base period to a new value.
John
John
Please Log in or Create an account to join the conversation.
02 Sep 2012 22:43 #23848
by Rick4004
Replied by Rick4004 on topic Re:Setting for Gecko 210X
Ah, I see. So, considering that the default setting in the Wizard gives me 60 IPM with my leadscrew/pulley setup, which is more than adequate for my small mill, and I don't really need to push my settings close to the edge to squeeze out more speed, can you recommend what settings I should use?
Should I just leave the Base_period at the high number?
And should I use the other settings from the StepConfig Wizard, or from the StepTimingCalculator?
I guess I am leaning more towards "bulletproof" settings than "performance" settings.
Any recommendations would be appreciated.
Thanks
Rick
Should I just leave the Base_period at the high number?
And should I use the other settings from the StepConfig Wizard, or from the StepTimingCalculator?
I guess I am leaning more towards "bulletproof" settings than "performance" settings.
Any recommendations would be appreciated.
Thanks
Rick
Please Log in or Create an account to join the conversation.
02 Sep 2012 23:31 #23849
by BigJohnT
Replied by BigJohnT on topic Re:Setting for Gecko 210X
I would use the "bulletresistant" settings from the Stepconf Wizard.
John
John
Please Log in or Create an account to join the conversation.
04 Sep 2012 09:43 #23876
by andypugh
Replied by andypugh on topic Re:Setting for Gecko 210X
BigJohnT wrote:
I think that Stepconf might be misguided.
Surely there is the thread "granularity" problem if the base period is set just short enough, and going much shorter will give better speed resolution at high speeds?
I would use the "bulletresistant" settings from the Stepconf Wizard.
I think that Stepconf might be misguided.
Surely there is the thread "granularity" problem if the base period is set just short enough, and going much shorter will give better speed resolution at high speeds?
Please Log in or Create an account to join the conversation.
04 Sep 2012 10:35 #23877
by BigJohnT
Replied by BigJohnT on topic Re:Setting for Gecko 210X
andypugh wrote:
I wish I understood what you said and I know you have mentioned this before but the concept eludes me... can you elaborate a bit on this?
John
BigJohnT wrote:
I would use the "bulletresistant" settings from the Stepconf Wizard.
I think that Stepconf might be misguided.
Surely there is the thread "granularity" problem if the base period is set just short enough, and going much shorter will give better speed resolution at high speeds?
I wish I understood what you said and I know you have mentioned this before but the concept eludes me... can you elaborate a bit on this?
John
Please Log in or Create an account to join the conversation.
04 Sep 2012 12:05 #23880
by andypugh
Replied by andypugh on topic Re:Setting for Gecko 210X
BigJohnT wrote:
You can step at 10kHz with a 100,000nS base thread.
What's the next slower rate?
I know you have mentioned this before but the concept eludes me... can you elaborate a bit on this?
You can step at 10kHz with a 100,000nS base thread.
What's the next slower rate?
Please Log in or Create an account to join the conversation.
Time to create page: 0.134 seconds