EtteGit / EnragedRabbitProject

GNU General Public License v3.0
2.38k stars 338 forks source link

When the gear motor is on hold when the selector motor is turned on, the kliper goes into error. #94

Closed lex007112 closed 2 years ago

lex007112 commented 2 years ago

When the gear motor is on hold when the selector motor is turned on, the kliper goes into error. image

Already changed the driver, still the same error, with the _ERCF_TEST_MOVE_GEAR command, the motor spins normally, what could be the reason? Kliper log attached klippy.log Send: DUMP_TMC STEPPER=gear_stepper Recv: // ========== Write-only registers ========== Recv: // SLAVECONF: 00000200 senddelay=2 Recv: // IHOLD_IRUN: 00081102 ihold=2 irun=17 iholddelay=8 Recv: // TPOWERDOWN: 00000014 tpowerdown=20 Recv: // SGTHRS: 00000000 Recv: // ========== Queried registers ========== Recv: // GCONF: 000001c4 en_spreadcycle=1 pdn_disable=1 mstep_reg_select=1 multistep_filt=1 Recv: // GSTAT: 00000001 reset=1(Reset) Recv: // IFCNT: 0000000f ifcnt=15 Recv: // OTP_READ: 0000000e otp_fclktrim=14 Recv: // IOIN: 21000041 enn=1 pdn_uart=1 version=0x21 Recv: // FACTORY_CONF: 0000000e fclktrim=14 Recv: // TSTEP: 000fffff tstep=1048575 Recv: // MSCNT: 00000028 mscnt=40 Recv: // MSCURACT: 00ef003c cur_a=60 cur_b=239 Recv: // CHOPCONF: 34030053 toff=3 hstrt=5 tbl=2 vsense=1 mres=4(16usteps) intpol=1 dedge=1 Recv: // DRV_STATUS: 80020000 cs_actual=2 stst=1 Recv: // PWMCONF: c80d0e24 pwm_ofs=36 pwm_grad=14 pwm_freq=1 pwm_autoscale=1 pwm_autograd=1 pwm_reg=8 pwm_lim=12 Recv: // PWM_SCALE: 00000003 pwm_scale_sum=3 Recv: // PWM_AUTO: 000e0024 pwm_ofs_auto=36 pwm_grad_auto=14 Recv: // SG_RESULT: 00000000

lex007112 commented 2 years ago

Finally solved this problem. They closed the wires between the gear motor and the motor selector in the connector for connecting the ERCF to the printer. I would delete this issue but I don't know how.