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

    need help xand y wont move when homed but z does

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    14
    333
    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.
    • kevinlallshouseundefined
      kevinlallshouse
      last edited by

      config.g homeall.g homez.g homey.g homex.g resume.g pause.g tpre0.g tpost0.g tfree0.g stop.g sleep.g bed.g config.g

      kevinlallshouseundefined 1 Reply Last reply Reply Quote 0
      • kevinlallshouseundefined
        kevinlallshouse @kevinlallshouse
        last edited by Phaedrux

        M122
        8/10/2021, 1:35:48 PM	M122
        === Diagnostics ===
        RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05.1 running on Duet WiFi 1.02 or later
        Board ID: 0JD0M-9K662-MGPSS-6J9DL-3S46R-1SUYY
        Used output buffers: 3 of 24 (7 max)
        === RTOS ===
        Static ram: 25712
        Dynamic ram: 93140 of which 0 recycled
        Exception stack ram used: 272
        Never used ram: 11948
        Tasks: NETWORK(ready,628) HEAT(blocked,1232) MAIN(running,3736) IDLE(ready,160)
        Owned mutexes:
        === Platform ===
        Last reset 00:11:09 ago, cause: software
        Last software reset at 2021-08-10 13:24, reason: User, spinning module GCodes, available RAM 11772 bytes (slot 0)
        Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
        Error status: 0
        Free file entries: 10
        SD card 0 detected, interface speed: 20.0MBytes/sec
        SD card longest block write time: 0.0ms, max retries 0
        MCU temperature: min 36.2, current 36.6, max 36.9
        Supply voltage: min 23.9, current 24.0, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes
        Driver 0: standstill, SG min/max not available
        Driver 1: standstill, SG min/max not available
        Driver 2: standstill, SG min/max not available
        Driver 3: standstill, SG min/max not available
        Driver 4: standstill, SG min/max not available
        Date/time: 2021-08-10 13:35:43
        Cache data hit count 2033298794
        Slowest loop: 8.26ms; fastest: 0.06ms
        I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
        === Move ===
        Hiccups: 0, FreeDm: 160, MinFreeDm: 160, MaxWait: 0ms
        Bed compensation in use: none, comp offset 0.000
        === DDARing ===
        Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
        === Heat ===
        Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
        === GCodes ===
        Segments left: 0
        Stack records: 1 allocated, 0 in use
        Movement lock held by null
        http is idle in state(s) 0
        telnet is idle in state(s) 0
        file is idle in state(s) 0
        serial is idle in state(s) 0
        aux is idle in state(s) 0
        daemon is idle in state(s) 0
        queue is idle in state(s) 0
        autopause is idle in state(s) 0
        Code queue is empty.
        === Network ===
        Slowest loop: 20.17ms; fastest: 0.00ms
        Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
        HTTP sessions: 1 of 8
        - WiFi -
        Network state is running
        WiFi module is connected to access point 
        Failed messages: pending 0, notready 0, noresp 0
        WiFi firmware version 1.21
        WiFi MAC address 40:f5:20:0d:1d:54
        WiFi Vcc 3.42, reset reason Turned on by main processor
        WiFi flash size 4194304, free heap 11248
        WiFi IP address 192.168.0.13
        WiFi signal strength -51dBm, reconnections 0, sleep mode modem
        Socket states: 0 0 0 0 0 0 0 0
        
        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          Where are your endstops physically located?

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator
            last edited by

            ; Configuration file for Duet WiFi (firmware version 2.03)
            ; executed by the firmware on start-up
            ;
            ; generated by RepRapFirmware Configuration Tool v3.3.0 on Tue Aug 10 2021 13:34:29 GMT-0700 (Pacific Daylight Time)
            
            ; General preferences
            G90                                     ; send absolute coordinates...
            M83                                     ; ...but relative extruder moves
            M550 P"My Printer"                      ; set printer name
            
            ; Network
            M552 S1                                 ; enable network
            M586 P0 S1                              ; enable HTTP
            M586 P1 S0                              ; disable FTP
            M586 P2 S0                              ; disable Telnet
            
            ; Drives
            M569 P0 S1                              ; physical drive 0 goes forwards
            M569 P1 S1                              ; physical drive 1 goes forwards
            M569 P2 S1                              ; physical drive 2 goes forwards
            M569 P3 S0                              ; physical drive 3 goes backwards
            M584 X0 Y1 Z2 E3                        ; set drive mapping
            M350 X16 Y16 Z16 E16 I1                 ; configure microstepping with interpolation
            M92 X80.00 Y80.00 Z960.00 E104.77       ; set steps per mm
            M566 X1500.00 Y1500.00 Z60.00 E120.00   ; set maximum instantaneous speed changes (mm/min)
            M203 X9000.00 Y9000.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 X1500 Y1500 Z1500 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 X300 Y300 Z400 S0                  ; set axis maxima
            
            ; Endstops
            M574 X2 Y1 Z1 S1                        ; set active high endstops
            
            ; Z-Probe
            M558 P0 H5 F120 T6000                   ; disable Z probe but set dive height, probe speed and travel speed
            M557 X15:215 Y15:195 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
            
            ; Fans
            M106 P0 S0 I0 F500 H-1                  ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
            M106 P1 S1 I0 F500 H1 T45               ; set fan 1 value, PWM signal inversion and frequency. 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
            
            ; Miscellaneous
            M501                                    ; load saved parameters from non-volatile memory
            
            ; homeall.g
            ; called to home all axes
            ;
            ; generated by RepRapFirmware Configuration Tool v3.3.0 on Tue Aug 10 2021 13:34:29 GMT-0700 (Pacific Daylight Time)
            G91                    ; relative positioning
            G1 H2 Z5 F6000         ; lift Z relative to current position
            G1 H1 X305 Y-305 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
            G1 H2 X-5 Y5 F6000     ; go back a few mm
            G1 H1 X305 Y-305 F360  ; move slowly to X and Y axis endstops once more (second pass)
            G1 H1 Z-405 F360       ; move Z down stopping at the endstop
            G90                    ; absolute positioning
            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 Z5 F100            ; lift Z relative to current position
            ;G90                   ; absolute positioning
            

            Z-Bot CoreXY Build | Thingiverse Profile

            kevinlallshouseundefined 1 Reply Last reply Reply Quote 0
            • kevinlallshouseundefined
              kevinlallshouse @Phaedrux
              last edited by

              @phaedrux x axis is left if your looking at the printer i believe neg. end of x and back for y axis so positive end and z axis is low end or neg. just basic longer lk1 Cartesian fairly new to all this and appreciate the help been at it for a week

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                If the X endstop is on the left side and Y at the back where the bed has to move back to hit it, then your homing moves and endstop definitions are not correct.

                the homing move for both X and Y should be negative and the endstop definition should be M574 X1 Y1.

                You may also have to change the motor rotation direction to get the correct movement.

                -X should move left, +X should move right
                -Y should move to the nozzle to the front of the bed, +Y to the back.

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • kevinlallshouseundefined
                  kevinlallshouse
                  last edited by

                  ok so i want -x and + y how can i change this? in RepRap config?
                  sorry new to duet

                  Phaedruxundefined 1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by

                    Also, I notice you're still using firmware 2.05 which is quite old. I suggest that since you're starting fresh anyway you update to RRF3.

                    If you still have access to DWC. Upload these 3 zip files, one at a time in the system tab. Don't extract them. Reboot after each. Use M115 to verify the firmware has been applied.
                    https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip
                    https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip
                    https://github.com/Duet3D/RepRapFirmware/releases/download/3.3/Duet2and3Firmware-3.3.zip
                    That will get your firmware and DWC up to date.

                    You can see the change logs here:
                    https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x

                    For your config, might be a good idea to run through the configurator tool and generate a fresh set for RRF3.
                    https://configtool.reprapfirmware.org/Start

                    Backup your existing config files in the sys folder in case you want to switch back to RRF3. IT’s easy to switch back and forth, just upload the zip file for the version you want and then upload your config files.

                    These documents will come in handy during the conversion.
                    https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview
                    https://duet3d.dozuki.com/Wiki/Gcode

                    I've taken your config.json from the first post and opened it in the config tool and switched it to RRF3 and made some corrections.

                    configforyou.json

                    config.zip.txt

                    You can either open the configforyou.json file in the tool to take a look and export the files again, or download the config.zip.txt file, change the extension back to .zip and extract it for the same files.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 0
                    • Phaedruxundefined
                      Phaedrux Moderator @kevinlallshouse
                      last edited by

                      @kevinlallshouse said in need help xand y wont move when homed but z does:

                      ok so i want -x and + y how can i change this? in RepRap config?
                      sorry new to duet

                      No, you want -x and -y. Don't think of the bed moving back or forth, think of the nozzle position on the bed. 0,0 is in the front left corner of the bed. So to move the nozzle to 0,0 the bed has to move back.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • kevinlallshouseundefined
                        kevinlallshouse
                        last edited by

                        oh ok i see what your saying and thank you so much for all the help i cant tell ou how much it means i been trying to get it right for a week. ill post how it goes and thanks again

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