C coupler direction.
-
What are all the ways I can try to change the motor direction. I tried changing the wiring and changed the M569 P7 S0 to S1 and tried changing my endstop from high to low with.
I am having trouble homing my c coupler. I think im over heating it. sometimes i can trick it and make it unlock and lock but after 2 or 3 it starts acting like an extruder and only goes one directionBoard: Duet WiFi 1.02 or later + DueX5
Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.01-RC11 (2020-04-30b3)
Duet WiFi Server Version: 1.23 -
; General preferences M111 S0 ; Debugging off G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M555 P2 ; Set firmware compatibility to look like Marlin M667 S1 ; select CoreXY mode ;M550 ATronXY ; Set machine name M552 S1 ; Enable network M587 S"" P"" ; Configure access point. You can delete this line once connected M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ; Drives M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S0 ; physical drive 2 goes backwards M569 P3 S1 ; physical drive 3 goes forwards M569 P4 S1 ; physical drive 4 goes forwards M569 P5 S0 ; physical drive 5 goes backwards M569 P6 S0 ; physical drive 6 goes backwards M569 P7 S0 ; physical drive 7 goes backwards M569 P8 S0 M584 X0 Y1 Z2:5 C8 E3:4:6 ; set drive mapping M208 X-36.0:300 Y-4.0:317 Z0:400 C0:500 ; Set axis maxima & minima M350 X32 Y32 Z16:16 E16:16:16:16:16 I0 ; configure microstepping without interpolation M350 C8 I0 M92 X160.00 Y160.00 Z3200.00:3200.00 C100 E440.00:440.00:3200.00:3200.00:3200.00 ; set steps per mm M566 X3000.00 Y3000.00 Z12.00:12.00 C2 E120.00:120.00:12.00:12.00:12.00 ; set maximum instantaneous speed changes (mm/min) M203 X9000.00 Y9000.00 Z200.00:200.00 C5000 E1200.00:1200.00:900.00:900.00:900.00 ; set maximum speeds (mm/min) M201 X300.00 Y300.00 Z200.00:200.00 C400 E300.00:300.00:1500.00:1500.00:1500.00 ; set accelerations (mm/s^2) M906 X1200 Y1200 Z1200:1200.00 C400 E800:800:1200:800:800 I15 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Endstops M574 X1 S1 P"xstop" ; X min active high endstop switch M574 Y1 S1 P"ystop" ; Y min active high endstop switch ;M574 Z1 S1 P"zstop" ; Z min active high endstop switch M574 C1 S3 ; Stall detection for the couple ; Z probe ;M558 P7 H2 F360 I0 T35000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds M558 P8 C"zstop" H3 F360 I0 T35000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds G31 P200 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height M557 X20:260 Y20:240 S20.0 ; Define mesh grid M671 X-102.00:408.00 Y150.0:150.0 S8 ;Stall Detection MM915 C S6 F0 H200 R4700 ; Coupler ;Stall Detection M915 X Y S5 F0 H400 R4700 ; X / Y Axes ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 C0 ; Set thermistor M950 H0 C"bedheat" T0 ; Bed heater M143 H0 S225 ; Set temperature limit for heater 0 to 225C ;tool 0 M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M143 H1 S270 ; set temperature limit for heater 1 to 270C ;tool 1 M308 S2 P"e1temp" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin e1temp M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2 M143 H2 S270 ; set temperature limit for heater 2 to 270C ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H1:2 T20 ; set fan 1 value. Thermostatic control is turned on M950 F2 C"fan2" Q500 ; create fan 2 on pin fan1 and set its frequency M106 P2 S1 H-1 ; set fan 2 value. Thermostatic control is turned off ; Tools M563 P0 S"T0" D0 H1 F2 ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C M563 P1 S"T1" D1 H2 F4 ; define tool 1 G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C M563 P2 S"T2" D2 H3 F6 ; define tool 2 G10 P2 X0 Y0 Z0 ; set tool 2 axis offsets G10 P2 R0 S0 ; set initial tool 2 active and standby temperatures to 0C M563 P3 S"T3" D3 H4 F8 ; define tool 3 G10 P3 X0 Y0 Z0 ; set tool 3 axis offsets G10 P3 R0 S0 ; set initial tool 3 active and standby temperatures to 0C G10 P0 X-9 Y40 Z-4.9575 ; T0 - V6 G10 P1 X-8.55 Y39.7 Z-5.0125 ; T1 - V6 G10 P2 X-8.85 Y39.625 Z-5.0125 ; T2 - V6 G10 P3 X20.05 Y45.19 Z-5.7 ; T3 - Hemera ;deselect tools T-1 M501
; homec.g ; called to home the C axis (coupler) G91 M400 ;M913 C70 ; XY MOTORS TO 60% CURRENT ;G1 H2 C30 F5000 ;M400 M913 C70 ; XY MOTORS TO 60% CURRENT G1 H2 C-1000 F10000 G92 C-125 G90 M913 C100 ; XY MOTORS TO 100% CURRENT G1 C0 F10000 ;Open Coupler M98 P"/macros/Coupler - Unlock"
M400 M913 C100 G1 C33 F50000 M400 M913 C50
M400 M913 C100 G1 C129 F50000 M400 M913 C50
-
Are you really changing M569 P7 S0 to S1? Your config says your "C" axis is using P8 so shouldn't you be adjusting the direction on that one?
-
Im all over the place. I changed to 8 to see if it was the driver, just said it wrong. is that supposed to change the direction? Im rustry i first built my printer over a year ago.
-
I dont know how to link a thread but i tried this allready.
dc42
If your C motor will only go one way, it could be that one of the phases is disconnected, because of a burned out motor winding, bad crimp connection, or faulty driver on the Duet. Try the following:
Use G92 followed by G1 H2 Cxx moves to test the motor and driver, with both positive and negative C values
Measure the resistance of the motor phases between the pins of the Duet motor connector (with power off of course).
If they look correct then try swapping the motor output with anther one, using M584 in config,g to swap them in firmware too (don't forget to swap the values in the two M569 commands too).except the resistance. Do I just check to see if the have the same resistance.
I order a new motor. wont hurt to have a spare if its not it.
also when i had it at 60% it only turned 1 direction but when i went to 70% it went both ways but still backwards.
-
@Ozzzzzzy said in C coupler direction.:
I dont know how to link a thread but i tried this allready.
dc42
If your C motor will only go one way, it could be that one of the phases is disconnected, because of a burned out motor winding, bad crimp connection, or faulty driver on the Duet. Try the following:
Use G92 followed by G1 H2 Cxx moves to test the motor and driver, with both positive and negative C values
Measure the resistance of the motor phases between the pins of the Duet motor connector (with power off of course).
If they look correct then try swapping the motor output with anther one, using M584 in config,g to swap them in firmware too (don't forget to swap the values in the two M569 commands too).except the resistance. Do I just check to see if the have the same resistance.
Yes, check the resistance of each phase if you have a multimeter.
What C motor current are you using (M906), and are you modifying it at all using M913? I understand that the coupler motor needs to be run at or slightly above rated current in order to work reliably. Running it slightly above rated current for the few seconds needed it operate it is safe, provided that the current is reduced the rest of the time.
-
I got .001 on one set of leads and .003 on the other. I had it set to ohms where it beeps. i got a beep on both leads. thats at the end of the extension wire threw the connector.
I have the M906 set to 400 now cause i didnt know the best way to reduce it before i ran the homec. I know it reduces after an unlock or lock. do i put an M913 after the M906 in the config.
Is there another way to reverse the motor.
-
@Ozzzzzzy said in C coupler direction.:
do i put an M913 after the M906 in the config.
Is there another way to reverse the motor.You can swap rotation direction by either swapping the phases at the pins, or specifying the direction with M569 S in config.g
M913 is a modifier for M906, so M906 must come first in config. M913 would usually be used in a macro to scale the current to a percentage of M906
https://duet3d.dozuki.com/Wiki/Gcode#Section_M906_Set_motor_currents
https://duet3d.dozuki.com/Wiki/Gcode#Section_M913_Set_motor_percentage_of_normal_current