CoreXY confusion.... Please help me understand



  • Ok, I'll try to be as concise as possible, and ask my questions one at a time.

    I converted My FT-5 to a CoreXY with My Duet 2 Wifi from Filastruder, and My new Chimera (also from Tim! Thanks Bro!)

    My Alpha Motor, which I assume is P0 is plugged into the X axis. It is on the left front (towards me when standing in front of it)
    My Beta Motor is Plugged into what I assume is P1 is plugged into the Y axis.

    My Alpha and Beta Motors are mounted upside down.

    I want my Home Position to be front Left

    Y endstop is in the rear left Plugged into "Y stop" port
    X endstop is on the left side of the X carriage Plugged into "X stop" port.

    I have firmware 2.03
    I have M669 K1 defined

    When I move Either X or Y, only one motor turns, moving the head diagonally.

    I have tried every combination of reversed directions I can, and can neither get both motors to move, nor can I get Positive movement on either axis to respond as expected. No matter what, X Moves left when I move it in the + direction. I want travel to the right to be +

    On the Y, +Moves the axis towards the front. I want the Rear of the machine to be +

    I've read the wiki 10 times, but it's extremely confusing.

    Could you clarify a couple things?

    End stop "High" does this mean the "max" end of the axis? and Conversely, "low" the "Min"?

    Which "P" designations correspond to the ports on the board? They're called E1, E2, X, Y, Z on the board itself, but are referred to as "P" in the firmware. what are the "P" numbers for the corresponding ports please? I can't seem to find any diagram of this anywhere.

    Thanks so much! I bought a second Duet for a Wanhao upgrade, and it went flawlessly, as I finally got cartesian setup dialed in. This corexy business seems to have 800 experts on the subject all of whom have a different reason to tell me why I'm doing it wrong. Here's My Config.G I'm still in the middle of playing with direction, so it's probably all out of whack in that respect.

    One last thing, I keep getting an error (Photo attached)

    I'm so sorry for such a lengthy post, but I've tried to do it myself, and I'm fried!!
    0_1561491199075_2019-06-25 14.35.23-1.jpg
    ; Configuration file for Duet WiFi (firmware version 1.21)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Mon Jun 24 2019 21:07:24 GMT-0400 (Eastern Daylight Time)

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

    M669 K1 ; Select CoreXY mode

    ; Network
    M550 P"FT-5 COREXY" ; Set machine name
    M552 S1 ; Enable network
    M587 S"Lynch WiFi" P"internet" ; 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 ; Physical drive 0 goes forwards
    M569 P1 S1 ; Physical drive 1 goes forwards
    M569 P2 S1 ; Physical drive 2 goes forwards
    M569 P3 S1 ; Physical drive 3 goes forwards
    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
    M92 X80.00 Y80.00 Z400.00 E410.00 ; Set steps per mm
    M566 X900.00 Y900.00 Z12.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.00 Y800.00 Z800.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X300 Y300 Z0 S1 ; Set axis minima
    M208 X0 Y0 Z400 S0 ; Set axis maxima

    ; Endstops
    M574 X1 Y2 S1 ; Set active high endstops

    ; Z-Probe
    M574 Z1 S2 ; Set endstops controlled by probe
    M558 P1 H5 F120 T6000 ; Set Z probe type to unmodulated and the dive height + speeds
    G31 P500 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
    M557 X15:280 Y15:280 S20 ; Define mesh grid

    ; Heaters
    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

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

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

    ; Automatic saving after power loss is not enabled

    ; Custom settings are not configured

    ; Miscellaneous
    T0 ; Select first tool

    0_1561491209879_2019-06-25 15.24.25.jpg


  • administrators

    Have you tried individual motor omvements as described in https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter#Section_Movement_section ? Specifically, the part starting "Then test for the correct X motor movement by sending these commands from the console".

    The "Motor phase may be disconnected" messages indicate that you tried to move the motor connected to the E1 output (which in your configuration defaults to the second extruder drive) but you don't have a motor connected to it.



  • @steve-lynch

    Do what DC said but ....you've defined the axes minima and maxima reversed for X and Y.

    "; Axis Limits
    M208 X300 Y300 Z0 S1 ; Set axis minima
    M208 X0 Y0 Z400 S0 ; Set axis maxima
    "

    The minima should be 0 and the maxima 300 for X and Y (your Z is OK).

    To clarify your questions. End stop high end means the far end of the axis, low end is min. That is defined by "nnn" after the axis name (0 means no end stop, 1 means at the low end of the axis, 2 means at the high end of the axis). But don't get this confused with "active high" and "active low". That's the "S" parameter which, if you are using simple switches will be either 1 or 0 depending on if you've wired them normally closed or normally open.

    Yes, if the motors haven't been re-mapped using M584 then the default is that X is P0, Y is P1, Z is P2, the first extruder (E0) is P3 the second extruder (E1) is P4. (and yes, it can be confusing).


Log in to reply