Dual Z, Dual End stop issue



  • Hi,

    I am having a problem with homing my two independent stepper z-axis with their relevant end stops.

    I am using the two end-stops to ensure the bed is mechanically level before using a z IR probe to take out any other bed warp issues

    The expected behaviour is that when homing, both steppers home (z & u axis), until their respective end-stop is activated - ensuring a level home.

    At the moment, both steppers home, until both the Z and U end stop's are triggers, however, trigging the U axis endstop does nothing to the U axis stepper, however triggering the Z axis one stops the Z axis stepper as expected. Stopping both U & Z axis end stops stop both axis.

    could you kindly check my config.g and homez.g to make sure i am not doing any thing daft?

    Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet
    Firmware Electronics: Duet WiFi 1.0 or 1.01
    Firmware Version: 1.21 (2018-03-21)
    WiFi Server Version: 1.21
    Web Interface Version: 1.21

    Config.g

    ; Communication and general
    M111 S0 ; Debug off
    M550 PHyperCube ; Machine name and Netbios name (can be anything you like)
    ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
    M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
    ;*** Wifi Networking
    M552 S1 ; Enable WiFi. Disabled for setup and testing. Enable once set up on your network.

    M555 P2 ; Set output to look like Marlin
    M575 P1 B57600 S1 ; Comms parameters for PanelDue

    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves

    M584 X0 Y1 Z2:4 U4 E3

    ; Axis and motor configuration
    M569 P0 S1
    M569 P1 S1
    M569 P2 S0
    M569 P3 S1
    M569 P4 S0

    M574 X1 Y1 Z2 U2 S1 ; set endstop configuration (all endstops at high end, active high)

    M667 S1 ; switch to CoreXY mode

    M92 X80 Y80 Z415 U415 ; Set axis steps/mm 395

    M208 X170 Y177 Z193 U193 ; set axis maxima (adjust to suit your machine)
    M208 X-10 Y0 Z0 U0 S1 ; set axis minima (adjust to make X=0 and Y=0 the edges of the bed)

    M350 X16 Y16 Z16 E16 I1 Z16 U16 ; Set 16x microstepping with interpolation

    M906 X800 Y800 Z1000 E800 I60 Z1000 U1000 ; Set motor currents (mA) and increase idle current to 60%
    M201 X800 Y800 Z20 E1000 Z20 U20 ; Accelerations (mm/s^2)
    M203 X15000 Y15000 Z2000 E3600 Z2000 U2000 ; Maximum speeds (mm/min)
    M566 X600 Y600 Z300 E1200 Z300 U300 ; Maximum instant speed changes mm/minute Z1200 E1200

    ; Thermistors
    M305 P0 T100000 B3950 R4700 H-50 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
    M305 P1 T100000 C7.08e-8 R4700 H0 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
    M305 P2 T100000 B3974 R4700 H30 L0 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction
    M570 S180 ; Hot end may be a little slow to heat up so allow it 180 seconds
    M143 S290 ; Set maximum hotend temperature to 290C

    ; Fans
    M106 P1 H-1 ; disable thermostatic mode for fan 1
    M106 P1 S0;
    M106 P2 H1 T50;

    ; Tool definitions
    M563 P0 D0 H1 ; Define tool 0
    G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
    ;*** If you have a single-nozzle build, comment the next 2 lines
    ;M563 P1 D1 H2 ; Define tool 1
    ;G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures
    M92 E403.45 ; Set extruder steps per mm

    ; Z probe and compensation definition
    ;*** If you have a switch instead of an IR probe, change P1 to P4 in the following M558 command
    M558 P1 X0 Y0 Z0 F500 T5000 H10 ; Z probe is an IR probe and is not used for homing any axes
    G31 X0 Y0 Z2.80 P500 ; Set the zprobe height and threshold (put your own values here) 3.08

    ; Grid levelling
    M557 X20:145 Y20:130 S20 ;

    ;*** If you are using axis compensation, put the figures in the following command
    ;M556 S78 X0 Y0 Z0 ; Axis compensation here

    ;M208 S1 Z0.0 ; set minimum Z
    ;

    ; Finalization --------------------------------------------------------
    M18 ; Disable stepper motors
    T0 ; select first hot end

    homez.g

    M400 ; make sure everything has stopped before we make changes
    G91 ; use relative positioning
    M574 Z2 U2 S1
    G1 S1 Z300 U300 F1000; move down 300mm, stopping at the endstop
    M400 ; make sure everything has stopped before we reset the motor currents


  • administrators

    Make sure you have connected the U endstop switch to the E0 (not E1) endstop input, and test it using the Machine Properties page of DWC where it will show up as endstop 3.


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.