TinyG Makes noise but stepper doesn't move

Home Forums TinyG TinyG Support TinyG Makes noise but stepper doesn't move

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #11831
    SteveP
    Member

    Hello everyone I recently purchased a TinyG new and upon hooking it up I am not able to get one of the motors working. I have the stepper disconnected from the machine so I know it has nothing to do with the machine.

    When I move motor 4 the stepper makes noise but does not move, I noticed I can physically move the stepper with my fingers while its trying to move but then when the stepper is done moving it locks up for a couple seconds, Until it shuts off power to that motor per the setting.

    When I swap the stepper to another motor it works fine so im thinking it is the board or settings that are the issue. (Motors 1 thru 3 all work as they should) I have played with the current adjustment and have been careful to not overturn the pot.

    Full disclosure I may have have been a bit ham fisted while putting the TinyG in its case and knicked a trace with a tiny screwdriver but I just want to rule out anything else first before I go buy another one.

    Below is my $$ dump file along with the startup. I am using CNCjs if that matters.

    CNCjs 1.9.22 [TinyG]
    Connected to COM8 with a baud rate of 115200
    feeder> {ej:1}
    feeder> {jv:4}
    feeder> {qv:1}
    feeder> {sv:1}
    feeder> {si:100}
    {“r”:{“ej”:1},”f”:[1,0,7,2003]}
    {“r”:{“jv”:4},”f”:[1,0,7,7333]}
    {“r”:{“qv”:1},”f”:[1,0,7,6003]}
    {“r”:{“sv”:1},”f”:[1,0,7,9250]}
    {“r”:{“si”:100},”f”:[1,0,9,2707]}
    feeder> {spe:n}
    {“r”:{“spe”:null},”f”:[1,100,8,8836]}
    {“err”:{“code”:100,”msg”:”Unrecognized command or config name”}}
    feeder> {spd:n}
    {“r”:{“spd”:null},”f”:[1,100,8,6786]}
    {“err”:{“code”:100,”msg”:”Unrecognized command or config name”}}
    feeder> {spc:n}
    {“r”:{“spc”:null},”f”:[1,100,8,4736]}
    {“err”:{“code”:100,”msg”:”Unrecognized command or config name”}}
    feeder> {sps:n}
    {“r”:{“sps”:null},”f”:[1,100,8,704]}
    {“err”:{“code”:100,”msg”:”Unrecognized command or config name”}}
    feeder> {com:n}
    {“r”:{“com”:null},”f”:[1,100,8,2342]}
    {“err”:{“code”:100,”msg”:”Unrecognized command or config name”}}
    feeder> {cof:n}
    {“r”:{“cof”:null},”f”:[1,100,8,4826]}
    {“err”:{“code”:100,”msg”:”Unrecognized command or config name”}}
    feeder> {sr:{stat:t,line:t,vel:t,feed:t,unit:t,coor:t,momo:t,plan:t,path:t,dist:t,admo:t,frmo:t,tool:t,posx:t,posy:t,posz:t,posa:t,posb:t,posc:t,mpox:t,mpoy:t,mpoz:t,mpoa:t,mpob:t,mpoc:t}}
    feeder> {sys:n}
    feeder> {mt:n}
    feeder> {pwr:n}
    feeder> {qr:n}
    feeder> {sr:n}
    {“r”:{“sr”:{“stat”:true,”line”:true,”vel”:true,”feed”:true,”unit”:true,”coor”:true,”momo”:true,”plan”:true,”path”:true,”dist”:true,”admo”:true}},”f”:[1,100,181,722]}
    {“err”:{“code”:100,”msg”:”Unrecognized command or config name”}}
    {“r”:{“sys”:{“fb”:440.20,”fv”:0.970,”hp”:1,”hv”:8,”id”:”3Y2462-RLT”,”ja”:100000,”ct”:0.0100,”sl”:0,”st”:0,”mt”:2.00,”ej”:1,”jv”:4,”js”:1,”tv”:1,”qv”:1,”sv”:1,”si”:100,”ec”:0,”ee”:0,”ex”:1,”baud”:5,”net”:0,”gpl”:0,”gun”:1,”gco”:1,”gpa”:2,”gdi”:0}},”f”:[1,0,8,8601]}
    {“r”:{“mt”:2.00},”f”:[1,0,7,1467]}
    {“r”:{“pwr”:{“1″:0,”2″:0,”3″:0,”4″:0}},”f”:[1,0,8,9987]}
    {“r”:{“qr”:32},”f”:[1,0,7,7766]}
    {“r”:{“sr”:{“posx”:0.000,”posy”:0.000,”posz”:0.000,”posa”:0.000,”feed”:0.00,”vel”:0.00,”unit”:1,”coor”:1,”dist”:0,”frmo”:1,”stat”:1}},”f”:[1,0,7,3689]}
    > $$ dump
    [fb] firmware build 440.20
    [fv] firmware version 0.97
    [hp] hardware platform 1.00
    [hv] hardware version 8.00
    [id] TinyG ID 3Y2462-RLT
    [ja] junction acceleration 100000 mm
    [ct] chordal tolerance 0.0100 mm
    [sl] soft limit enable 0
    [st] switch type 0 [0=NO,1=NC]
    [mt] motor idle timeout 2.00 Sec
    [ej] enable json mode 0 [0=text,1=JSON]
    [jv] json verbosity 4 [0=silent,1=footer,2=messages,3=configs,4=linenum,5=verbose]
    [js] json serialize style 1 [0=relaxed,1=strict]
    [tv] text verbosity 1 [0=silent,1=verbose]
    [qv] queue report verbosity 1 [0=off,1=single,2=triple]
    [sv] status report verbosity 1 [0=off,1=filtered,2=verbose]
    [si] status interval 100 ms
    [ec] expand LF to CRLF on TX 0 [0=off,1=on]
    [ee] enable echo 0 [0=off,1=on]
    [ex] enable flow control 1 [0=off,1=XON/XOFF, 2=RTS/CTS]
    [baud] USB baud rate 5 [1=9600,2=19200,3=38400,4=57600,5=115200,6=230400]
    [net] network mode 0 [0=master]
    [gpl] default gcode plane 0 [0=G17,1=G18,2=G19]
    [gun] default gcode units mode 1 [0=G20,1=G21]
    [gco] default gcode coord system 1 [1-6 (G54-G59)]
    [gpa] default gcode path control 2 [0=G61,1=G61.1,2=G64]
    [gdi] default gcode distance mode 0 [0=G90,1=G91]
    [1ma] m1 map to axis 0 [0=X,1=Y,2=Z…]
    [1sa] m1 step angle 0.900 deg
    [1tr] m1 travel per revolution 36.5400 mm
    [1mi] m1 microsteps 8 [1,2,4,8]
    [1po] m1 polarity 1 [0=normal,1=reverse]
    [1pm] m1 power management 3 [0=disabled,1=always on,2=in cycle,3=when moving]
    [2ma] m2 map to axis 1 [0=X,1=Y,2=Z…]
    [2sa] m2 step angle 1.800 deg
    [2tr] m2 travel per revolution 36.5400 mm
    [2mi] m2 microsteps 8 [1,2,4,8]
    [2po] m2 polarity 0 [0=normal,1=reverse]
    [2pm] m2 power management 3 [0=disabled,1=always on,2=in cycle,3=when moving]
    [3ma] m3 map to axis 1 [0=X,1=Y,2=Z…]
    [3sa] m3 step angle 1.800 deg
    [3tr] m3 travel per revolution 36.5400 mm
    [3mi] m3 microsteps 8 [1,2,4,8]
    [3po] m3 polarity 1 [0=normal,1=reverse]
    [3pm] m3 power management 3 [0=disabled,1=always on,2=in cycle,3=when moving]
    [4ma] m4 map to axis 2 [0=X,1=Y,2=Z…]
    [4sa] m4 step angle 0.900 deg
    [4tr] m4 travel per revolution 1.2500 mm
    [4mi] m4 microsteps 8 [1,2,4,8]
    [4po] m4 polarity 0 [0=normal,1=reverse]
    [4pm] m4 power management 3 [0=disabled,1=always on,2=in cycle,3=when moving]
    [xam] x axis mode 1 [standard]
    [xvm] x velocity maximum 800 mm/min
    [xfr] x feedrate maximum 400 mm/min
    [xtn] x travel minimum 0.000 mm
    [xtm] x travel maximum 150.000 mm
    [xjm] x jerk maximum 20 mm/min^3 * 1 million
    [xjh] x jerk homing 40 mm/min^3 * 1 million
    [xjd] x junction deviation 0.0500 mm (larger is faster)
    [xsn] x switch min 1 [0=off,1=homing,2=limit,3=limit+homing]
    [xsx] x switch max 0 [0=off,1=homing,2=limit,3=limit+homing]
    [xsv] x search velocity 500 mm/min
    [xlv] x latch velocity 100 mm/min
    [xlb] x latch backoff 5.000 mm
    [xzb] x zero backoff 1.000 mm
    [yam] y axis mode 1 [standard]
    [yvm] y velocity maximum 800 mm/min
    [yfr] y feedrate maximum 800 mm/min
    [ytn] y travel minimum 0.000 mm
    [ytm] y travel maximum 150.000 mm
    [yjm] y jerk maximum 20 mm/min^3 * 1 million
    [yjh] y jerk homing 40 mm/min^3 * 1 million
    [yjd] y junction deviation 0.0500 mm (larger is faster)
    [ysn] y switch min 1 [0=off,1=homing,2=limit,3=limit+homing]
    [ysx] y switch max 0 [0=off,1=homing,2=limit,3=limit+homing]
    [ysv] y search velocity 500 mm/min
    [ylv] y latch velocity 100 mm/min
    [ylb] y latch backoff 5.000 mm
    [yzb] y zero backoff 1.000 mm
    [zam] z axis mode 1 [standard]
    [zvm] z velocity maximum 800 mm/min
    [zfr] z feedrate maximum 800 mm/min
    [ztn] z travel minimum 0.000 mm
    [ztm] z travel maximum 75.000 mm
    [zjm] z jerk maximum 20 mm/min^3 * 1 million
    [zjh] z jerk homing 40 mm/min^3 * 1 million
    [zjd] z junction deviation 0.0500 mm (larger is faster)
    [zsn] z switch min 0 [0=off,1=homing,2=limit,3=limit+homing]
    [zsx] z switch max 1 [0=off,1=homing,2=limit,3=limit+homing]
    [zsv] z search velocity 400 mm/min
    [zlv] z latch velocity 100 mm/min
    [zlb] z latch backoff 5.000 mm
    [zzb] z zero backoff 1.000 mm
    [aam] a axis mode 3 [radius]
    [avm] a velocity maximum 230400 deg/min
    [afr] a feedrate maximum 230400 deg/min
    [atn] a travel minimum -1.000 deg
    [atm] a travel maximum -1.000 deg
    [ajm] a jerk maximum 5760 deg/min^3 * 1 million
    [ajh] a jerk homing 11520 deg/min^3 * 1 million
    [ajd] a junction deviation 0.0500 deg (larger is faster)
    [ara] a radius value 0.1989 deg
    [asn] a switch min 1 [0=off,1=homing,2=limit,3=limit+homing]
    [asx] a switch max 0 [0=off,1=homing,2=limit,3=limit+homing]
    [asv] a search velocity 600 deg/min
    [alv] a latch velocity 100 deg/min
    [alb] a latch backoff 5.000 deg
    [azb] a zero backoff 2.000 deg
    [bam] b axis mode 0 [disabled]
    [bvm] b velocity maximum 3600 deg/min
    [bfr] b feedrate maximum 3600 deg/min
    [btn] b travel minimum -1.000 deg
    [btm] b travel maximum -1.000 deg
    [bjm] b jerk maximum 20 deg/min^3 * 1 million
    [bjd] b junction deviation 0.0500 deg (larger is faster)
    [bra] b radius value 1.0000 deg
    [cam] c axis mode 0 [disabled]
    [cvm] c velocity maximum 3600 deg/min
    [cfr] c feedrate maximum 3600 deg/min
    [ctn] c travel minimum -1.000 deg
    [ctm] c travel maximum -1.000 deg
    [cjm] c jerk maximum 20 deg/min^3 * 1 million
    [cjd] c junction deviation 0.0500 deg (larger is faster)
    [cra] c radius value 1.0000 deg
    [p1frq] pwm frequency 100 Hz
    [p1csl] pwm cw speed lo 1000 RPM
    [p1csh] pwm cw speed hi 2000 RPM
    [p1cpl] pwm cw phase lo 0.125 [0..1]
    [p1cph] pwm cw phase hi 0.200 [0..1]
    [p1wsl] pwm ccw speed lo 1000 RPM
    [p1wsh] pwm ccw speed hi 2000 RPM
    [p1wpl] pwm ccw phase lo 0.125 [0..1]
    [p1wph] pwm ccw phase hi 0.200 [0..1]
    [p1pof] pwm phase off 0.100 [0..1]
    [g54x] g54 x offset 0.000 mm
    [g54y] g54 y offset 0.000 mm
    [g54z] g54 z offset 0.000 mm
    [g54a] g54 a offset 0.000 deg
    [g54b] g54 b offset 0.000 deg
    [g54c] g54 c offset 0.000 deg
    [g55x] g55 x offset 75.000 mm
    [g55y] g55 y offset 75.000 mm
    [g55z] g55 z offset 0.000 mm
    [g55a] g55 a offset 0.000 deg
    [g55b] g55 b offset 0.000 deg
    [g55c] g55 c offset 0.000 deg
    [g56x] g56 x offset 0.000 mm
    [g56y] g56 y offset 0.000 mm
    [g56z] g56 z offset 0.000 mm
    [g56a] g56 a offset 0.000 deg
    [g56b] g56 b offset 0.000 deg
    [g56c] g56 c offset 0.000 deg
    [g57x] g57 x offset 0.000 mm
    [g57y] g57 y offset 0.000 mm
    [g57z] g57 z offset 0.000 mm
    [g57a] g57 a offset 0.000 deg
    [g57b] g57 b offset 0.000 deg
    [g57c] g57 c offset 0.000 deg
    [g58x] g58 x offset 0.000 mm
    [g58y] g58 y offset 0.000 mm
    [g58z] g58 z offset 0.000 mm
    [g58a] g58 a offset 0.000 deg
    [g58b] g58 b offset 0.000 deg
    [g58c] g58 c offset 0.000 deg
    [g59x] g59 x offset 0.000 mm
    [g59y] g59 y offset 0.000 mm
    [g59z] g59 z offset 0.000 mm
    [g59a] g59 a offset 0.000 deg
    [g59b] g59 b offset 0.000 deg
    [g59c] g59 c offset 0.000 deg
    [g92x] g92 x offset 0.000 mm
    [g92y] g92 y offset 0.000 mm
    [g92z] g92 z offset 0.000 mm
    [g92a] g92 a offset 0.000 deg
    [g92b] g92 b offset 0.000 deg
    [g92c] g92 c offset 0.000 deg
    [g28x] g28 x position 0.000 mm
    [g28y] g28 y position 0.000 mm
    [g28z] g28 z position 0.000 mm
    [g28a] g28 a position 0.000 deg
    [g28b] g28 b position 0.000 deg
    [g28c] g28 c position 0.000 deg
    [g30x] g30 x position 0.000 mm
    [g30y] g30 y position 0.000 mm
    [g30z] g30 z position 0.000 mm
    [g30a] g30 a position 0.000 deg
    [g30b] g30 b position 0.000 deg
    [g30c] g30 c position 0.000 deg
    tinyg [mm] ok>
    >

    #11832
    cmcgrath5035
    Moderator

    Greetings
    A couple comments on your $$dump
    1. Thanks, it usually speeds debug
    2. Give this wiki item a read. https://github.com/synthetos/TinyG/wiki/Power-Management $_pm=2 is usually the preferred choice, unless you have a specific reason to pick $_pm=3
    3. Are you sure that Motors 1 and 4 are 400deg/rev (0.9 Step angle)? That is how they are set up, it is just unusual to see.
    4. Did you choose $4mi=8 intentionally? $4mi= 4 or 2 is more typical, particularly for heavy Zaxis loads (heavy spindles) $mi=8 and $sa=0.9 makes for a very high precision Z axis, not typically required.

    All those settings are legit, just unusual

    tinyG boards are fairly tough, but trace damage is possible.
    Some folks have had issues with bad 4 pin connectors on the motor outputs.
    Pull your tinyG back out, use a Multimeter to check continuity of the motor 4 screw terminals and the solder blobs on the bottom. Also visually trace the paths back to the driver chip to see if they look to be compromised.

    FYI the tinyG V8 schematics are here for your reference https://github.com/synthetos/TinyG/tree/master/hardware/v8schematics

    #11833
    cmcgrath5035
    Moderator

    ignore this, just ensuring followup notification

    • This reply was modified 4 years, 4 months ago by cmcgrath5035.
    #11876
    cheshirecnc
    Participant

    I have the same problem. Did you ever get a resolution?

    #11877
    cmcgrath5035
    Moderator

    @cheshirecnc
    The previous poster had several unusual parameters, it would be good for you to provide more specifics.
    What motor does not move? (m1-m4)
    Did you verify that stepper works on a different port?
    A $$ dump of your settings might help

    #11969
    SteveP
    Member

    Update,

    Its been a whole pandemic but im back at this. I toned out J5 to its solder points on the back of the board and, following its schematic back to the resistor and the various points on motor 4 control chip. Everything seems fine there. Without a microscope everything seems fine visually. Next step I’ll take the board into a makerspace i go to and put it on a scope to compare the pwm waveform. Ill also re visit the config settings as well.

    #11971
    cmcgrath5035
    Moderator

    With $mt=2, all motors will power down after 2 sec at end of cycle, that is consistent with your comments about manual lockup on startup

    If you are going to home the Z axis (you have a switch turned on)
    then $ztn=-75 and $ztm=0
    By convention, Z homes to the top of travel at position zero and movement is negative from there

    Doe anything change movement wide if you temporarily set
    $1ma=2
    and
    $4ma=0
    swapping the X and Z axes?

    Try setting all homing to 0 until the motors are moving

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.