Closed jvojvodi closed 1 year ago
Hi @jvojvodi,
#define ENCODER_STEPS 600.0
and doesn't need to be changed.#define MOTOR_STEPS 200.0
- if you end up using 800 steps, change that to #define MOTOR_STEPS 800.0
#define LEAD_SCREW_DU 20000.0
- your leadscrew pitch is 2.5mm so change it to #define LEAD_SCREW_DU 25000.0
Yes, now I understand where my problem is.
The encoder is in a ratio of 2:1 (48 teeth shaft : 24 teeth encoder). does that mean line 6 in h2 should be 300?
I will try with DIP 800, if it doesn't work, substitute for V4.0
In any case, I am very grateful for the reply
Greeting
The encoder is in a ratio of 2:1 (48 teeth shaft : 24 teeth encoder). does that mean line 6 in h2 should be 300?
For one turn of the shaft you'd have 2x impulses generated so use #define ENCODER_STEPS 1200.0
. You can then enable displaying of angle on screen and check than turning the spindle by hand 1 turn results in angle changing by 360 degrees to it's start value.
Good luck!
Tx
Hi I put all the components together and it seems to work. But as a beginner I have a problem with setting up hardware and software. Which lines of code should be aligned and to which values and how to set the DIP switches on the stepper driver. The stepper is directly connected to the leading spindle with a pitch of 2.5 mm. Equipment specification attached.
Thanking you in advance.
Equipment for ELS.pdf