IDEX 3d Printer setup



  • Hey Guys this is my first post and also my first shot at designing a 3d printer. I try to do my best with the duet wifi setup but having problem with my U axis. I am just testing the XYZ &U axis. I still have to setup AC heat bed and extruder. This printer is 400x400x300mm print volume. I would like to do two material prints, Duplication print and may be mirror print if can.

    Thank you

    I made a quick video in link below explain the problem I am having with U-Axis.
    https://www.youtube.com/watch?v=y7BgSXOqHmg

    Here is my config.g

    :; Configuration file for Duet WiFi (firmware version 1.21)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Mon Dec 10 2018 01:47:39 GMT+0000 (GMT)

    ; General preferences
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves

    ; Network
    M550 P"iDEX" ; Set machine name
    M552 S1 ; Enable network
    M587 S"wifi" ; 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 S0 ; Drive 0 goes reverse
    M569 P1 S0 ; Drive 1 goes reverse
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S0 ; Drive 3 goes reverse
    M569 P4 S0 ; Drive 4 goes reverse
    M569 P5 S0 ; Drive 5 goes reverse

    M584 X0 Y1 Z2 U3 E4:5 ; Drive map X Y Z U E axis

    M350 X16 Y16 Z16 U16 E16:16 I1 ; Configure microstepping with interpolation
    M92 X160 Y160 Z1600 U160 E415:415 ; Set steps per mm
    M566 X600 Y600 Z12 U600 E120:120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X18000 Y18000 Z180 U18000 E1500:1500 ; Set maximum speeds (mm/min)
    M201 X3000 Y3000 Z100 U3000 E10000:10000 ; Set accelerations (mm/s^2)
    M906 X950 Y1300 Z950 U950 E950:950 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X-70 Y0 Z0 U70 S0 ; Set axis minima
    M208 X400 Y400 Z300 U400 S0 ; Set axis maxima

    ; Endstops
    M574 X1 Y1 Z1 U2 S0 ; Set active low endstops

    ; Z-Probe
    M558 P5 H5 F0 T6000 ; Set Z probe type to switch and the dive height + speeds
    G31 P500 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
    M557 X15:385 Y15:385 S20 ; Define mesh grid

    ; Heaters
    M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
    M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
    M143 H0 S120 ; Set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; Set temperature limit for heater 1 to 280C
    M305 P2 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 2
    M143 H2 S280 ; Set temperature limit for heater 2 to 280C

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

    ; Tools
    M563 P0 S"X-AXIS" D0 H1 ; 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"U-AXIS" D1 H2 ; 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

    ; Automatic power saving
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss

    ; Custom settings are not configured


  • Moderator



  • Yes I did see that, Here is X,Y,Z & U Homing files.

    ; homex.g
    ; called to home the X axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Sat Dec 01 2018 16:55:23 GMT-0800 (Pacific Standard Time)
    G91 ; relative positioning
    G1 Z5 F6000 S2 ; lift Z relative to current position
    G1 S1 X-430 F1800 ; move quickly to X axis endstop and stop there (first pass)
    G1 X5 F6000 ; go back a few mm
    G1 S1 X-10 F360 ; move slowly to X axis endstop once more (second pass)
    G1 Z-5 F6000 S2 ; lower Z again
    G90 ; absolute positioning

    ; homey.g
    ; called to home the Y axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Sat Dec 01 2018 16:55:23 GMT-0800 (Pacific Standard Time)
    G91 ; relative positioning
    G1 Z5 F6000 S2 ; lift Z relative to current position
    G1 S1 Y-405 F1800 ; move quickly to Y axis endstop and stop there (first pass)
    G1 Y5 F6000 ; go back a few mm
    G1 S1 Y-405 F360 ; move slowly to Y axis endstop once more (second pass)
    G1 Z-5 F6000 S2 ; lower Z again
    G90 ; absolute positioning

    ; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Sat Dec 01 2018 16:55:24 GMT-0800 (Pacific Standard Time)
    G91 ; relative positioning
    G1 Z5 F6000 S2 ; lift Z relative to current position
    G1 S1 Z-305 F1800 ; move Z down until the endstop is triggered
    G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 S2 Z5 F100 ; lift Z relative to current position
    ;G90 ; absolute positioning

    ; homeu.g
    ; called to home the U axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Sat Dec 01 2018 16:55:23 GMT-0800 (Pacific Standard Time)
    G91 ; relative positioning
    G1 Z5 F6000 S2 ; lift Z relative to current position
    G1 S1 U430 F1800 ; move quickly to U axis endstop and stop there (first pass)
    G1 U5 F6000 ; go back a few mm
    G1 S1 U10 F360 ; move slowly to U axis endstop once more (second pass)
    G1 Z-5 F6000 S2 ; lower Z again
    G90 ; absolute positioning

    ; homeall.g
    ; called to home all axes
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Sat Dec 01 2018 16:55:23 GMT-0800 (Pacific Standard Time)
    G91 ; relative positioning
    G1 Z5 F6000 S2 ; lift Z relative to current position
    G1 S1 X-430 Y-400 U430 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
    G1 X5 Y5 F6000 ; go back a few mm
    G1 S1 X-10 Y-10 U10 F360 ; move slowly to X and Y axis endstops once more (second pass)
    G1 S1 Z-305 F1800 ; move Z down stopping at the endstop
    G90 ; absolute positioning
    G92 Z0 ; set Z to axis minimum (you may want to adjust this)

    ; Uncomment the following lines to lift Z after probing
    ;G91 ; relative positioning
    ;G1 S2 Z5 F100 ; lift Z relative to current position
    ;G90 ; absolute positioning


  • administrators

    2 issues:

    1. U is not "bouncing" because of an error in your homeu.g file:

    ; homeu.g
    ; called to home the U axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Sat Dec 01 2018 16:55:23 GMT-0800 (Pacific Standard Time)
    G91 ; relative positioning
    G1 Z5 F6000 S2 ; lift Z relative to current position
    G1 S1 U430 F1800 ; move quickly to U axis endstop and stop there (first pass)
    G1 U5 F6000 ; go back a few mm
    G1 S1 U10 F360 ; move slowly to U axis endstop once more (second pass)
    G1 Z-5 F6000 S2 ; lower Z again
    G90 ; absolute positioning

    Change U5 to U-5 so that it goes back, not forwards.

    1. When you were entering G1 commands in the console, you were in absolute coordinate mode (the default). So G1 U-100 means move the U axis to position -100mm. Your M208 command sets the lower limit of the U axis as 70mm, so it only goes as far as U=70mm. If instead you want to move U 100mm left, use G91 to put the firmware in relative coordinate mode first:

    G91
    G1 U-100

    This is what DWC does when you use the jog buttons. use G90 to go back to absolute coordinates.

    HTH David



  • @karim said in IDEX 3d Printer setup:

    ; Tools
    M563 P0 S"X-AXIS" D0 H1 ; 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"U-AXIS" D1 H2 ; 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

    ok david Thank you. I am at work so I will try when I get home.

    So here is another question, the Tools setup section, I don 't quite get it, below is what was generated by RepRapFirmware configuration tool , I selected two tools. How do I set it up. I guess this if for dual color/material.

    ; Tools
    M563 P0 S"X-AXIS" D0 H1 ; 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"U-AXIS" D1 H2 ; 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

    I dont kow if it setup like this.
    ; Tools
    M563 P0 S"X-AXIS" D0 H1 ; Define tool 0
    G10 P0 X-245 Y0 Z0 ; Set tool 0 axis offsets
    G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
    M563 P1 S"U-AXIS" D1 H2 ; Define tool 1
    G10 P1 X245 Y0 Z0 ; Set tool 1 axis offsets
    G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

    245mm is the center line of the bed for X and U Axis, from each end stop.


  • administrators

    For IDEX you will need to edit config.g manually to set up the tools, because the configuration tool doesn't do IDEX. See the link that @Phaedrux posted.



  • @dc42 I read the information in link , but still having a hard time understanding it. Please have a look see if I am goin g in the right direction.

    **;Tools ; This was change in config .g
    ; Tools
    M563 P0 D0 H1 ; Define tool 0
    G10 P0 X0 Y0 U0 Z0 ; Set tool 0 axis offsets
    G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

    M563 P1 D1 H2 X3 ; Define tool 1
    G10 P1 X0 Y0 U0 Z0 ; Set tool 1 axis offsets
    G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

    M563 P2 D0:1 H1:2 X0:3 ; Define tool 2 Ditto Printing
    G10 P2 X100 Y0 U-100 Z ; Set tool 2 axis Ditto Printing offsets
    G10 P2 R0 S0 ; Set initial tool 2 active and standby temperatures to 0C
    M576 P2 E1:1 ; Set mix rtio 100% on both extruders

    tfree0.g: ; I Create a new file and add below in it
    M83 ; relative extruder movement
    G1 E-2 F3600 ; retract 2mm
    M106 S0 ; turn off our print cooling fan
    G91 ; relative axis movement
    G1 Z3 F500 ; up 3mm
    G90 ; absolute axis movement
    G1 S2 X-42 F6000 ; park the X carriage at -42mm

    tfree1.g ; I Create a new file and add below in it
    M83 ; relative extruder movement
    G1 E-2 F3600 ; retract 2mm
    M106 S0 ; turn off our print cooling fan
    G91 ; relative axis movement
    G1 Z3 F500 ; up 3mm
    G90 ; absolute axis movement
    G1 S2 U442 F6000 ; park the U carriage at +442mm

    tfree2.g: ; I Create a new file and add below in it
    M83 ; relative extruder movement
    G1 E-2 F3600 ; retract 2mm
    M106 S0 ; turn off our print cooling fan
    G91 ; relative axis movement
    G1 Z3 F500 ; up 3mm
    G90 ; absolute axis movement
    G28 X U ; home the X and U carriages

    tpost0.g: ; I Create a new file and add below in it
    M106 R2 ; restore print cooling fan speed
    M116 P0 ; wait for tool 0 heaters to reach operating temperature
    M83 ; relative extruder movement
    G1 E2 F3600 ; extrude 2mm

    tpost1.g: ; I Create a new file and add below in it
    M106 R2 ; restore print cooling fan speed
    M116 P1 ; wait for tool 1 heaters to reach operating temperature
    M83 ; relative extruder movement
    G1 E2 F3600 ; extrude 2mm

    pause.g
    M83 ; relative extrusion
    G1 E-2 F3600 ; retract 2mm
    G91 ; relative movement
    G1 Z2 F500 ; raise head 2mm
    G90 ; absolute movement
    G1 S2 X-42 U442 F6000 ; park both heads

    resume.g
    G1 R1 X0 Y0 Z2 F5000 ; move to 2mm above the resume location
    G1 R1 X0 Y0 Z0 F500 ; move to the resume location
    M83 ; relative extrusion
    G1 E2 F3600 ; undo the retraction

    Here is my updated config.g

    :; Configuration file for Duet WiFi (firmware version 1.21)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Mon Dec 10 2018 01:47:39 GMT+0000 (GMT)

    ; General preferences
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves

    ; Network
    M550 P"iDEX" ; Set machine name
    M552 S1 ; Enable network
    M587 S"wifi" ; 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 S0 ; Drive 0 goes reverse
    M569 P1 S0 ; Drive 1 goes reverse
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S0 ; Drive 3 goes reverse
    M569 P4 S0 ; Drive 4 goes reverse
    M569 P5 S0 ; Drive 5 goes reverse

    M584 X0 Y1 Z2 U3 E4:5 ; Drive map X Y Z U E axis

    M350 X16 Y16 Z16 U16 E16:16 I1 ; Configure microstepping with interpolation
    M92 X160 Y160 Z1600 U160 E415:415 ; Set steps per mm
    M566 X600 Y600 Z12 U600 E120:120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X18000 Y18000 Z180 U18000 E1500:1500 ; Set maximum speeds (mm/min)
    M201 X3000 Y3000 Z100 U3000 E10000:10000 ; Set accelerations (mm/s^2)
    M906 X950 Y1300 Z950 U950 E950:950 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    **M208 X400 Y400 U444 Z300 S0 ; Set axis maxima
    M208 X-44 Y0 U0 Z0 S0 ; Set axis minima

    ; Endstops
    M574 X1 Y1 Z1 U2 S1 ; Set active low endstops**

    ; Z-Probe
    M558 P5 H5 F0 T6000 ; Set Z probe type to switch and the dive height + speeds
    G31 P500 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
    M557 X15:385 Y15:385 S20 ; Define mesh grid

    ; Heaters
    M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
    M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
    M143 H0 S120 ; Set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; Set temperature limit for heater 1 to 280C
    M305 P2 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 2
    M143 H2 S280 ; Set temperature limit for heater 2 to 280C

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

    ; Tools
    M563 P0 D0 H1 ; Define tool 0
    G10 P0 X0 Y0 U0 Z0 ; Set tool 0 axis offsets
    G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

    M563 P1 D1 H2 X3 ; Define tool 1
    G10 P1 X0 Y1 U0 Z0 ; Set tool 1 axis offsets
    G10 P1 R0 S0 ; Set initial tool 1 active and standby temperatures to 0C

    M563 P2 D0:1 H1:2 X0:3 ; Define tool 2 Ditto Printing
    G10 P2 X100 Y0 U-100 Z0 ; Set tool 2 axis Ditto Printing offsets
    G10 P2 R0 S0 ; Set initial tool 2 active and standby temperatures to 0C
    M576 P2 E1:1 ; Set mix rtio 100% on both extruders

    ; Automatic power saving
    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss

    ; Custom settings are not configured


  • administrators

    I don't have an IDEX machine, so can someone else pick this up?



  • Thank you, I will try to figure it out.


Log in to reply