IDEX U endstop inverted and Min, max, InstantDv, speed, acc not set



  • I am configuring a IDEX printer in firmware 1.18.1 and I cannot get endstops to work.

    My config.g:


    M111 S0 ; Debugging off
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates…
    M83 ; ...but relative extruder moves
    M555 P5 ; Set firmware compatibility to look like Repetier
    M584 X0 Y1 Z2 E3:6 U5; Create U axis for second X carriage before we try to configure it
    ; Movement section
    M569 P0 S1  ; Drive 0 goes forwards (change to S0 to reverse it)
    M569 P1 S1  ; Drive 1 goes forwards
    M569 P2 S1  ; Drive 2 goes forwards
    M569 P3 S0  ; Drive 3 goes forwards
    M569 P4 S1  ; Drive 4 goes forwards
    M569 P5 S0  ; Drive 5 goes forwards
    M569 P6 S0  ; Drive 5 goes forwards
    M584 X0 Y1 Z2 U5 E3:6  ; Create U axis for second X carriage before we try to configure it
    M574 X1 Y1 Z0 U2 S0  ; Set endstop configuration (X and Y endstops at low end, U endstop at high end, active high, no Z endstop)
    M906 X800 Y800 U800 Z800 E1000  ; Set motor currents (mA)
    M201 X800 Y800 U800 Z15 E1000  ; Accelerations (mm/s^2)
    M203 X15000 Y15000 U15000 Z100 E3600 ; Maximum speeds (mm/min)
    M566 X600 Y600 U600 Z30 E20  ; Maximum jerk speeds mm/minute
    M208 X200 Y200 U250 Z200  ; Set axis maxima (adjust to suit your machine)
    M208 X-50 Y0 U0 Z-0.2 S1  ; Set axis minimum (adjust to make X=0 and Y=0 the edge of the bed)
    M92 X80 Y80 U80 Z2560  ; Set axis steps/mm
    M92 E420:420  ; Set extruder steps per mm
    G21  ; Work in millimetres
    G90  ; Send absolute coordinates...
    M83  ; ...but relative extruder moves

    ; Heaters
    M143 S260 ; Set maximum heater temperature to 260C
    M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
    M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
    M305 P2 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 2

    ; Tools
    M563 P0 D0 H1 ; tool 0 uses extruder drive 0 and heater 1
    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 D1 H2 ; tool 1 uses extruder drive 1 and heater 2
    G10 P1 X0 Y0 Z0 ; Set tool 1 axis offsets
    G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

    ; Fans
    M106 P0 S0 I0 F200 H1 T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P1 S0 I0 F200 H2 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S0 I0 F200 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off

    ; Custom settings
    M575 P1 B57600 S1 ;Setup PanelDue

    T0 ; Select first tool


    But nothing gets defined for the U axis:
    Drive Endstop hit Minimum Maximum InstantDv Max Speed Acceleration Motor Current
    0 No 0 mm 250 mm 31.67 mm/s 100 mm/s 1500 mm/s² 1200 mA
    1 Yes 0 mm 300 mm 31.67 mm/s 100 mm/s 1500 mm/s² 1200 mA
    2 No 0 mm 420 mm 0.2 mm/s 3 mm/s 250 mm/s² 1200 mA
    3 No 0 mm 350 mm 31.67 mm/s 100 mm/s 1500 mm/s² 1200 mA
    4 Yes n/a n/a 2 mm/s 20 mm/s 1250 mm/s² 1200 mA
    5 Yes n/a n/a 2 mm/s 20 mm/s 1250 mm/s² 1200 mA
    6 Yes n/a n/a 2 mm/s 20 mm/s 250 mm/s² 1200 mA
    7 Yes n/a n/a 2 mm/s 20 mm/s 250 mm/s² 1200 mA
    8 Yes n/a n/a 2 mm/s 20 mm/s 250 mm/s² 0 mA
    9 Yes n/a n/a 2 mm/s 20 mm/s 250 mm/s² 0 mA

    My biggest problem right now is that my 6th endstop is inverted. I checked the wiring and everything checks out - it just registers wrong.

    I think I am doing stuff in the wrong order, but I have been trying to fix it for 12 hours, so I help to find help here.

    Thank you.



  • PS: When I copied the Machine properties, Endstop 1 was closed, the rest open.


  • administrators

    The U axis endstop switch must be connected to the E0 endstop connector. Selecting motor 5 to drive the U axis doesn't affect which switch connector is used.



  • So is there a way to tell it what switch to use, or are U axies hardwired to E0?


  • administrators

    U axis is hard wired to E0 endstop input, and V axis to E1.


Locked
 

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