micro stepping issue
- gaeldk
- Offline
- Senior Member
-
- Posts: 58
- Thank you received: 1
Sorry for the double post but I have first posted my topic in stepconf wizard and it might not be the right place.... since the problem comes "after" stepconf wizard.
I have a weird problem... I had a stepper which was not working very well and giving a lot of "bumps" the bumps propagating to the entire machine and giving vibrations which nearly made it impossible to mill.
The driver (leadshine MA860H) was set up to run with 8 micro steps for this axis and by increasing to 16 (both on the driver and in stepconf wizard) what a surprise it runs smoothly and perfectly at full speed with a perfect smooth noise while tested within stepconf wizard... (linuxcnc 2.7.4) Joy joy joy
BUT it only does so under stepconf wizard when I run normaly under axis it behaves like it did before so the bumps are there again (i.e. like when I used 8 micro steps...) ... It seems the driver is not giving the double amount of steps...
why oh why ? Why does it behave differently under axis than under stepconf wizard ?
Many thanks in advance for the help you can provide.
for info the base period on the linuxcnc pc is 15000.
Please Log in or Create an account to join the conversation.
- geoffs
- Offline
- Senior Member
-
- Posts: 41
- Thank you received: 6
Perhaps if you can attach your .ini file.
Please Log in or Create an account to join the conversation.
- gaeldk
- Offline
- Senior Member
-
- Posts: 58
- Thank you received: 1
Many thanks for your quick answer.
Well I did not touch anything I did let stepconf wizzard generate the .ini
Here is what was generated.
By the looks of it each axis has the same scale, which is strange since the Z axis (axis_2) still is configured to be with 8 micro steps...
Please Log in or Create an account to join the conversation.
- geoffs
- Offline
- Senior Member
-
- Posts: 41
- Thank you received: 6
Please Log in or Create an account to join the conversation.
- cncbasher
- Offline
- Moderator
-
- Posts: 1744
- Thank you received: 288
stepconf is only meant for a quick get you started situation , after that learn Hal and hand edit your hal and ini files .
Please Log in or Create an account to join the conversation.
- gaeldk
- Offline
- Senior Member
-
- Posts: 58
- Thank you received: 1

Strange because the ini file was generated from scratch, I started from a blank conf...
So it looks like I have to change the INI file manually...
what should I set the scale to for a 16 micro steps drive and 1.8 degres per step so basically 3200 micro steps per revolution ?
Please Log in or Create an account to join the conversation.
- gaeldk
- Offline
- Senior Member
-
- Posts: 58
- Thank you received: 1
Here is how the INI files looks like for my Y axis
[AXIS_1]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 85.5005472035
MAX_ACCELERATION = 200.0
STEPGEN_MAXACCEL = 250.0
SCALE = 320.0
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = -0.001
MAX_LIMIT = 1200.0
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = 1.500000
HOME_LATCH_VEL = 1.500000
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 2
Please Log in or Create an account to join the conversation.
- gaeldk
- Offline
- Senior Member
-
- Posts: 58
- Thank you received: 1
Is there anything under axis that limits the micro stepping that linuxcnc can generate ? Should all drivers have the same micro stepping or can it support a different micro stepping per driver ?
Please Log in or Create an account to join the conversation.
- Rick G
-
- Offline
- Junior Member
-
- Posts: 26
- Thank you received: 155
As shown here with a formula.
linuxcnc.org/docs/2.4/html/config_ini_config.html
Have you checked that the scale is correct and that a g code move of say 10 results in a machine move of 10 units?what I don't get is that 320 should be the right setting for the SCALE value when running 16 micro steps and 200 steps per rev...
Machine units can be inch or mm.
Is there anything under axis that limits the micro stepping that linuxcnc can generate ? Should all drivers have the same micro stepping or can it support a different micro stepping per driver ?
The steps generation is not limited by Axis but by your hardware. The micro stepping can be different for each axis.
Rick G
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23262
- Thank you received: 4927
Any input ? i really need to get this machine working tomorrow monday and it is so frustrating to see it work perfectly under stepconf wizzard and vibrate when used under axis...
Are you absolutely sure that you are starting the new config and not the old config?
Please Log in or Create an account to join the conversation.