# Max Velocity and Max Acceloration ?

24 Sep 2021 06:46 #221487
Hi . I new for LinuxCNC. I have stepper motor 1.8 degress . I use driver motor TB6600 is 1/8 and screw pitch is 2 mm. I know step per mm is 400 step/mm. I connect LinuxcNC with emcarduino. But I have a problem .
1. StepConf Wizard ( Page  Bace Information ) it don't have list driver TB6600. So I use to Other , my setting true or false ?

Step Time = 5000 ns
Step Space = 5000 ns
Direction Hold = 20000 ns
Direction Setup = 20000 ns

2. StepConf Wizard ( page Axis X,Y,Z ) it want Maximum Velocity (in/s) and Maximum Acceloration (in/s2) . Where are max Velocity and Acceloration ?

3. This is Question for EMC2Arduino . In code EMC2Arduino version emcarduino_07b.ino .

#define minStepTime 25 //delay in MICROseconds between step pulses.

From my stepping motor , I should fix in code EMC2Arduino ?
Help me , please

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

24 Sep 2021 18:25 #221514 by PhilipME
Is it 400 step/mm or 800 step/mm

One revolution will consume 8X200=1600 microsteps

if we divide that by 2mm we get 800 not 400

I also not clear when you say where are max velocity and max acceleration.

you determine those limits by keep increasing the velocity under some load until the motor start to skip steps.

I am also a beginner so do not take my answer for granted.
The following user(s) said Thank You: tommylight, Kasem1979

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

25 Sep 2021 01:12 #221525

360/1.8 = 200 step/Revolve
TB6600 is 1/8 = 200/(1/8) = 1600 step/rev
Ball screw has pitch 2 mm. = 1/2 = 0.5 (run 1 mm.)

So 1600 x 0.5 = 800 step per mm.

Sorry. I miscalculated. Thank you PhilipME

I look a document stepper configuration wizard ( linuxcnc.org/docs/html/config/stepconf.html ) . It say maximum velociry and maximum acceleration want test only on wizard. But I can't to connect EMC2Arduino (HAL) on page stepper configuration wizard for test stepper motor. Or I should to config in file .hal after config wizard ?

Thank you

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

25 Sep 2021 08:56 #221537
Velocity and acceleration are set in the .ini file for each joint and each axis from LinuxCNC 2.8 and up, so two entries for each axis.

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

Time to create page: 0.104 seconds