Hy-div268n-5a motored driver calibration
17 Nov 2021 08:23 #226707
by carl254
Hy-div268n-5a motored driver calibration was created by carl254
I am relatively new in dealing with LinuxCNC.
I am modifying a Triac P.C cnc machine to use for welding. There are three 34hs, 3.1 Ampere bipolar stepper motor drivers which are used for themovement in the X, Y, and Z axes. I am using the HY-DIV268N-5A for driving the X and Y stepper motors. These stepper motor drivers are fitted with the TB6600 pulse generator. For the Z axis, we are using MicrostepDriver.
All axis are moving okay, however when the distance moved is not accurate with the one set in the code. I was told I need to calibrate the drivers but I'm not sure how to do it. In my LinuxCNC calibration menu I currently have the following values;
DIRSETUP 10000
DIRHOLD 10000
STEPLEN 5000
STEPSPACE 5000
STEP_SCALE 200
How should they be to give accurate movement as per the code
Regards
Carlos
I am modifying a Triac P.C cnc machine to use for welding. There are three 34hs, 3.1 Ampere bipolar stepper motor drivers which are used for themovement in the X, Y, and Z axes. I am using the HY-DIV268N-5A for driving the X and Y stepper motors. These stepper motor drivers are fitted with the TB6600 pulse generator. For the Z axis, we are using MicrostepDriver.
All axis are moving okay, however when the distance moved is not accurate with the one set in the code. I was told I need to calibrate the drivers but I'm not sure how to do it. In my LinuxCNC calibration menu I currently have the following values;
DIRSETUP 10000
DIRHOLD 10000
STEPLEN 5000
STEPSPACE 5000
STEP_SCALE 200
How should they be to give accurate movement as per the code
Regards
Carlos
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19011
- Thank you received: 6371
17 Nov 2021 10:35 #226725
by tommylight
Replied by tommylight on topic Hy-div268n-5a motored driver calibration
Those are timings, you need to set the scale depending on the motion type, microstepping, gear ratio, etc.
For that use the "calibration" menu found on most GUI's, change the "scale".
For that use the "calibration" menu found on most GUI's, change the "scale".
Please Log in or Create an account to join the conversation.
17 Nov 2021 10:55 #226728
by carl254
Replied by carl254 on topic Hy-div268n-5a motored driver calibration
Hello Tommy,
I can access the calibration menu on the GUI. The issue is to what level do I adjust the scale so that it will correspond to the values in the g codes.
I can access the calibration menu on the GUI. The issue is to what level do I adjust the scale so that it will correspond to the values in the g codes.
Please Log in or Create an account to join the conversation.
17 Nov 2021 15:57 - 17 Nov 2021 15:59 #226752
by andypugh
Replied by andypugh on topic Hy-div268n-5a motored driver calibration
This depends on the motor steps-per-rev, the microstepping ratio and the ballscrew pitch.
To take an example of a 200 steps motor at 4 x microstepping and a 2.5mm pitch ballscrew:
200 x 4 = 800 steps per rev
one rev = 2.5 mm
SCALE = 800 / 2.5 = 320 steps per mm.
For an imperial machine you would get a different value, 8128 steps / inch.
To take an example of a 200 steps motor at 4 x microstepping and a 2.5mm pitch ballscrew:
200 x 4 = 800 steps per rev
one rev = 2.5 mm
SCALE = 800 / 2.5 = 320 steps per mm.
For an imperial machine you would get a different value, 8128 steps / inch.
Last edit: 17 Nov 2021 15:59 by andypugh.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19011
- Thank you received: 6371
17 Nov 2021 17:25 #226766
by tommylight
Replied by tommylight on topic Hy-div268n-5a motored driver calibration
Sorry, i missed this.
Please Log in or Create an account to join the conversation.
Moderators: piasdom
Time to create page: 0.652 seconds