Welcome to Our Community

Some features disabled for guests. Register Today.

NEMA 23 motor only moving in one direction

Discussion in 'Motors' started by Lauren85, Mar 20, 2023.

  1. Lauren85

    Lauren85 New
    Builder

    Joined:
    Sep 29, 2020
    Messages:
    29
    Likes Received:
    4
    On Friday I resolved a loose connection on the nema23 which resulted in the motors only running in one direction by confirming the coils had solid connections. The motors work correctly for 2 hours before I left for the day.

    Today, Monday, I power on my system with x32 and again the nema motors that I thought I resolved on Friday continue to run in one direction. This happened after I downloaded the latest revision of firmware v1.0.363 (Friday was v1.0.362). The update information indicates that this shouldn't be the case. I have reconfirmed the connections and coils are connected correctly and that the circuit is complete. Is there something else I am missing as to why they would work and then not?


    [16:16:08] [ connect ] Detecting Firmware: Method 2 (Ctrl+X)

    [16:16:08] [ ] GrblHAL 1.1f ['$' or '$HELP' for help]

    [16:16:10] [ $$ ] $0=10.0 ;Step pulse time, microseconds

    [16:16:10] [ $$ ] $1=255 ;Step idle delay, milliseconds

    [16:16:10] [ $$ ] $2=0 ;Step pulse invert, mask

    [16:16:10] [ $$ ] $3=0 ;Step direction invert, mask

    [16:16:10] [ $$ ] $4=0 ;Invert step enable pin, boolean

    [16:16:10] [ $$ ] $5=7 ;Invert limit pins, boolean/mask

    [16:16:10] [ $$ ] $6=1 ;Invert probe pin, boolean

    [16:16:10] [ $$ ] $7=0 ;Disable spindle with 0 speed, boolean

    [16:16:10] [ $$ ] $8=0 ;Ganged axes direction invert as bitfield

    [16:16:10] [ $$ ] $10=511 ;Status report options, mask

    [16:16:10] [ $$ ] $11=0.010 ;Junction deviation, millimeters

    [16:16:10] [ $$ ] $12=0.002 ;Arc tolerance, millimeters

    [16:16:10] [ $$ ] $13=0 ;Report in inches, boolean

    [16:16:10] [ $$ ] $14=0 ;Limit pins invert, mask

    [16:16:10] [ $$ ] $15=0 ;Coolant pins invert, mask

    [16:16:10] [ $$ ] $16=0 ;Spindle pins invert, mask

    [16:16:10] [ $$ ] $17=0 ;Control pins pullup disable, mask

    [16:16:10] [ $$ ] $18=0 ;Limit pins pullup disable, mask

    [16:16:10] [ $$ ] $19=0 ;Probe pin pullup disable, boolean

    [16:16:10] [ $$ ] $20=0 ;Soft limits enable, boolean

    [16:16:10] [ $$ ] $21=0 ;Hard limits enable, boolean

    [16:16:10] [ $$ ] $22=0 ;Homing cycle enable, boolean (Grbl) / mask (GrblHAL)

    [16:16:10] [ $$ ] $23=1 ;Homing direction invert, mask

    [16:16:10] [ $$ ] $24=2000.0 ;Homing locate feed rate, mm/min

    [16:16:10] [ $$ ] $25=1000.0 ;Homing search seek rate, mm/min

    [16:16:10] [ $$ ] $26=250 ;Homing switch debounce delay, milliseconds

    [16:16:10] [ $$ ] $27=5.000 ;Homing switch pull-off distance, millimeters

    [16:16:10] [ $$ ] $28=0.100 ;G73 retract distance, in mm

    [16:16:10] [ $$ ] $29=0.0 ;Step pulse delay (ms)

    [16:16:10] [ $$ ] $30=1000.000 ;Maximum spindle speed, RPM

    [16:16:10] [ $$ ] $31=0.000 ;Minimum spindle speed, RPM

    [16:16:10] [ $$ ] $32=0 ;Laser-mode enable, boolean

    [16:16:10] [ $$ ] $33=5000.0 ;Spindle PWM frequency

    [16:16:10] [ $$ ] $34=0.0 ;Spindle off Value

    [16:16:10] [ $$ ] $35=0.0 ;Spindle min value

    [16:16:10] [ $$ ] $36=100.0 ;Spindle max value

    [16:16:10] [ $$ ] $37=0 ;Stepper deenergize mask

    [16:16:10] [ $$ ] $39=1 ;Enable printable realtime command characters, boolean

    [16:16:10] [ $$ ] $40=0 ;Apply soft limits for jog commands, boolean

    [16:16:10] [ $$ ] $43=1 ;Homing passes

    [16:16:10] [ $$ ] $44=4 ;Homing cycle 1

    [16:16:10] [ $$ ] $45=3 ;Homing cycle 2

    [16:16:10] [ $$ ] $46=0 ;Homing cycle 3

    [16:16:10] [ $$ ] $62=0 ;Sleep Enable

    [16:16:10] [ $$ ] $63=2 ;Feed Hold Actions

    [16:16:10] [ $$ ] $64=0 ;Force Init Alarm

    [16:16:10] [ $$ ] $65=0 ;Require homing sequence to be executed at startup

    [16:16:10] [ $$ ] $70=7 ;Network Services

    [16:16:10] [ $$ ] $73=1 ;Wifi Mode

    [16:16:10] [ $$ ] $74= ;Wifi network SSID

    [16:16:10] [ $$ ] $75= ;Wifi network PSK

    [16:16:10] [ $$ ] $100=199.100 ;X-axis steps per millimeter

    [16:16:10] [ $$ ] $101=199.100 ;Y-axis steps per millimeter

    [16:16:10] [ $$ ] $102=199.100 ;Z-axis steps per millimeter

    [16:16:10] [ $$ ] $110=1000.000 ;X-axis maximum rate, mm/min

    [16:16:10] [ $$ ] $111=1000.000 ;Y-axis maximum rate, mm/min

    [16:16:10] [ $$ ] $112=1000.000 ;Z-axis maximum rate, mm/min

    [16:16:10] [ $$ ] $120=100.000 ;X-axis acceleration, mm/sec^2

    [16:16:10] [ $$ ] $121=100.000 ;Y-axis acceleration, mm/sec^2

    [16:16:10] [ $$ ] $122=100.000 ;Z-axis acceleration, mm/sec^2

    [16:16:10] [ $$ ] $130=270.000 ;X-axis maximum travel, millimeters

    [16:16:10] [ $$ ] $131=270.000 ;Y-axis maximum travel, millimeters

    [16:16:10] [ $$ ] $132=80.000 ;Z-axis maximum travel, millimeters

    [16:16:10] [ $$ ] $300=Grbl ;Hostname

    [16:16:10] [ $$ ] $302=192.168.5.1 ;IP Address

    [16:16:10] [ $$ ] $303=192.168.5.1 ;Gateway

    [16:16:10] [ $$ ] $304=255.255.255.0 ;Netmask

    [16:16:10] [ $$ ] $305=23 ;Telnet Port

    [16:16:10] [ $$ ] $306=80 ;HTTP Port

    [16:16:10] [ $$ ] $307=81 ;Websocket Port

    [16:16:10] [ $$ ] $341=0 ;Tool Change Mode

    [16:16:10] [ $$ ] $342=30.0 ;Tool Change probing distance

    [16:16:10] [ $$ ] $343=25.0 ;Tool Change Locate Feed rate

    [16:16:10] [ $$ ] $344=200.0 ;Tool Change Search Seek rate

    [16:16:10] [ $$ ] $345=100.0 ;Tool Change Probe Pull Off rate

    [16:16:10] [ $$ ] $370=0 ;Invert I/O Port Inputs (mask)

    [16:16:10] [ $$ ] $384=0 ;Disable G92 Persistence

    [16:16:10] [ $$ ] ok

    [16:16:10] [ $I ] [VER:1.1f.20220325:cbeam]

    [16:16:10] [ $I ] [OPT:VNSL2,35,1024,3,0]

    [16:16:10] [ $I ] [NEWOPT:ENUMS,RT+,TC,SED,WIFI,SD]

    [16:16:10] [ $I ] [FIRMWARE:grblHAL]

    [16:16:10] [ $I ] [NVS STORAGE:*FLASH]

    [16:16:10] [ $I ] [DRIVER:ESP32]

    [16:16:10] [ $I ] [DRIVER VERSION:220327]

    [16:16:10] [ $I ] [DRIVER OPTIONS:v4.3.2-555-gb4ef1b80a2-dirty]

    [16:16:10] [ $I ] [BOARD:BlackBox X32]

    [16:16:10] [ $I ] [AUX IO:1,0,0,0]

    [16:16:10] [ $I ] [WIFI MAC:94:B5:55:0A:96:98]

    [16:16:10] [ $I ] [IP:0.0.0.0]

    [16:16:10] [ $I ] [PLUGIN:SDCARD v1.05]

    [16:16:10] [ $I ] [PLUGIN:ESP32 WebUI v0.03]

    [16:16:10] [ $I ] ok




    The information it provides when I ask it to move the problem axis:
    [16:16:16] [ $J=G91G21Z1F990 ] ok

    [16:16:16] [ $G ] [GC:G0 G54 G17 G21 G90 G94 G49 G98 G50 M5 M9 T0 F0 S0.]

    [16:16:16] [ $G ] ok

    [16:16:19] [ $J=G91G21Z1F990 ] ok

    [16:16:19] [ $G ] [GC:G0 G54 G17 G21 G90 G94 G49 G98 G50 M5 M9 T0 F0 S0.]

    [16:16:19] [ $G ] ok

    [16:16:20] [ $J=G91G21Z1F990 ] ok

    [16:16:20] [ $G ] [GC:G0 G54 G17 G21 G90 G94 G49 G98 G50 M5 M9 T0 F0 S0.]

    [16:16:20] [ $G ] ok

    [16:16:20] [ $J=G91G21Z1F990 ] ok

    [16:16:20] [ $G ] [GC:G0 G54 G17 G21 G90 G94 G49 G98 G50 M5 M9 T0 F0 S0.]

    [16:16:20] [ $G ] ok

    [16:16:21] [ $J=G91G21Z1F990 ] ok

    [16:16:21] [ $G ] [GC:G0 G54 G17 G21 G90 G94 G49 G98 G50 M5 M9 T0 F0 S0.]

    [16:16:21] [ $G ] ok

    [16:16:22] [ $J=G91G21Z1F990 ] ok

    [16:16:22] [ $G ] [GC:G0 G54 G17 G21 G90 G94 G49 G98 G50 M5 M9 T0 F0 S0.]

    [16:16:22] [ $G ] ok

    [16:16:22] [ $J=G91G21Z1F990 ] ok

    [16:16:22] [ $G ] [GC:G0 G54 G17 G21 G90 G94 G49 G98 G50 M5 M9 T0 F0 S0.]

    [16:16:22] [ $G ] ok

    [16:16:23] [ $J=G91G21Z1F990 ] ok

    [16:16:23] [ $G ] [GC:G0 G54 G17 G21 G90 G94 G49 G98 G50 M5 M9 T0 F0 S0.]

    [16:16:23] [ $G ] ok

    [16:16:27] [ $J=G91G21Z1F990 ] ok

    [16:16:27] [ $G ] [GC:G0 G54 G17 G21 G90 G94 G49 G98 G50 M5 M9 T0 F0 S0.]

    [16:16:27] [ $G ] ok

    [16:16:28] [ $J=G91G21Z1F990 ] ok

    [16:16:28] [ $G ] [GC:G0 G54 G17 G21 G90 G94 G49 G98 G50 M5 M9 T0 F0 S0.]

    [16:16:28] [ $G ] ok
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,754
    Likes Received:
    4,070
    When it moves, does it move perfectly smoothly or is it more like a shaky, powerless move?
     
  3. Lauren85

    Lauren85 New
    Builder

    Joined:
    Sep 29, 2020
    Messages:
    29
    Likes Received:
    4
    When it fails to move up, it does a quarter turn down. When it moves down, it's smoother.
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,754
    Likes Received:
    4,070
  5. Lauren85

    Lauren85 New
    Builder

    Joined:
    Sep 29, 2020
    Messages:
    29
    Likes Received:
    4
    I identified motor coils and confirmed continuity at both the motors and right before entry into the black box x32. I confirmed the grubscrews on the shaft coupler are secure
     
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,754
    Likes Received:
    4,070
    Disconnect the motor from the machine (mechanically) and test it on the desk - to eliminate mechanical binding etc please?
     
  7. Lauren85

    Lauren85 New
    Builder

    Joined:
    Sep 29, 2020
    Messages:
    29
    Likes Received:
    4
    I tested on desk, off of the machine, motors move as expected. Re-attached motors to the system and they still only wanted to move in one direction. I tested to see if I could spin by hand, and I was able to move both motors with my hand when they were powered on. The screw is moving as well so no slipage at shaft locations.
     
  8. Lauren85

    Lauren85 New
    Builder

    Joined:
    Sep 29, 2020
    Messages:
    29
    Likes Received:
    4
    Would increasing the voltage to the motors stop the shaft movement when attempted by hand and when the motors are powered on?
     
  9. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,754
    Likes Received:
    4,070
    1) Never spin motors by hand while connected to a controller. They act like generators and backfeed the controller, which will damage your stepper drivers
    2) If its lacking power
    - Incorrect motor electrical specs (Are they our motors or 3rd party?)
    - Wiring (docs:blackbox-x32:faq-identify-motor-coils [OpenBuilds Documentation])
    - Current set way too low (On a BlackBox factory default is perfect, even turning it down all the way (1.2A) it would not be particularly weak, but see docs:blackbox-x32:currentadjustment [OpenBuilds Documentation] - too high and it will Overheat and Fault
    - PSU issue (not providing enough voltage or current) - it it our Meanwell PSU?
     
  10. Lauren85

    Lauren85 New
    Builder

    Joined:
    Sep 29, 2020
    Messages:
    29
    Likes Received:
    4
    Motors have been wired correctly, motors are OpenBuilds, PSU is Openbuilds and wired correctly.
    I tried turning the current up and it gave me a blackbox warning. I turned current all the way down and then up a 1/4 turn and that seemed to resolve the issue with the motors yesterday.
     
    Peter Van Der Walt likes this.
  11. Lauren85

    Lauren85 New
    Builder

    Joined:
    Sep 29, 2020
    Messages:
    29
    Likes Received:
    4
    Bench testing stop switches today to determine if they all somehow failed/shorted at once
     
  12. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,754
    Likes Received:
    4,070
    Also check that you have $5=7 in Grbl Settings (For the X32 with our Xtension Limits) to ensure inversion is set correctly (as set by our profiles)
     

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