Homing issues setting up CR-10S S4
-
I've been running a Duet Wifi in my custom CoreXY for going on 7 years now. Love it and that's why I've decided to drop one in my CR-10S S4. Having major issues trying to get it to home. I'm using the original 2 wire endstops and have them wired to the outer pins. They show the proper states when sending M119. I'll cut to the chase and show all my info in hopes someone will tell me what I'm doing wrong. RRF 3.4.5 and latest DWC. X endstop is low end. Y endstop is high end. BLTouch for Z..................;
Configuration file for Duet WiFi (firmware version 3.3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.3.10 on Mon Jan 24 2022 20:50:56 GMT-0500 (Eastern Standard Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"CR-10S S4" ; set printer name
M564 H0 ; move axes W/O homingM564 H0 ; move axes W/O homing
M575 P1 B57600 S1 ; set baudrate
; 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 forwards
M569 P1 S0 ; physical drive 1 goes forwards
M569 P2 S1 ; physical drive 2 goes forwards
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 X80.00 Y80.00 Z400.00 E869 ; set steps per mm
M566 X600.00 Y600.00 Z30.00 E20.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z900.00 E1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
M906 X800 Y900 Z900 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 X400 Y400 Z350 S0 ; set axis maxima; Endstops
M574 X1 S0 P"!xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop
M574 Y2 S0 P"!ystop" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin ystop
;M574 X1 Y2 S1 ; X home to min. Y home to max. Normally Closed limit switches.
M574 Z1 S2 ; Define Z to use Probe. Home to Min; Z-Probe
M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
M558 P9 C"^zprobe.in" H5 F120 T6000
G31 P500 X-41.8 Y32.2 Z2.1
M557 X0:340 Y0:350 S50 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 R0.977 K0.312:0.000 D2.76 E1.35 S1.00 B0 ; disable 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"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat 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; Fans
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P0 S0 H-1 ; set fan 1 value. Thermostatic control is turned off
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P1 S1 H1 T45 ; set fan 0 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
M501HOMEALL:
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.3.10 on Mon Jan 24 2022 20:50:56 GMT-0500 (Eastern Standard Time)
G91 ; relative positioning
G1 H2 Z4 F600 ; lift Z relative to current position
G1 H1 X-410 Y410 F3000 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X-410 ; home X axis
G1 H1 Y410 ; home Y axis
G1 X5 Y-5 F6000 ; go back a few mm
G1 H1 X-410 F360 ; move slowly to X axis endstop once more (second pass)
G1 H1 Y410 ; then move slowly to Y axis endstop
G90
G1 X200 Y200 F6000
G30; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioningHOMEX:
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool v3.3.10 on Mon Jan 24 2022 20:50:56 GMT-0500 (Eastern Standard Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-41O F3000 ; move quickly to X axis endstop and stop there (first pass)
G1 X5 F6000 ; go back a few mm
G1 H1 X-410 F360 ; move slowly to X axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioningHOMEY:
G91 ; relative mode
G1 H2 Z4 F200 ; raise head to avoid dragging nozzle over the bed
G1 H1 Y410 F3000 ; move up to 410mm in the Y direction, stopping if the homing switch is triggered
G1 Y-4 F600 ; move slowly 4mm in the -Y direction
G1 S1 Y10 ; move slowly 10mm in the Y direction, stopping at the homing switch
G1 S2 Z-4 F200 ; lower the head again
G90 ; back to absolute modeHOMEZ:
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.3.10 on Mon Jan 24 2022 20:50:56 GMT-0500 (Eastern Standard Time)
G91 ; relative positioning
G1 H2 Z4 F200 ; raise head 4mm to ensure it is above the Z probe trigger height
G90 ; back to absolute mode
G1 X200 Y200 F2000 ; put head over the centre of the bed, or wherever you want to probe
G30 ; lower head, stop when probe triggered and set Z to trigger height; Uncomment the following lines to lift Z after probing
G91 ; relative positioning
G1 Z5 F100 ; lift Z relative to current position
G90 ; absolute positioningM122:
M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.5 (2022-11-30 19:36:12) running on Duet WiFi 1.02 or later
Board ID: 0JD0M-9P6M2-NW4SN-6JKD2-3S46L-9VS3M
Used output buffers: 2 of 26 (23 max)
=== RTOS ===
Static ram: 23836
Dynamic ram: 75032 of which 0 recycled
Never used RAM 13140, free system stack 152 words
Tasks: NETWORK(notifyWait,13.9%,237) HEAT(notifyWait,0.0%,333) Move(notifyWait,0.0%,314) MAIN(running,86.0%,442) IDLE(ready,0.0%,30), total 100.0%
Owned mutexes:
=== Platform ===
Last reset 00:31:57 ago, cause: software
Last software reset at 2023-02-21 20:22, reason: User, GCodes spinning, available RAM 12972, slot 0
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Aux0 errors 0,0,263
Step timer max interval 0
MCU temperature: min 39.4, current 40.0, max 40.6
Supply voltage: min 24.1, current 24.4, max 24.7, under voltage events: 0, over voltage events: 0, power good: yes
Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min n/a
Driver 1: standstill, SG min n/a
Driver 2: standstill, SG min n/a
Driver 3: standstill, SG min n/a
Driver 4: standstill, SG min n/a
Driver 5:
Driver 6:
Driver 7:
Driver 8:
Driver 9:
Driver 10:
Driver 11:
Date/time: 2023-02-21 20:54:55
Cache data hit count 4294967295
Slowest loop: 9.64ms; fastest: 0.18ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest read time 1.4ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 83, segments created 3, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 1, completed 1, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== AuxDDARing ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
=== GCodes ===
Segments left: 0
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
USB is idle in state(s) 0
Aux is idle in state(s) 0
Trigger is idle in state(s) 0
Queue is idle in state(s) 0
LCD is idle in state(s) 0
Daemon is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty
=== Network ===
Slowest loop: 101.93ms; fastest: 0.07ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
HTTP sessions: 1 of 8
= WiFi =
Network state is active
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 2
WiFi firmware version 1.27
WiFi MAC address 84:0d:8e:b3:b4:95
WiFi Vcc 3.40, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 23824
WiFi IP address 192.168.0.27
WiFi signal strength -68dBm, mode 802.11n, reconnections 0, sleep mode modem
Clock register 00002002
Socket states: 0 0 0 0 0 0 0 0Thanks!
-
@GBusy24 said in Homing issues setting up CR-10S S4:
Y endstop is high end.
Are you sure about that? If the endstop is at the rear for the bed, the nozzle is actually at the front and low end when homed.
Y- should move the nozzle to the front of the bed, Y+ to the back.
-
@Phaedrux Thanks. I will change Y endstop to low-end then and see what I get
-
@Phaedrux, I've changed the Y homing to low end, but now my endstops show triggered when they're not. I've researched and really haven't found an answer. As stated I have the 2 wire endstops. should I flip the wires on the pins?
-
Show me your current config.
To change the trigger state you either add or remove a
!
to the pin name for the endstop. So unless you changed that in the config I suspect a wiring issue?Did you physically move the endstop, or change the config?
-
@Phaedrux, that's what I was looking for. The reference to the '!'. I had forgotten about it. Thank you kindly.