New RepRap Config tool an Absolute Headache
-
Okay I will begin by listing hardware, software, and firmware data.
I am running the Duet 3 6HC mainboard, and it is running in SBC mode with a 4GB Raspberry Pi 4. I use an ethernet cable for comms and the Duet Web Control for controlling the board.
Up till now I have run config files generated by the old RRF tool with some modification. And then recently I decided I would add a poor man's BL touch, so I figured I would switch and use the new RRF tool.
Right off I started setting up the optical sensor for the poor man's bltouch and got it working, but when I went to home my X and Y it acted like the end-stops were already triggered so I tried changing the S1 in the config.g in the end-stop section to S0 but it said the S0 value is invalid so I put it back to S1 and tried rewiring my end-stops using every possible combination and no luck. So I switched out my end-stops for optical triggers and rigged up flags. That worked. Is there an explanation for the other end-stops?
Next, the servo motor I am using for the poor man's bltouch buzzes, jumps up and down and gets hot when I go to print is it just the servo motor or is it something I got wrong in setup?
Here is config.g the RRF tool v3.5.0-rc.3+2 please note that this config file is unmodified and the reason it is different in the Esteps and driver mapping is because I could set those up in the new tool but not in the old, and would have to modify them manually.
; Configuration file for RepRapFirmware on Duet 3 Main Board 6HC ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.5.0-rc.3+2 on Wed Apr 03 2024 22:07:59 GMT-0700 (Pacific Daylight Time) ; General M550 P"Duet 3" ; set hostname ; Network M551 P"reprap" ; set UI password ; Smart Drivers M569 P0.0 S1 D2 ; driver 0.0 goes forwards (X axis) M569 P0.1 S1 D2 ; driver 0.1 goes forwards (Y axis) M569 P0.2 S1 D2 ; driver 0.2 goes forwards (Y axis) M569 P0.3 S1 D2 ; driver 0.3 goes forwards (Z axis) M569 P0.4 S1 D2 ; driver 0.4 goes forwards (Z axis) M569 P0.5 S1 D2 ; driver 0.5 goes forwards (extruder 0) ; Motor Idle Current Reduction M906 I30 ; set motor current idle factor M84 S30 ; set motor current idle timeout ; Axes M584 X0.0 Y0.1:0.2 Z0.3:0.4 ; set axis mapping M350 X64 Y64 Z64 I1 ; configure microstepping with interpolation M906 X1200 Y1200 Z1200 ; set axis driver currents M92 X320 Y320 Z1600 ; configure steps per mm M208 X0:500 Y0:500 Z0:600 ; set minimum and maximum axis limits M566 X900 Y900 Z12 ; set maximum instantaneous speed changes (mm/min) M203 X9000 Y9000 Z180 ; set maximum speeds (mm/min) M201 X1000 Y1000 Z60 ; set accelerations (mm/s^2) ; Extruders M584 E0.5 ; set extruder mapping M350 E64 I1 ; configure microstepping with interpolation M906 E1200 ; set extruder driver currents M92 E1746.16 ; configure steps per mm M566 E120 ; set maximum instantaneous speed changes (mm/min) M203 E3600 ; set maximum speeds (mm/min) M201 E250 ; set accelerations (mm/s^2) ; Kinematics M669 K0 ; configure Cartesian kinematics ; Probes M558 K0 P9 C"io5.in" H5 F120 T6000 ; configure BLTouch probe via slot #0 G31 P500 X20 Y20 Z0.7 ; set Z probe trigger value, offset and trigger height M950 S0 C"io7.out" ; create servo #0 for BLtouch ; Endstops M574 X1 P"io1.in" S1 ; configure X axis endstop M574 Y1 P"io2.in" S1 ; configure Y axis endstop M574 Z1 S2 ; configure Z axis endstop ; Mesh Bed Compensation M557 X25:475 Y25:475 S40:40 ; define grid for mesh bed compensation ; Sensors M308 S0 P"temp0" Y"thermistor" A"Heated Bed" T100000 B4725 C7.06e-8 ; configure sensor #0 M308 S1 P"temp1" Y"thermistor" A"Nozzle" T100000 B4725 C7.06e-8 ; configure sensor #1 ; Heaters M950 H0 C"out0" T0 ; create heater #0 M143 H0 P0 T0 C0 S140 A0 ; configure heater monitor #0 for heater #0 M307 H0 R2.43 D5.5 E1.35 K0.56 B0 ; configure model of heater #0 M950 H1 C"out1" T1 ; create heater #1 M143 H1 P0 T1 C0 S285 A0 ; configure heater monitor #0 for heater #1 M307 H1 R2.43 D5.5 E1.35 K0.56 B0 ; configure model of heater #1 ; Heated beds M140 P0 H0 ; configure heated bed #0 ; Fans M950 F0 C"out5" ; create fan #0 M106 P0 S0 L0 X1 B0.1 ; configure fan #0 M950 F1 C"out4" ; create fan #1 M106 P1 S0 B0.1 H1 T45 ; configure fan #1 M950 F2 C"out6" ; create fan #2 M106 P2 S0 L0 X1 B0.1 ; configure fan #2 ; Tools M563 P0 D0 H1 F0 ; create tool #0 M568 P0 R0 S0 ; set initial tool #0 active and standby temperatures to 0C
Here is the config.g from RRF tool v3.4.1 please note the E-steps and driver mapping in this config file have not been modified for the printer this is how it looks off the tool.
; Configuration file for Duet 3 MB 6HC (firmware version 3.3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.4.1 on Sat Mar 30 2024 21:49:15 GMT-0700 (Pacific Daylight Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Shawn's Printer" ; set printer name ; Network M551 P"reprap" ; set password M540 P192.168.1.15 ; set custom MAC address M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0.0 S1 ; physical drive 0.0 goes forwards M569 P0.1 S1 ; physical drive 0.1 goes forwards M569 P0.2 S1 ; physical drive 0.2 goes forwards M569 P0.3 S1 ; physical drive 0.3 goes forwards M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping M350 X64 Y64 Z64 E64 I1 ; configure microstepping with interpolation M92 X320.00 Y320.00 Z16000.00 E4074.37 ; set steps per mm M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X12000.00 Y12000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min) M201 X2000.00 Y2000.00 Z250.00 E250.00 ; set accelerations (mm/s^2) M906 X1200 Y1200 Z1200 E1200 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 X500 Y500 Z600 S0 ; set axis maxima ; Endstops M574 X1 S1 P"!io0.in" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin !io0.in M574 Y1 S1 P"!io1.in" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin !io1.in M574 Z1 S1 P"!io2.in" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin !io2.in ; Z-Probe M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed M557 X15:485 Y15:485 S20 ; define mesh grid ; Heaters M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 ; create bed heater output on out0 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"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp1 M950 H1 C"out1" T1 ; create nozzle heater output on out1 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"out4" Q500 ; create fan 0 on pin out4 and set its frequency M106 P0 S0 H0:1 T45 ; set fan 0 value. Thermostatic control is turned on M950 F1 C"out5" Q500 ; create fan 1 on pin out5 and set its frequency M106 P1 S1 H T45 ; set fan 1 value. Thermostatic control is turned on M950 F2 C"out6" Q500 ; create fan 2 on pin out6 and set its frequency M106 P2 C"Print cooling" S1 H T45 ; set fan 2 name and value. Thermostatic control is turned on ; Tools M563 P0 S"Biqu Extruder" 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 M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss T0 ; select first tool
Thank you for looking and if anyone has any pointers I would be grateful. Let me know if you need anything or if something is unclear, I am exhausted and I don't know what I miss. Thanks in advance, Shawn
-
When you say servo motor you mean like an RC servo? if that`s the case you need an M42 to control it, I didn't spot one in your config, take a look at the link.
https://docs.duet3d.com/en/User_manual/Connecting_hardware/Motors_servos
-
@Ignite said in New RepRap Config tool an Absolute Headache:
Is there an explanation for the other end-stops?
You need to invert the pin by adding a ! to the pin name.
https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m574-set-endstop-configuration
P"pin_name" Defines the pin name(s) that the endstop(s) for the specified axis are connected to, see Pin Names. Needed when S=1. May need ! before pin name to invert signal, or ^ to enable the pullup resistor, for example on the Duet 2 expansion header if using the pins directly without a duex5.
What do you have in deployprobe.g and retractprobe.g to command the servo?