Software not respecting axis minimums.



  • So I'm making adjustments to axis minimum and max due to changing some parts, and for some reason whatever i set the axis minimum to, it will allow it to move 9 millimeters past that. I.E axis minimum is -10, and the control will let me go to -19, despite this not being possible. Its always -9 for some reason. When i set the min to -30, it would allow it to go -9 more to -39. I cant find anything in my homing code or config code but maybe someone with a sharper eye may find something? I dunno why its doing this.
    if theres any other files i should post please let me know.

    Config file

    ; Configuration file for Duet WiFi (firmware version 1.20 or newer)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Thu Jun 21 2018 19:14:32 GMT-0700 (Pacific Daylight Time)
    
    ;------------------------------------------------------------------------------------------------------------------
    
    ; General preferences
    G90                               ; Send absolute coordinates...
    M83                               ; ...but relative extruder moves
    
    M667 S1                           ; Select CoreXY mode
    
    ; Network
    M550 PBlue the D-Bot              ; Set machine name
    
    M552 S1                           ; Enable network
    M586 P0 S1                        ; Enable HTTP
    M586 P1 S0                        ; Disable FTP
    M586 P2 S0                        ; Disable Telnet
    
    ; Drives
    M569 P0 S1                     		     ; Drive 0 goes forwards
    M569 P1 S1                     	         ; Drive 1 goes forwards
    M569 P2 S1                      	     ; Drive 2 goes forwards
    M569 P3 S0                     	         ; Drive 3 goes forwards
    M569 P4 S1                      	     ; Drive 4 goes forwards
    M350 X16 Y16 Z16 E16 I1		       		 ; Configure microstepping with interpolation
    M92 X100 Y100 Z423 E394 ; :870(E2)       ; Set steps per mm (Start:Z415) (chimera value 870)
    M566 X1500 Y1500 Z240 E600:600       	 ; Set maximum instantaneous speed changes (mm/min) (OG E600:600)
    M203 X18000 Y18000 Z2400 E3600:3600 	 ; Set maximum speeds (mm/min)
    M201 X1750 Y1750 Z250 E2000:2000     	 ; Set accelerations (mm/s^2)
    M906 X1000 Y1000 Z1000 E850:850 I50 	 ; Set motor currents (mA) and motor idle factor in percent
    M84 S30                           		 ; Set idle timeout
    
    ; Axis Limits
    M208 X-10 Y-10 Z0 S1                ; Set axis minima (chimera/original  y value = 0)
    M208 X280 Y185 Z300 S0            ; Set axis maxima
    
    ; Endstops
    M574 X1 Y2 S3                     ; Set endstops controlled by motor load detection
    
    ; Z-Probe
    M574 Z1 S2                        ; Set endstops controlled by probe
    M307 H3 A-1 C-1 D-1
    M558 P9 H5 F750 T7200
    G31 X0 Y23 Z02.3 P25             ; Probe Offset - Increase for Nozzle down, Decrease for Nozzle up (chimera value .6)
    M557 X5:295 Y23:188 S50           ; Define mesh grid
    
    ; Heaters
    M305 P0 T100000 B4138 C0 R4700    ; Set thermistor + ADC parameters for heater 0
    ;	Heater 1
    M143 H0 S110                      ; Set temperature limit for heater 0 to 110C
    M305 P1 T100000 B4138 C0 R4700    ; Set thermistor + ADC parameters for heater 1
    M143 H1 S275                      ; Set temperature limit for heater 1 to 275C
    								  ;	Heater 2 (disable for Titan Aero)
    ;M305 P2 T100000 B4138 C0 R4700   ; Set thermistor + ADC parameters for heater 2
    ;M143 H2 S275                     ; Set temperature limit for heater 2 to 275C
    
    ; Fans
    M106 P0 S0 I0 F500 H-1            ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S165 T55 H1:2      	  	  ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P2 S0 I0 F500 H-1            ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off
    
    ; Tools
    M563 P0 D0 H1                     ; Define tool 0
    G10 P0 X-9 Y0 Z0                  ; Set tool 0 axis offsets
    G10 P0 R0 S0                      ; Set initial tool 0 active and standby temperatures to 0C
    
    ;------------------------------------------------------------------------------------------------------------------
    ; Next 3 lines are for Chimera config. Disabled for Titan Aero
    ; IMPORTANT: Titan Aero Thermistors are swapped at the board. Swap them back for Chimera Use. NOT THE CASE FOR V2
    ;------------------------------------------------------------------------------------------------------------------
    
    ;M563 P1 D1 H2                     ; Define tool 1
    ;G10 P1 X9 Y0 Z0                   ; Set tool 1 axis offsets
    ;G10 P1 R0 S0                      ; Set initial tool 1 active and standby temperatures to 0C
    
    ; Automatic saving after power loss is not enabled
    
    ; Custom settings are not configured
    
    ; Miscellaneous
    T0                                ; Select first tool. Change to T-1 for use with Chimera
    

    Home All Gcode

    ;------Home X Axis------
    M915 X S1 F1 R0			; configure stall detection
    M574 X1 S3			; set endstops to use motor stall
    M913 X70 Y70			; reduce motor current to 70% to prevent belts slipping
    G91				; use relative positioning
    M566 X200 Y200    		; Set maximum instantaneous speed changes (mm/min)
    M201 X250 Y250   		; Set accelerations (mm/s^2)
    G1 S1 X-500 F2200              	; course home X (OG value 320)
    G1 X+10				; move away from end chimera/original value = 5)
    G90				; back to absolute positioning
    M400				; make sure everything has stopped before we reset the motor currents
    M913 X100 Y100			; motor currents back to normal
    M574 X2 S1 			; set endstops back to normal
    G92 X0 			; Sets proper head position (OGVal -21)
    ;------Home Y Axis------
    M915 Y S1 F1 R0			; configure stall detection
    M574 Y2 S3			; set endstops to use motor stall
    M913 Y70 X70			; reduce motor current to 70% to prevent belts slipping
    G91				; use relative positioning
    M566 X200 Y200       		; Set maximum instantaneous speed changes (mm/min)
    M201 X250 Y250     		; Set accelerations (mm/s^2)
    G1 S1 Y+320  F2200             	; course home X
    G1 Y-5				; move away from end
    G90				; back to absolute positioning
    M400				; make sure everything has stopped before we reset the motor currents
    M913 Y100 X100			; motor currents back to normal
    M574 Y2 S1 			; set endstops back to normal
    G92 Y185			; Set Head position to proper location
    ;-----Home Z Axis------
    G91                		; relative positioning
    G1 Z5 F7200 S2     		; lift Z relative to current position
    G90                		; absolute positioning
    G1 X141 Y65.5 F7200 		; go to first probe point
    G30                		; home Z by probing the bed
    
    ; Uncomment the following lines to lift Z after probing
    G91               		; relative positioning
    G1 Z5 F120 S2     		; lift Z relative to current position
    G90               		; absolute positioning
    ;------Return to right Rear Corner------
    G1 X5 Y65.5 F7200 		;move to left 
    M566 X1200 Y1200       		; Set maximum instantaneous speed changes (mm/min)
    M201 X1500 Y1500     		; Set accelerations (mm/s^2)
    

    Homex Gcode

    ;------Home X Axis------
    M915 X S1 F1 R0			; configure stall detection
    M574 X1 S3			; set endstops to use motor stall
    M913 X70 Y70			; reduce motor current to 70% to prevent belts slipping
    G91				; use relative positioning
    M566 X200 Y200    		; Set maximum instantaneous speed changes (mm/min)
    M201 X250 Y250   		; Set accelerations (mm/s^2)
    G1 S1 X-500 F2200              	; course home X (OGvalue 320)
    G1 X+10				; move away from end (chimera/original value = 5)
    G90				; back to absolute positioning
    M400				; make sure everything has stopped before we reset the motor currents
    M913 X100 Y100			; motor currents back to normal
    M574 X2 S1 			; set endstops back to normal
    G92 X0 			; Sets proper head position (OGVal 21)
    M566 X1200 Y1200       		; Set maximum instantaneous speed changes (mm/min)
    M201 X1500 Y1500     		; Set accelerations (mm/s^2)
    


  • @Turbo why does your tool have an offset of -9?
    Line 67 of the config.g



  • @jay_s_uk I knew i was blind. thank you. It was from an old config.


Log in to reply