• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

XY axis not right on Tron XY to DUET 3 conversion

Scheduled Pinned Locked Moved
My Duet controlled machine
3
4
188
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    pilot375
    last edited by 3 Jan 2022, 14:47

    I specifically purchased a Duet 3 and a Tron XY to learn how to use these boards to eventually build bigger machines. I can't get the movement right. It is a core XY and attached are the motor setups. I have tried various combinations unsuccessfully, as well as copied others online with no success.

    Thanks!

    ; Configuration file for Duet 3 (firmware version 3.3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.3.10 on Wed Dec 01 2021 11:33:12 GMT-0500 (Eastern Standard Time)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Duet 3" ; set printer name
    M669 K1 ; select CoreXY mode

    ; Network
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet

    ; Dual Z
    M584 X0 Y1 Z2:3 E4 ; Set drive mapping - 2 Z right, 3 Z left

    ; Drives
    M569 P0.0 S1 ; physical drive 0.0 goes forwards
    M569 P0.1 S1 ; physical drive 0.1 goes forwards
    M569 P0.2 S1 ; physical drive 0.2 goes forwards
    M569 P0.3 S1 ; physical drive 0.2 goes forwards
    M569 P0.4 S1 ; physical drive 0.4 goes forwards
    ; M584 X0.0 Y0.1 Z0.2 E0.4 ; set drive mapping
    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z400.00 E94.00 ; set steps per mm
    M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X330 Y330 Z400 S0 ; set axis maxima

    ; Endstops
    M574 X2 S1 P"!io0.in" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin !io0.in
    M574 Y1 S1 P"!io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin !io1.in
    M574 Z1 S2 ; configure Z-probe endstop for low end on Z

    ; Z-Probe
    M558 P5 C"^io3.in" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds
    G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
    M557 X15:300 Y15:300 S20 ; define mesh grid

    ; Heaters
    M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
    M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
    M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
    M140 H0 ; map heated bed to heater 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M308 S1 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp1
    M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
    M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
    M143 H1 S240 ; set temperature limit for heater 1 to 240C

    ; Fans
    M950 F0 C"out8" Q500 ; create fan 0 on pin out8 and set its frequency
    M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"out9" Q500 ; create fan 1 on pin out9 and set its frequency
    M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
    M950 F1 C"out7" Q500 ; create fan 1 on pin out7 and set its frequency
    M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on

    ; Tools
    M563 P0 D0 H1 F0 ; 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

    ; Custom settings are not defined

    ; Fans
    M950 F0 C"out4" Q500 ; create fan 0 on pin out4 and set its frequency
    M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"out9" Q500 ; create fan 1 on pin out9 and set its frequency
    M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on

    M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
    M106 C"PartCoolingFan" P0 S0 H-1 B1 ; set fan 0 value. Thermostatic control is turned off
    M950 F1 C"fan1" Q500 ;HOTEND FAN create fan 1 on pin fan1 and set its frequency
    M106 C"HotendFAN" P1 H1 T45 ; set fan 1 value. Thermostatic control is turned on

    1 Reply Last reply Reply Quote 0
    • undefined
      rjenkinsgb
      last edited by rjenkinsgb 1 Mar 2022, 19:49 3 Jan 2022, 19:48

      This is mine for a heavily modified TronXY X5SA Pro.

      The X-Y-Z-Z setup should be OK as it is, but you will presumably need to modify for a single extruder driven from the main board and change / remove the tool coupler and P20/P21/P22 toolboard I/Os

      ; Configuration file for Duet 3 (firmware version 3.3)
      ; executed by the firmware on start-up
      ;
      ; Robert Jenkins for "Frankentron" toolchanging TromnXY X5SA Pro
      
      ; General preferences
      M575 P1 S1 B57600                            ; enable support for PanelDue
      G90                                          ; send absolute coordinates...
      M83                                          ; ...but relative extruder moves
      M550 P"Frankentron"                               ; set printer name
      M669 K1                                      ; select CoreXY mode
      
      ; CAN Bus boot wait
      G4 S2   ;wait for expansion boards to start
      
      ; Drives
      M569 P0.0 S0                                 ; physical drive 0.0 X direction
      M569 P0.1 S0                                 ; physical drive 0.1 Y direction
      M569 P0.2 S0                                 ; physical drive 0.2 Z1 direction
      M569 P0.3 S0                                 ; physical drive 0.3 Z2 direction
      M569 P0.4 S1                                 ; physical drive 0.4 Tool Change coupler direction
      M569 P20.0 S1                                ; physical drive 20.0 Tool 0 extruder direction
      M569 P21.0 S1                                ; physical drive 21.0 Tool 1 extruder direction
      M569 P22.0 S0                                ; physical drive 22.0 Tool 2 extruder direction
      
      ;
      M584 X0.0 Y0.1 Z0.2:3 C0.4 E20.0:21.0:22.0    					; set drive mapping
      M671 X-102:508 Y149:149 S0.5					 				; set leadscrew left:right coordnates
      M350 X16 Y16 Z16 E16:16:16 I1                   				; configure microstepping with interpolation
      M350 C8 I0
      M92 X80.00 Y80.00 Z400 C100 E409:418:409     					; set steps per mm
      M566 X300.00 Y300.00 Z60.00 E3000.00:3000.00:3000.00    		; set maximum instantaneous speed changes (mm/min)
      M203 X10000.00 Y10000.00 Z1000.00 E3600.00:3600.00:3600.00     	; set maximum speeds (mm/min)
      M201 X2500.00 Y2500.00 C500.00 Z60.00 E5000.00:5000.00:5000.00 	; set accelerations (mm/s^2)
      M906 X1600 Y1600 Z1600 C400 E800:800:800 I30                 	; set motor currents (mA) & motor idle factor in %
      M84 S30                                      					; Set idle timeout
      ;
      ; Hemera: 409 nominal; could be anything from 386 steps/mm upward; 397.5 mid range
      ;
      ; Titan: 418.5 nominal
      ;
      
      
      ; Axis Limits
      M208 X-2.2 Y-3 Z0 C0 S1                      ; set axis minima
      M208 X306 Y301 Z300 C500 S0                  ; set axis maxima
      
      ; Endstops
      M574 X1 S1 P"io5.in"                         ; configure active-high endstop for low end on X via pin io5.in
      M574 Y1 S1 P"io2.in"                         ; configure active-high endstop for low end on Y via pin io2.in
      M574 Z1 S1 P"io3.in+io4.in"                  ; configure active-high endstop for low end on Z via pin io3.in
      
      ; TC Coupler
      M574 C1 S3 									 ; Stall detect coupler at low end of its range
      
      ;
      ; DEBUG - disable home requirements
      ;
      M564 H0
      
      
      ;Stall Detection
      M915 C S5 F0 H200 R4700						 ; Coupler
      M915 X Y Z S5 F0 H400 R4700					 ; Axes
      
      ; Z-Probe - BLTouch
      M950 S0 C"io7.out"                           ; create servo pin 0 for BLTouch
      M558 P9 C"^io7.in" H4 F60 T6000             ; set Z probe type to bltouch and the dive height + speeds
      G31 P500 X-46 Y4.5 Z2.840                    ; set Z probe trig value, offset (from TC face centre)+ trigger height
      
      ; TEST - E3D switch probe
      ;M558 P8 C"io6.in" H4 F60 T6000
      ;G31 P500 X0 Y0 Z3.25                    ; set Z probe trig value, offset (from TC face centre)+ trigger height
      
      ;
      M557 X10:290 Y0:280 S70                      ; define mesh grid
      
      ; Heaters
      ; H0 = Bed
      M308 S0 P"temp3" Y"thermistor" A"BED" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
      M950 H0 C"out0" T0                           ; create bed heater output on out0 and map it to sensor 0
      M140 H0                                      ; map heated bed to heater 0
      M143 H0 S120                                 ; set temperature limit for heater 0 to 120C
      
      ; H1 = Tool 0
      M308 S1 P"20.temp0" Y"PT1000" A"T0"
      M950 H1 C"20.out0" T1                        ; create nozzle heater output on 20.out0 and map it to sensor 1
      M307 H1 B0 S1.00                             ; disable bang-bang mode for heater  and set PWM limit
      M143 H1 S280                                 ; set temperature limit for heater 1 to 280C
      
      ; H2 = Tool 1
      M308 S2 P"21.temp0" Y"thermistor" A"T1" T100000 B4725 C7.06e-8
      M950 H2 C"21.out0" T2                        ; create nozzle heater output on 20.out0 and map it to sensor 1
      M307 H2 B0 S1.00                             ; disable bang-bang mode for heater  and set PWM limit
      M143 H2 S280                                 ; set temperature limit for heater 1 to 280C
      
      ; H3 = Tool 2
      M308 S3 P"22.temp0" Y"thermistor" A"T2" T100000 B4725 C7.06e-8
      M950 H3 C"22.out0" T3                        ; create nozzle heater output on 20.out0 and map it to sensor 1
      M307 H3 B0 S1.00                             ; disable bang-bang mode for heater  and set PWM limit
      M143 H3 S280                                 ; set temperature limit for heater 1 to 280C
      
      
      ; Fans
      ; Tool 0
      M950 F0 C"20.out1" Q500                      ; create fan 0 on pin 20.out1 and set its frequency
      M106 P0 S0 H-1                               ; set fan 0 value. Thermostatic control is turned off
      M950 F1 C"20.out2" Q500                      ; create fan 1 on pin 20.out2 and set its frequency
      M106 P1 S1 H1 T45                            ; set fan 1 value. Thermostatic control is turned on
      
      ; Tool 1
      M950 F2 C"21.out1" Q500                      ; create fan 0 on pin 21.out1 and set its frequency
      M106 P2 S0 H-1                               ; set fan 0 value. Thermostatic control is turned off
      M950 F3 C"21.out2" Q500                      ; create fan 1 on pin 21.out2 and set its frequency
      M106 P3 S1 H2 T45                            ; set fan 1 value. Thermostatic control is t
      
      ; Tool 2
      M950 F4 C"22.out1" Q500                      ; create fan 0 on pin 22.out1 and set its frequency
      M106 P4 S0 H-1                               ; set fan 0 value. Thermostatic control is turned off
      M950 F5 C"22.out2" Q500                      ; create fan 1 on pin 22.out2 and set its frequency
      M106 P5 S1 H3 T45                            ; set fan 1 value. Thermostatic control is turned on
      
      
      ; Tools
      ; T0
      M563 P0 S"Hem-HT" D0 H1 F0                   ; define tool 0: Heater 1, Print cooling fan = Fan 0
      G10 P0 X0 Y0 Z-2.8                           ; set tool 0 axis offsets
      G10 P0 R0 S210                               ; set initial tool 0 active and standby temperatures to 0C
      M572 D0 S0.03                                ; Pressure advance - Direct drive
      M207 P0 S2.0 F2400 Z0.075                    ; Firmware retraction setting
      
      ; T1
      M563 P1 S"V6"  D1 H2 F2                      ; define tool 1: Heater 2, Print cooling fan = Fan 2
      G10 P1 X0 Y0 Z-1.75                          ; set tool 0 axis offsets
      G10 P1 R0 S210                               ; set initial tool 0 active and standby temperatures to 0C
      M572 D1 S0.4                                 ; Pressure advance - Long bowden
      M207 P1 S2.0 F2400 Z0.075                    ; Firmware retraction setting
      
      ; T2
      M563 P2 S"Hemera" D2 H3 F4                   ; define tool 2: Heater 3, Print cooling fan = Fan 4
      G10 P2 X0 Y0 Z-3.35                          ; set tool 0 axis offsets
      G10 P2 R0 S210                               ; set initial tool 0 active and standby temperatures to 0C
      M572 D2 S0.03                                ; Pressure advance - Direct drive
      M207 P2 S2.0 F2400 Z0.075                    ; Firmware retraction setting
      
      ; T3
      M563 P3 S"ASMBL"                             ; define tool 3
      G10 P3 X0 Y0 Z-10                            ; set tool 0 axis offsets
      G10 P3 R0 S0                                 ; set initial tool 0 active and standby temperatures to 0C
      
      ; Accelerometer
      ;M955 P0 C"spi.cs3+spi.cs2"
      
      ; Custom settings are not defined
      
      ; Heater tuning
      ; Bed
      M307 H0 R0.170 K0.544:0.000 D2.65 E1.35 S1.00 B0
      ; Tool 0
      M307 H1 B0 R1.968 C205.1:191.0 D5.43 S1.00 V23.6
      ; Tool 1
      M307 H2 B0 R2.215 C202.7:195.4 D5.24 S1.00 V23.8
      ; Tool 2
      M307 H3 B0 R1.834 C254.1:203.5 D3.52 S1.00 V23.9
      ;
      

      Robert J.

      Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

      1 Reply Last reply Reply Quote 0
      • oliofundefined
        oliof
        last edited by 3 Jan 2022, 21:16

        maybe https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter#Section_Testing_motor_movement is helpful

        <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

        1 Reply Last reply Reply Quote 2
        • undefined
          pilot375
          last edited by 3 Feb 2022, 16:11

          Thanks! Unfortunately, I had to leave for work and I should be able to try these finally next week!!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA