Config - Steppers

More
27 Apr 2021 03:40 #207193 by Jeff_in_Wa
Config - Steppers was created by Jeff_in_Wa
When I used the config wizard the first time, I left 2 in the driver microstepping field. It should have been "8"

I'm using 1600 pulse/rev on the drivers, with 200/rev on the ball screws

I absolutely do not want to start all over. I have modifed my .ini file a ton to make my machine work properly

So, I went in and edited the .stepconf file, changing every line that had the 2 in it to 8. Each ?microstep entry

Saved the file, ran Linuxcnc and nothing changed.

Drawing a blank on how to fix this

Please Log in or Create an account to join the conversation.

More
27 Apr 2021 04:38 #207194 by Michael
Replied by Michael on topic Config - Steppers
Using the config tools just allows you to calculate your scale needed. You can manually enter the scale in your ini file. Scale is equal to the number of steps need to go 1 machine unit.

You need to know your micro stepping, gear ratio if using pulleys and ballscrew pitch. Based on your previous posts you had your scale at 80. Which means it would take 80 steps to go 1mm.

Please Log in or Create an account to join the conversation.

More
27 Apr 2021 04:42 #207196 by BeagleBrainz
Replied by BeagleBrainz on topic Config - Steppers
Ok the stepconf file is not used for running Linuxcnc.

You need to change the scale value for each axis in your ini file.

Info is here:
linuxcnc.org/docs/2.8/html/config/steppe...chanical_information
[JOINT_0]
AXIS = X
MIN_LIMIT = -1
MAX_LIMIT = 486
MAX_VELOCITY = 80
MAX_ACCELERATION = 360
TYPE = LINEAR
SCALE = -320 <<<<<<< this is the value that needs changing to suit your situation
STEPGEN_MAX_VEL = 160
STEPGEN_MAX_ACC = 720
FERROR = 0.0051
MIN_FERROR = 0.0025
DIRSETUP = 10000
DIRHOLD = 1000
STEPLEN = 1750
STEPSPACE = 1750
DEADBAND = 0
P = 1000
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0.00013
BIAS = 0
MAX_OUTPUT = 0
MAX_ERROR = 0.0127
HOME_USE_INDEX = False
HOME_IGNORE_LIMITS = True

The value shown is set for a 200 step per rev stepper, with a 5mm pitch ball screw & 8 microsteps. The negative value is due to the way I wired the stepper for that axis.

So hopefully that should give you the info required to fix your issue, once you know the pitch of your ballscrew.

Please Log in or Create an account to join the conversation.

More
27 Apr 2021 06:27 #207198 by Jeff_in_Wa
Replied by Jeff_in_Wa on topic Config - Steppers
So grateful...
Thanks

Please Log in or Create an account to join the conversation.

More
27 Apr 2021 17:44 #207247 by Jeff_in_Wa
Replied by Jeff_in_Wa on topic Config - Steppers
Thank you both! Did the math from the link you gave me, and my machine is working great!
What a difference knowing what ones doing makes :)

Grateful for people to help

Please Log in or Create an account to join the conversation.

Time to create page: 0.694 seconds
Powered by Kunena Forum