Duet3 6MB U Axis Homing
-
Hi
I am trying to run a U-axis Cartisian configuration. It was working fine when I was using Sensorless homing but when I changed the homing with a 5V inductive end-stop it stopped working. The U-Axis does not move for homing.
I am using a similar 5V inductive end-stop switch for the X Y and Z-axis and they work fine with them.Config.h
; Configuration file for Duet 3 (firmware version 3.3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.3.2 on Mon Sep 27 2021 10:57:47 GMT+0100 (British Summer Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"H1.2" ; set printer name ; Network M552 P10.0.20.162 S1 ; enable network and set IP address M553 P255.255.255.0 ; set netmask M554 P10.0.20.1 ; set gateway M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S1 ; enable Telnet ; Drives M569 P0.0 S0 ; physical drive 0.0 goes forwards M569 P0.1 S0 ; physical drive 0.1 goes forwards M569 P0.2 S0 ; physical drive 0.2 goes forwards M569 P0.3 S0 ; physical drive 0.3 goes forwards M584 X0.0 Y0.1 Z0.2 U0.3 ; set drive mapping M350 X16 Y16 Z16 U16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z80.00 U80.00 ; set steps per mm M566 X1000.00 Y1000.00 Z1000.00 U1000.00 ; set maximum instantaneous speed changes (mm/min) M203 X26000.00 Y26000.00 Z26000.00 U26000.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z500.00 U500.00 ; set accelerations (mm/s^2) M906 X2000 Y2000 Z800 U800 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 U0 S1 ; set axis minima M208 X400 Y400 Z150 U150 S0 ; set axis maxima ; Endstops M574 X1 S1 P"!io0.in" ; configure active-high endstop for low end on X via pin !io0.in M574 Y1 S1 P"!io1.in" ; configure active-high endstop for low end on Y via pin !io1.in M574 Z1 S1 P"!io2.in" ; configure active-high endstop for low end on Z via pin !io3.in M574 U2 S1 P"!io3.in" ; Z-Probe M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed M557 X15:215 Y15:195 S20 ; define mesh grid ; Heaters ; Fans ; Tools ; Custom settings are not defined
Homeu.g
G91 G1 H1 U155.0 F2000 ; move quickly to X axis endstop and stop there (first pass) G90 ; absolute positioning
Please advise on what I am doing wrong in the config.
-
@neo0204 your config looks good after a quick look. Can you see what is reported with M119 when the endstop is not triggered, and then again when it is.
-
I think the challenge is here, it senses the end-stop is always at Home.
I have tried connecting the end-stop to other IO pins but the results were similar.
-
@neo0204 try swapping the endstop with the X stop - the stop is probably faulty if it is identical to the others you use and its always showing as stopped
-
@t3p3tony This is what I did as the first hardware debug, Swap the X-axis and U-axis end-stop, and X homed but U has a similar response.
-
-
@neo0204 also do you get any errors when you run your config.g using M98 P"0:/sys/config.g"
-
The challenge is not resolved even when connecting to other IO ports.
M98 P"0:/sys/config.g" commands shows below response.
-
@neo0204 which other port did you try?
-
@t3p3tony Thank you for helping debug this.
It is working now, the issue was with the end-stop extender wire.
Apologies for the inconvenience.
-
@neo0204 glad you got it fixed