585,660 active members*
3,456 visitors online*
Register for free
Login
IndustryArena Forum > OpenSource CNC Design Center > Arduino > HELP - Stepper motors with low time between steps
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2021
    Posts
    2

    Question HELP - Stepper motors with low time between steps

    Hello everyone,
    My name is German, I am a teacher at a technical school, and I am restoring a cnc milling cutter from the 90/00s.

    The electronics are obsolete, as well as the control software, since the PCs to use it no longer exist. Therefore, I decided to implement a control through Arduino with CNC Shield v3, using GRBL v1.1 as firmware and Universal Gcode sender for control.

    The stepper motors are LIN Engineering model 5718M-05D-01 of 2.0A, and they work perfectly individually controlled, with a time between steps of 3 ms.
    And here my problem, the GRBL does not allow me times between steps greater than 255 us.

    My query then is:
    Does anyone know if it's possible to change these microseconds to millis? if so, how?
    Do you know of any other firmware that I can use that allows me to work with intervals close to these 3 ms that I require?

    Thank you very much for your help, my students and the school will appreciate it.

  2. #2
    Join Date
    Mar 2015
    Posts
    409

    Re: HELP - Stepper motors with low time between steps

    The max step frequentie on a grbl uno controller is 33kHz. To be safe, I don't go faster than 10kHz. I am not sure about the slowest speed, but 1Hz should not be a problem.

    You need to setup the grbl controller
    $0 the minimum step pulse time
    Set it to 10 us to be safe

    $100, $101, $102 steps/mm (travel resolution)
    This depends on the pitch of you spindels, stepper configuration and gear ratio

    $110, $111, $112 the max rate
    Keep this value as low as possible. Slower speeds results in lesser damage when things go wrong.
    The max value depends on how fast your steppers can run under load.
    $120, $121, $122 the accelleration
    Keep this value as low as possible. When all is working properly you can increase this value until you start losing steps. Than reduce it by 50%

    For more information, GRBL has a great WiKi https://github.com/gnea/grbl/wiki

  3. #3
    Join Date
    Oct 2021
    Posts
    2

    Re: HELP - Stepper motors with low time between steps

    The problem was solved by setting parameters 110, 111 and 112. I understand that by limiting the speed, the interval between the steps is kept sufficiently spaced.

    Thank you very much for your reply.

  4. #4
    Join Date
    Mar 2015
    Posts
    409

    Re: HELP - Stepper motors with low time between steps

    German,

    Great to hear it is working and thanks for the feedback.

    Huub

Similar Threads

  1. The right voltage for my Stepper Motors in order not to lose steps
    By johnansaro in forum Stepper Motors / Drives
    Replies: 9
    Last Post: 12-11-2017, 08:29 PM
  2. Chinese stepper motors, how many steps?
    By canman77 in forum Stepper Motors / Drives
    Replies: 25
    Last Post: 11-17-2016, 01:30 AM
  3. losing steps on stepper motors
    By darylk0208 in forum Mach Software (ArtSoft software)
    Replies: 2
    Last Post: 07-05-2016, 11:00 PM
  4. Stepper Motors clunking....loosing steps
    By JrandolphB in forum Stepper Motors / Drives
    Replies: 6
    Last Post: 04-23-2015, 10:00 PM
  5. HELP Lost steps with stepper motors
    By Dale gribble in forum Mach Software (ArtSoft software)
    Replies: 8
    Last Post: 11-13-2011, 07:58 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •