looking for an example of rrf3.2.2 corexy with bltouch config
-
@sg2020 My guess you are on a Duet 2 wifi , if that is the case it goes some thing like this.
; Z-Probe M558 P9 C"^zprobe.in" H2 F100 T8000 A5 ; set Z probe type to bltouch and the dive height + speeds M950 S0 C"exp.heater7" ; create servo pin 0 for BLTouch G31 P500 X 57.5 Y-10.5 Z 1.6 ; set Z probe trigger value, offset and trigger height 1.7 M557 X65:275 Y50:290 S30 ; define mesh grid .. 30 , 60 , 80
But you may need to change to the heater port to the one you are using .
ALSO the deployprobe.g ( M280 P0 S10 ) and retractprobe.g ( M280 P0 S90 ) are different.oops you want the full config.g ? , first say which board you are using because the pin names are different between all the boards.
-
@sg2020 here’s mine, for a TronXY X5S with BLTouch: https://forum.duet3d.com/post/230927
Ian
-
thank you everyone for the replies because I've been stuck.
Corexy
duet 2 wifi 2 board. a very early version, one of the early bird boards.
hooked up my bltouch according to without expansion board https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_BLTouchIt was working great on RRF 2.1 but stopped working when I upgraded to 3.2.2
What works:
web control
Home X and Home Y works
bltouch lights up and deploys/retracts during startup
sending deployprobe.g ( M280 P0 S10 ) and retractprobe.g ( M280 P0 S90 )what doesn't work:
z home
height map
deploy/retract macros
I haven't done anything with the heater, fans or tools sections yet. -
here is my config.g
; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Jun 06 2021 18:17:52 GMT-0700 (Pacific Daylight Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"My Printer" ; set printer name
M669 K1 ; select CoreXY mode
M564 S0 H0 ; allow movement outside of boundry, before homing; 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 S1 ; physical drive 2 goes forwards
M569 P3 S0 ; physical drive 3 goes backwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X32 Y32 I0 ; configure microstepping without interpolation
M350 Z16 E16 I1 ; configure microstepping with interpolation
M350 X32 Y32 Z16 E16 I1 ; Configure microstepping with interpolation
M92 X160.00 Y160.00 Z3230.00 E820.00 ; set steps per mm
M566 X900.00 Y900.00 Z60.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 X1600 Y1600 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 X550 Y330 Z400 S0 ; set axis maxima; Endstops
M574 X2 S1 P"xstop" ; configure active-high endstop for high end on X via pin xstop
M574 Y2 S1 P"ystop" ; configure active-high endstop for high end on Y via pin ystop
M574 Z1 S2 ; configure Z-probe endstop for low end on Z; Z-Probe
M558 P9 C"^zprobe.in" H2 F100 T8000 A5 ; set Z probe type to bltouch and the dive height + speeds
M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
G31 P500 X-6.5 Y-27 Z1.88 ; set Z probe trigger value, offset and trigger height 1.88
M557 X15:500 Y15:330 S50 ; define mesh grid
M280 P0 S10 ; send control signal to BLTouch through servo/gpio 0; 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 B0 S1.00 ; 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 B4092 ; 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 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 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
; Miscellaneous
M575 P1 S1 B57600 ; enable support for PanelDue; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Jun 06 2021 18:17:53 GMT-0700 (Pacific Daylight Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-555 F6000 ; move quickly to X axis endstop and stop there (first pass)
G1 X15 F6000 ; go back a few mm
G1 H1 X-30 F600 ; move slowly to X axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioning; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Jun 06 2021 18:17:53 GMT-0700 (Pacific Daylight Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Y-335 F6000 ; move quickly to Y axis endstop and stop there (first pass)
G1 Y15 F6000 ; go back a few mm
G1 H1 Y-30 F600 ; move slowly to Y axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioning; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Jun 06 2021 18:17:53 GMT-0700 (Pacific Daylight Time)
;G91 ; relative positioning
;G1 H2 Z5 F600 ; lift Z relative to current position
;G90 ; absolute positioning
;G1 X15 Y15 F600 ; 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 F100 ; lift Z relative to current position
;G90 ; absolute positioningG91 ; relative positioning
G29 S1 ; use stored heightmap
G1 Z5 F6000 ; move down 30mm
G30 ; Do a single probe to home our Z axis
G1 Z5 F6000 ; Rapidly move the Z axis to Z=30G90 ; absolute mode
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Jun 06 2021 18:17:53 GMT-0700 (Pacific Daylight Time)
G91 ; relative positioning
;G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X555 Y335 F6000 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X555 ; home X axis
G1 H1 Y335 ; home Y axis
G1 X-5 Y-5 F6000 ; go back a few mm
G1 H1 X555 F600 ; move slowly to X axis endstop once more (second pass)
G1 H1 Y335 ; then move slowly to Y axis endstop
G90 ; absolute positioning
;G1 X290 Y160 F6000 ; go to center of bed, probe point and home Z
;G30 ; home Z by probing the bed; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning -
How did you guys post your config files earlier? Its a much cleaner way of sharing it.
-
What's in your deployprobe.g and retractprobe.g macros in the system folder?
Does M401 and M402 work?@sg2020 said in looking for an example of rrf3.2.2 corexy with bltouch config:
G29 S1 ; use stored heightmap
You shouldn't load this before you have probed the bed as you have in homez. Move that to the end of the file or to your slicer start gcode.
@sg2020 said in looking for an example of rrf3.2.2 corexy with bltouch config:
How did you guys post your config files earlier? Its a much cleaner way of sharing it.
In the post window there is a button to add code tags
</>
@sg2020 said in looking for an example of rrf3.2.2 corexy with bltouch config:
;G1 X290 Y160 F6000 ; go to center of bed, probe point and home Z
;G30 ; home Z by probing the bedYour homeall has the probing section commented out.
Can you post a photo of how you have it wired?
Can you send M115 to verify that you're on firmware 3.2.2?
Can you send M98 P"config.g" and post the results?
-
@phaedrux ```
code_textPin Down M280 P7 S10 I1 ; Send PWM channel 7 the s10 (angle) command Pin Up M280 P7 S90 I1 ; Send PWM channel 7 the S90 (angle) command
-
M401 and M402 do not work.
That makes sense to move G29 S1 to the end of the config.g file. Done.
m115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.2.2 ELECTRONICS: Duet WiFi 1.0 or 1.01 FIRMWARE_DATE: 2021-02-11M98 P"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled -
Its wired exactly like the Duet 2 WiFi/Ethernet without expansion board picture from https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_BLTouch
-
I got closer with homez. Thanks Nuramori your code helped a lot.
the code below works but moves the nozzle an extra 15mm in x and y.
Question, I commented out the relative positioning and only had it as absolute positioning. I already ran homex and homey then why is it moving towards x0,y0 and crash?
code_text ```; homez.g ; called to home the Z axis ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Jun 06 2021 18:17:53 GMT-0700 (Pacific Daylight Time) G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G90 ; absolute positioning G1 X15 Y15 F6000 ; 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 H2 Z5 F100 ; lift Z relative to current position G90 ; absolute positioning
code_text
-
@sg2020 said in looking for an example of rrf3.2.2 corexy with bltouch config:
Pin Down M280 P7 S10 I1 ; Send PWM channel 7 the s10 (angle) command Pin Up M280 P7 S90 I1 ; Send PWM channel 7 the S90 (angle) command
This is incorrect for RRF 3. As your config.g probe definition is:
; Z-Probe M558 P9 C"^zprobe.in" H2 F100 T8000 A5 ; set Z probe type to bltouch and the dive height + speeds M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
Your deployprobe.g should be:
M280 P0 S10
and retractprobe.g:
M280 P0 S90
That should get M401 and M402 working. See https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_Commissioning_Testing_RepRapFirmware_Num_3
Ian
-
@sg2020 said in looking for an example of rrf3.2.2 corexy with bltouch config:
That makes sense to move G29 S1 to the end of the config.g file. Done.
No that's just as bad. You don't want to load the mesh until after you've homed the printer. So either at the end of homeall, or in your slicer start gcode after any G28.