synthetos / TinyG

Affordable Industrial Grade Motion Control
https://github.com/synthetos/TinyG/wiki
887 stars 293 forks source link

Motor 3 not working #265

Open mjomairi opened 3 years ago

mjomairi commented 3 years ago

Hello - I'm fairly new to electronics so forgive me if this is a basic issue. I recently got tinyG to drive 3 motors for a desktop cnc machine and I'm currently running into an issue and I'm unsure how to resolve it. I'm using CNCjs to drive the motors, after a few runs Motor 3 stopped working while motors 1 and 2 are still doing okay. I'm not really sure why that happened, when I try to drive it with CNCjs the motor vibrates slightly but it doesn't move. I tried to adjust the potentiometer as well incrementally but that didn't do anything.

I'm not really sure how to debug what the issue is and I'm concerned the same will occur to the other motors. Below are some of the errors that pop up in CNCjs

{"r":{"jv":4},"f":[1,0,7,7333]} {"sr":{"posx":0.000,"posy":0.000,"posz":0.000,"posa":0.000,"feed":0.00,"vel":0.00,"unit":0,"coor":1,"dist":0,"frmo":1,"stat":1}} {"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":"9U6538-TRC","ja":3937,"ct":0.0004,"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":0,"gco":1,"gpa":2,"gdi":0}},"f":[1,0,8,8303]} {"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":0,"coor":1,"dist":0,"frmo":1,"stat":1}},"f":[1,0,7,7874]}