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

    Y axis gains unasked for limits after homing

    Scheduled Pinned Locked Moved
    Firmware installation
    3
    7
    273
    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.
    • MJLewundefined
      MJLew
      last edited by

      I'm setting up a newly made printer with a rotating spindle in place of the Y-axis. I need to have no min or max limits on Y so it can spin without end. I have put no Y limits into the config.g file, and immediately after I start the board the Y-axis works as expected, but after homing all axes with homeall.g the y axis now will not go outside 0 and 200 (mm, I suppose, but really degrees of rotation). Re-starting removes the limits until I home again.
      There is no command to put limits onto Y in the homeall.g file. What have I done wrong?

      M115 result: RepRapFirmware for Duet 3 Mini 5+ FIRMWARE_VERSION: 3.4.4 ELECTRONICS: Duet 3 Mini5plus WiFi FIRMWARE_DATE: 2022-10-20 16:18:28

      Config file :

      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.14 on Thu Nov 03 2022 16:12:44 GMT+1100 (Australian Eastern Daylight Time)
      
      ; General preferences
      M575 P1 S1 B57600                              ; enable support for PanelDue
      G90                                            ; send absolute coordinates...
      M83                                            ; ...but relative extruder moves
      M550 P"Spindle pen 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 S0                                     ; physical drive 0 goes backwards
      M569 P1 S1                                     ; physical drive 1 goes forwards
      M569 P2 S0                                     ; physical drive 2 goes backwards
      M569 P3 S1                                     ; physical drive 3 goes forwards
      M584 X0 Y1 Z2 E3                               ; set drive mapping
      M350 X16 Y16 Z16 E16 I1                        ; configure microstepping with interpolation
      M92 X305.00 Y44.44 Z496.00 E420.00             ; set steps per mm
      M566 X5400.00 Y900.00 Z600.00 E120.00           ; set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z1000 E1200.00        ; set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z20.00 E250.00            ; set accelerations (mm/s^2)
      M906 X600 Y600 Z600 E600 I30                   ; set motor currents (mA) and motor idle factor in per cent
      M84 S30                                        ; Set idle timeout
      
      ; Axis Limits
      M208 X0 Z0 S1                               ; set axis minima
      M208 X85 Z100 S0                          ; set axis maxima
      
      ; Endstops
      M574 X1 S1 P"io1.in"                         ; configure switch-type (e.g. microswitch) endstop for low end on X via pin io0.in
      M574 Z2 S1 P"io2.in"                         ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin io1.in
      
      ;allow movement without homing
      M564 H0 S1
      
      ; Z-Probe
      M558 P0 H5 F120 T6000                          ; disable Z probe but set dive height, probe speed and travel speed
      M557 X15:20 Y15:195 S20                        ; define mesh grid
      
      ; Heaters
      M308 S0 P"temp0" Y"thermistor" T100000 B4138  ; configure sensor 0 as thermistor on pin ...
      M950 H0 C"out1" T0                           ; create nozzle heater output on e0heat and map it to sensor 0
      M307 H0 B0 S1.00                               ; disable bang-bang mode for heater  and set PWM limit
      M143 H0 S280                                   ; set temperature limit for heater 1 to 280C
      
      ; Fans
      M950 F0 C"out5" Q500                           ; create fan 0 on pin fan1 and set its frequency
      M106 P0 S3 H0 T45                              ; set fan 0 value. Thermostatic control is turned on
      
      ; Tools
      M563 P0 S"Extruder" D0 H0 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
      T0                                             ; select first tool
      
      
      code_text
      

      And the homeall file here:

      
      ; File homeall.g
      G91 ; relative movement
      G1 H2 Z4 F600 ; ensure head is clear of the bed
      G1 H1 X-200 F3000 ; move radius towards min until the endstop switch is triggered
      G1 H2 X5 ; move radius in by 5mm
      G1 H1 X-20 F600 ; move radius slowly to the endstop switch again
      ; Home bed
      ;G1 H2 X-30 ; move to 30mm from centre of bed
      G92 Y0 ; define current position as Y0
      G90 ; absolute movement
      ; Home Z
      G1 X5 Y0 ; put head near the centre of the bed, or wherever you want to probe
      G91 ; relative movement
      G1 H1 Z400 F900 ; raise head to the Z probe trigger height
      G1 Z-4 F400; back off
      G1 H1 Z400 F100 ;slow probe
      G92 Z100  ;set this to the correct value!
      G90 ; back to absolute mode
      G1 Z5 F600; put head over the centre of the bed, or wherever you want to probe
      
      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @MJLew
        last edited by

        @MJLew theres currently no support for endless rotating spindles. you still need to put a limit in

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        MJLewundefined 1 Reply Last reply Reply Quote 0
        • MJLewundefined
          MJLew @jay_s_uk
          last edited by

          @jay_s_uk OK, that's a shame. Is there an upper limit on the numbers I can put in?

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @MJLew
            last edited by

            @MJLew no that i'm aware of. just put a large number in, reboot and then run M98 P"config.g" and it'll tell you if theres something it doesn't like

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            MJLewundefined 2 Replies Last reply Reply Quote 0
            • MJLewundefined
              MJLew @jay_s_uk
              last edited by

              @jay_s_uk Thanks. Will do.

              1 Reply Last reply Reply Quote 0
              • MJLewundefined
                MJLew @jay_s_uk
                last edited by

                @jay_s_uk said in Y axis gains unasked for limits after homing:

                M98 P"config.g"

                Plus and minus 10 million seem to be acceptable and should suffice.

                1 Reply Last reply Reply Quote 1
                • oliofundefined
                  oliof
                  last edited by

                  Alternately set M564 S0 to disable axis limits. Be aware though that this affects all axes. I'd go with your approach of setting very high limits for an "endless" axis.

                  <>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 0
                  • First post
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA