Welcome to Our Community

Some features disabled for guests. Register Today.

Stepper motor issue - gCode 1 step cw, 1 step ccw no movement

Discussion in 'Laser Cutters' started by Adam3109, Mar 3, 2024.

  1. Adam3109

    Adam3109 New
    Builder

    Joined:
    Nov 29, 2023
    Messages:
    12
    Likes Received:
    3
    My stepper motor is having issues. I can jog it and it moves with occasional "jitter", but when I load gCode program the motor moves 1 step cw then 1 step ccw throughout the move command for that axis and so does not actually move. Is this a wiring issue? I have checked all connections - but have not run a continuity check. Anyone else come across this issue before?
     
  2. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,008
    Likes Received:
    1,676
    It is a wiring issue. Either you have a short, lose wire, or your stepper coils are not matched. docs:blackbox-4x:faq-identify-motor-coils [OpenBuilds Documentation]
     
  3. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,291
    Also check Grbl Settings (welcome to post a backup for review)
     
  4. Adam3109

    Adam3109 New
    Builder

    Joined:
    Nov 29, 2023
    Messages:
    12
    Likes Received:
    3
    GRBL Setting backup (Plasma cutter - 3 axis)

    $0=10 ; Step pulse time, microseconds
    $1=255 ; Step idle delay, milliseconds
    $2=0 ; Step pulse invert, mask
    $3=0 ; Step direction invert, mask
    $4=1 ; Invert step enable pin, boolean
    $5=0 ; Invert limit pins, boolean/mask
    $6=0 ; Invert probe pin, boolean
    $10=1 ; Status report options, mask
    $11=0.020 ; Junction deviation, millimeters
    $12=0.002 ; Arc tolerance, millimeters
    $13=0 ; Report in inches, boolean
    $20=0 ; Soft limits enable, boolean
    $21=0 ; Hard limits enable, boolean
    $22=0 ; Homing cycle enable, boolean (Grbl) / mask (GrblHAL)
    $23=7 ; Homing direction invert, mask
    $24=25.000 ; Homing locate feed rate, mm/min
    $25=1000.000 ; Homing search seek rate, mm/min
    $26=250 ; Homing switch debounce delay, milliseconds
    $27=5.000 ; Homing switch pull-off distance, millimeters
    $30=1000 ; Maximum spindle speed, RPM
    $31=0 ; Minimum spindle speed, RPM
    $32=0 ; Laser-mode enable, boolean
    $100=40.000 ; X-axis steps per millimeter
    $101=10.000 ; Y-axis steps per millimeter
    $102=200.000 ; Z-axis steps per millimeter
    $110=5000.000 ; X-axis maximum rate, mm/min
    $111=5000.000 ; Y-axis maximum rate, mm/min
    $112=2000.000 ; Z-axis maximum rate, mm/min
    $120=1000.000 ; X-axis acceleration, mm/sec^2
    $121=1000.000 ; Y-axis acceleration, mm/sec^2
    $122=1000.000 ; Z-axis acceleration, mm/sec^2
    $130=1000.000 ; X-axis maximum travel, millimeters
    $131=1000.000 ; Y-axis maximum travel, millimeters
    $132=100.000 ; Z-axis maximum travel, millimeters
    $I=custom
     
  5. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,291
  6. Adam3109

    Adam3109 New
    Builder

    Joined:
    Nov 29, 2023
    Messages:
    12
    Likes Received:
    3
    Checked the continuity, and both coils wired and connected to the DM556 driver correctly, which makes sense as this axis worked fine until I connected the Z-Axis. Is there a chance the DM556 driver is the issue and how do I check. I have noticed the stepper motor is weaker, I use a belt drive and if you hit stall previously the stepper motor gear could skip the teeth on the belt rather than just stop, it no longer has the strength to do this.
     
  7. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,917
    Likes Received:
    4,291
    Can't comment on 3rd party drivers, but unless you changed the DIP switches, that might be it
     
  8. Adam3109

    Adam3109 New
    Builder

    Joined:
    Nov 29, 2023
    Messages:
    12
    Likes Received:
    3
    Hi Peter
    Fitted a new driver on the weekend and motion is perfect now thanks for helpful suggestions. I have also reduced the acceleration and motor sound and operation seems much smoother - will test cutting this weekend.
     
    Peter Van Der Walt likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice