- Posts: 17
- Thank you received: 1
Forum Header
I do not find "base period" or "motor steps per rev" in my .ini File
- Roman Simon
- Topic Author
- Offline
- New Member
-
Less
More
5 years 4 months ago #212471
by Roman Simon
Hello,
I just started with the Stepper Configuration Wizard and looked after this in the .ini File
For example, I typed in "base period" 35000 and the generated ini file contains only
"BASE_PERIOD = 100000". Or I cant find "motor steps per rev" (200) or "microstepping" (2) here,
or in other generated files.
My systems works fine (so far), but I would like to know how these things work together.
Thanks & Best Regards
Roman
I just started with the Stepper Configuration Wizard and looked after this in the .ini File
For example, I typed in "base period" 35000 and the generated ini file contains only
"BASE_PERIOD = 100000". Or I cant find "motor steps per rev" (200) or "microstepping" (2) here,
or in other generated files.
My systems works fine (so far), but I would like to know how these things work together.
Thanks & Best Regards
Roman
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- New Member
-
Less
More
- Thank you received: 0
5 years 4 months ago - 5 years 4 months ago #212476
by BeagleBrainz
Replied by BeagleBrainz on topic I do not find "base period" or "motor steps per rev" in my .ini File
It's the SCALE parameter you're looking for.
That's how many steps per millimeter or inch.
Say for instance you have a 5mm pitch leads screw, with 200 steps per rev & 8 micro steps.
scale = STEPS_PER_REV * MICRO_STEPS / LEADSCREW_PICT
= 200*8/5
= 1600/5
= 320
Stepconf asks you for base period max jitter, then calculates the actual base period based on the figure you put in for the jitter. If you open up stepconf and reread the Base Information page you'll see what I mean.
That's how many steps per millimeter or inch.
Say for instance you have a 5mm pitch leads screw, with 200 steps per rev & 8 micro steps.
scale = STEPS_PER_REV * MICRO_STEPS / LEADSCREW_PICT
= 200*8/5
= 1600/5
= 320
Stepconf asks you for base period max jitter, then calculates the actual base period based on the figure you put in for the jitter. If you open up stepconf and reread the Base Information page you'll see what I mean.
Last edit: 5 years 4 months ago by BeagleBrainz.
Please Log in or Create an account to join the conversation.
- Roman Simon
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 1
5 years 4 months ago #212485
by Roman Simon
Replied by Roman Simon on topic I do not find "base period" or "motor steps per rev" in my .ini File
Thank you, know I understand scale. But BASE_PERIOD do not seems to work proper here.
When I enter "Base Period Max Jitter" 35.000, "Min Base Period" is calculated in the info down there as 50.000. But *.ini is written with 100.000
When I enter 50.000, "Min Base Period" is calculated 65.000 but *.ini is still 100.000.
I use this the RTAI Version
linuxcnc.org/docs/2.8/html/getting-start...#cha:Installing-RTAI
No problem to correct this manually but I would like to be sure, that 50.000 is the right value
When I enter "Base Period Max Jitter" 35.000, "Min Base Period" is calculated in the info down there as 50.000. But *.ini is written with 100.000
When I enter 50.000, "Min Base Period" is calculated 65.000 but *.ini is still 100.000.
I use this the RTAI Version
linuxcnc.org/docs/2.8/html/getting-start...#cha:Installing-RTAI
No problem to correct this manually but I would like to be sure, that 50.000 is the right value
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
5 years 4 months ago #212497
by tommylight
Test with default 100000, after you are sure the motors are running properly and the scales are ok, you can edit the ini file and change that.
Replied by tommylight on topic I do not find "base period" or "motor steps per rev" in my .ini File
It might not be, cheap stepper drives use cheap optocouplers, so sending fast pulses to them results in no movement from motors, causing aggravation with users.Roman Simon wrote: No problem to correct this manually but I would like to be sure, that 50.000 is the right value
Test with default 100000, after you are sure the motors are running properly and the scales are ok, you can edit the ini file and change that.
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- New Member
-
Less
More
- Thank you received: 0
5 years 4 months ago #212501
by BeagleBrainz
Replied by BeagleBrainz on topic I do not find "base period" or "motor steps per rev" in my .ini File
Going by the docs 35000ns is about 16% over what is recommended for software stepping.
I’d be looking to reduce that via some bios tweaks to reduce that.
Have you looked in your bios and turned off any power saving and hyperthreading ? On a multi core CPU it might be an idea to use the isolcpus kernel option.
Or if it’s an older machine Wheezy might be worth a try.
I’d be looking to reduce that via some bios tweaks to reduce that.
Have you looked in your bios and turned off any power saving and hyperthreading ? On a multi core CPU it might be an idea to use the isolcpus kernel option.
Or if it’s an older machine Wheezy might be worth a try.
Please Log in or Create an account to join the conversation.
- Roman Simon
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 1
5 years 4 months ago #212511
by Roman Simon
Replied by Roman Simon on topic I do not find "base period" or "motor steps per rev" in my .ini File
hi, I tested my mini mill with 50.000 Base Period and seems to run very fine
I think the 100.000 is just a bug in the RTAI version, this value does not change, when changing "Base Period Max Jitter"... and it should
@BeagleBrainz this is the best I can achieve with my pc, its a longer story
forum.linuxcnc.org/38-general-linuxcnc-q...h-57000-good-enought
Also, I have the linuxcnc settings from the sherline factory computers
www.sherline.com/product/linuxcnc-comput...-without-driver-box/
and they use also 50.000. This should works fine with the sherline driver box.
I think the 100.000 is just a bug in the RTAI version, this value does not change, when changing "Base Period Max Jitter"... and it should
@BeagleBrainz this is the best I can achieve with my pc, its a longer story
forum.linuxcnc.org/38-general-linuxcnc-q...h-57000-good-enought
Also, I have the linuxcnc settings from the sherline factory computers
www.sherline.com/product/linuxcnc-comput...-without-driver-box/
and they use also 50.000. This should works fine with the sherline driver box.
Please Log in or Create an account to join the conversation.
Time to create page: 0.057 seconds