PanelDue C Axis Homing
-
Hello,
I created a C Axis for my tool changer coupler. On the Paneldue it appears as U axis.
But if I press the homing button, it always homes all axis, not only the C axis.Is there a solutions?
-
Can you post your config.g file to see how the drives are mapped, and what's visible? Does it work correctly in DWC?
Ian
-
; Configuration file for Duet WiFi (firmware version 1.21) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool on Wed Sep 19 2018 21:12:53 GMT+0200 (Mitteleuropäische Sommerzeit) ; General preferences G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves ; Network M550 PCoreXY ; Set machine name M552 S1 ; Enable network M587 S"FRITZ!LES WLAN" P"69713510671866861951" ; 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 M584 X0 Y1 Z2 E3:4:5:6 C7 ; Map Drives to Axis M669 K1 ; Select CoreXY mode M569 P0 S0 ; Drive 0 goes forwards M569 P1 S0 ; Drive 1 goes forwards M569 P2 S1 ; Drive 2 goes forwards M569 P3 S0 ; Drive 3 goes forwards M569 P4 S0 ; Drive 4 goes forwards M569 P5 S0 ; Drive 5 goes forwards M569 P6 S0 ; Drive 6 goes forwards M569 P7 S0 ; Drive 7 goes forwards M350 X16 Y16 Z16 E16:16:16:16 I1 ; Configure microstepping with interpolation M350 C8 I0 ; Configure microstepping without interpolation M92 X100 Y100 Z1600 C100 E460:460:460:460 ; Set steps per mm M566 X600 Y600 Z18 C2 E100:100:100:100 ; Set maximum instantaneous speed changes (mm/min) M203 X35000 Y35000 Z1200 C25000 E5000:5000:5000:5000 ; Set maximum speeds (mm/min) M201 X6000 Y6000 Z400 C500 E2500:2500:2500:2500 ; Set accelerations (mm/s^2) M906 X1650 Y1650 Z1100 C200 E1450:1450:1450:1450 I30 ; Set motor currents (mA) and motor idle factor in per cent M84 S120 ; Set idle timeout ; Axis Limits M208 X-13.5 Y-56 Z0 C0 S1 ; Set axis minima M208 X316 Y202 Z270.20 C500 S0 ; Set axis maxima ; Thermal Sensors M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 ; Set thermistor + ADC parameters for heater 0 M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.060000e-8 ; Set thermistor + ADC parameters for heater 1 M308 S2 P"e1temp" Y"thermistor" T100000 B4725 C7.060000e-8 ; Set thermistor + ADC parameters for heater 2 M308 S3 P"e2temp" Y"thermistor" T100000 B4725 C7.060000e-8 ; Set thermistor + ADC parameters for heater 3 M308 S4 P"e3temp" Y"thermistor" T100000 B4725 C7.060000e-8 ; Set thermistor + ADC parameters for heater 4 ; Hardware M950 H0 C"bedheat" T0 M950 H1 C"e0heat" T1 M950 H2 C"e1heat" T2 M950 H3 C"!exp.heater3" T3 M950 H4 C"!exp.heater4" T4 M950 F3 C"duex.fan3" M950 F4 C"duex.fan4" M950 F5 C"duex.fan5" M950 F6 C"duex.fan6" M950 F7 C"duex.fan7" M950 F8 C"duex.fan8" ; Max Temp Protection M143 H0 S140 ; Set temperature limit for heater 0 to 140C M143 H1 S270 ; Set temperature limit for heater 1 to 270C M143 H2 S270 ; Set temperature limit for heater 2 to 270C M143 H3 S270 ; Set temperature limit for heater 3 to 270C M143 H4 S270 ; Set temperature limit for heater 4 to 270C ; Fanmapping M106 P0 S0 I0 F500 H-1 C"Tool 0" ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P3 S0 I0 F500 H-1 C"Tool 1" ; Set fan 3 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P7 S0 I0 F500 H-1 C"Tool 2" ; Set fan 7 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P5 S0 I0 F500 H-1 C"Tool 3" ; Set fan 5 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P1 S1 I0 F500 H1 T55 ; Set fan 1 value for Tool 0, PWM signal inversion and frequency. Thermostatic control is turned on M106 P4 S1 I0 F500 H2 T55 ; Set fan 2 value for Tool 1, PWM signal inversion and frequency. Thermostatic control is turned on M106 P6 S1 I0 F500 H3 T55 ; Set fan 6 value for Tool 2, PWM signal inversion and frequency. Thermostatic control is turned on M106 P8 S1 I0 F500 H4 T55 ; Set fan 8 value for Tool 4, PWM signal inversion and frequency. Thermostatic control is turned on ; Endstops M915 X Y S5 H350 F0 R0 ; Set Stall detection sensitivity M915 C S5 H200 F0 R0 ; Coupler M574 X1 Y1 S3 ; Set endstops controlled by motor load detection ; Z-Probe M574 Z0 C"nil" ; no Z endstop switch, free up Z endstop input M558 P5 C"!zstop" H3 F180 T25000 ; Z probe connected to Z endstop input G31 X0 Y0 Z0.00 P500 ; Set Z probe offset + naher ran - weiter weg M557 X0:300 Y0:190 S50:47.5 ; Define mesh grid ; Tools M563 P0 D0 H1 F0 ; Define tool 0, Fan 0 M563 P1 D1 H2 F3 ; Define tool 1, Fan 3 M563 P2 D2 H3 F7 ; Define tool 2, Fan 7 M563 P3 D3 H4 F5 ; Define tool 3, Fan 5 ; PID Settings Tools M307 H1 A595.9 C199.5 D4.5 S1.00 V24.1 B0 ; Set PID settings tool 0 M307 H2 A775.0 C252.4 D8.2 S1.00 V24.1 B0 ; Set PID settings tool 1 M307 H3 A716.5 C237.1 D8.7 S1.00 V24.1 B0 ; Set PID settings tool 2 M307 H4 A567.7 C241.0 D6.7 S0.80 V24.1 B0 ; Set PID settings tool 3 M307 H0 A181.4 C631.5 D4.9 S1.00 V24.1 B0 ; Bed PID Settings ; Tooloffset ;G10 P0 X0.00 Y34.50 Z-15.84 ; Set tool 0 axis offsets ;G10 P1 X0.55 Y34.50 Z-15.83 ; Set tool 1 axis offsets ;G10 P2 X0.16 Y34.50 Z-15.85 ; Set tool 2 axis offsets ;G10 P3 X0.25 Y34.50 Z-15.70 ; Set tool 3 axis offsets M98 Ptooloffset.g ; Tools Temperatures G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C G10 P2 R0 S0 ; Set initial tool 2 active and standby temperatures to 0C G10 P3 R0 S0 ; Set initial tool 3 active and standby temperatures to 0C ; LED Strip M950 F2 C"nil" ; Free fan 2 pin M950 P2 C"fan2" ; create GPIO pin 2 attached to fan 2 M42 P2 S30 ; Turn LEDs on 30% PWM ; Calibrate MCU Temperature M912 P0 S-8 ; DAA M593 F80 ; Load config override M501
-
The PanelDue currently only enumerates (or alphabetises) axes and hot ends in the order they are created; it ignores the definitions you have given it in the config. So it sees your axes as XYZU. My guess is that you're pressing home, and it's getting a tad confused (technical term), and not finding the specific homing file for U, so does home all instead. Probably the first thing to try is to set all settings that refer to the C axis in config.g to the U axis, with associated homing file. Then the PanelDue should at least call the correct homing file. If you must use the C axis for gcode generation, perhaps try having a duplicate of your homec.g file called homeu.g. I have no idea if this would work!
I believe in the upcoming RepRapFirmware 3 this will have been resolved, as RRF 3 uses pin names instead of logical pin numbers; see dc42's post here (though that is about heaters) https://forum.duet3d.com/topic/12223/7inch-paneldue-showing-only-6-heaters-doesn-t-show-7th/7
Ian
-
I renamed the C axis to U axis.
Now it seems to work. PanelDue only supports U axis as third axisJust copying the homec to homeu have not worked.