Duet 3 6ch not recognized after installing Beta version
-
hi all hope someone can help me with an issue i have struggled with setting up my CNC router and duet 3 for some time and i'm almost at the point of giving up and trying another "simpler to use" controller, but thought id reach out to the forum before giving up.
hopefully you guys can help.
id like to mention i am a complete newbie to CNCs and duet and this has been a real learning curve so far.
firstly i thought i was at the point of making my first part today and for some unknown reason my computer could not see Duet, this has never been a problem before until i foolishly tried to install the 3.3 Beta version and since i have this problem has arose of the duet not being found when i opened DWC, i was just getting a page not found error.
since this i have tried to revert to a previous configuration and in doing so have lost all my settings and my end stops no longer work and have damaged one in trying to home today. as whatever settings i had used before were not on the latest reinstall.
machine is as follows:
- Lead 1500 x 1000 (From RatRig)
- Nema23 high torque steppers
- Duet 3 6ch MB running v3.2.3
- list item Open Builds XYZ touch probe (which i cannot get to work but ill forget about that for now.)
*Dewalt 26200 router - manual control
config file attached.
[1_1615840946612_Config.g](Uploading 100%) ![0_1615840946611_Config.g2.PNG](Uploading 100%)any basic recommendations to get my end stops working and me able to start cutting would be massively appreciated.
if anyone is able to spend some time working with me 1-1 (remotely) to get this up and running i'd be willing to compensate you for your time.
![alt text](image url)
-
Your file uploads didn't work. Can you just copy and paste the contents of config.g?
@UcantCNCme said in Duet 3 6ch not recognized after installing Beta version:
since this i have tried to revert to a previous configuration and in doing so have lost all my settings
What exactly did you do to revert?
Do you have the config files backed up somwhere from when it was working?
In addition to your config.g can you also share your homing files and the results of sending M122 and M98 P"config.g".
Some details about your endstops (type, position) would be helpful.
Are you able to reach the Duet by the web interface now, or not? If not, you will need to connect via USB terminal to send some commands.
-
@Phaedrux thanks for the quick reply,
the only way i could access the duet was taking out the micro SD wiped the config files and did a fresh install of a new config file from the rep rap configurator.
I've tried to put in all of the settings i used before but for some reason now my endstops no longer work.
endstops are OB Xtension micro limit switches, NO, Z positioned high end, Y positioned high end, X positioned Low end.
i tried to copy and past into the post bot all lines were out of format, here's what i have now:
Config
; Configuration file for Duet 3 (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Mar 15 2021 17:47:03 GMT+0000 (Greenwich Mean Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Lead 1510" ; set printer name; Network
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.1 S0 ; physical drive 0.1 goes backwards
M569 P0.3 S0 ; physical drive 0.3 goes backwards
M569 P0.2 S0 ; physical drive 0.2 goes backwards
M569 P0.4 S0 ; physical drive 0.5 goes backwards
M584 X0.1 Y0.3:04 Z0.2 E0.5 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X401.69 Y401.57 Z400.76 E401.50 ; set steps per mm
M566 X900.00 Y900.00 Z60.00 E900.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E6000.00 ; set maximum speeds (mm/min)
M201 X400.00 Y400.00 Z50.00 E400.00 ; set accelerations (mm/s^2)
M906 X1400 Y1400 Z1400 E1400 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 X730 Y1400 Z120 S0 ; set axis maxima; Endstops
M574 X1 S1 P"!io1.in" ; configure active-high endstop for low end on X via pin !io1.in
M574 Y2 S1 P"!io2.in" ; configure active-high endstop for high end on Y via pin !io2.in
M574 Z2 S1 P"!io5.in" ; configure active-high endstop for high end on Z via pin !io5.in; Z-Probe
M558 P5 C"^io7.in" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds
G31 P1000 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
M557 X15:215 Y15:195 S20 ; define mesh grid; Heaters
; Fans
M950 F0 C"out4" Q500 ; create fan 0 on pin out4 and set its frequency
M106 P0 S0 H T30 ; set fan 0 value. Thermostatic control is turned on; Tools
M563 P1 S"Router" D0 F0 ; define tool 1
G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
G10 P1 R0 S0 ; set initial tool 1 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
T1 ; select first toolHoming
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Mar 15 2021 17:47:03 GMT+0000 (Greenwich Mean Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-735 Y1405 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H2 X5 Y-5 F6000 ; go back a few mm
G1 H1 X-735 Y1405 F360 ; move slowly to X and Y axis endstops once more (second pass)
G1 H1 Z125 F360 ; move Z up stopping at the endstop
G90 ; absolute positioning
G92 Z120 ; set Z position to axis maximum (you may want to adjust this); Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Mar 15 2021 17:47:03 GMT+0000 (Greenwich Mean Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-735 F1800 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X5 F6000 ; go back a few mm
G1 H1 X-735 F360 ; 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 Mon Mar 15 2021 17:47:03 GMT+0000 (Greenwich Mean Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Y1405 F1800 ; move quickly to Y axis endstop and stop there (first pass)
G1 H2 Y-5 F6000 ; go back a few mm
G1 H1 Y1405 F360 ; 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 Mon Mar 15 2021 17:47:03 GMT+0000 (Greenwich Mean Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Z125 F1800 ; move Z up until the endstop is triggered
G92 Z120 ; set Z position to axis maximum (you may want to adjust this); Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioningM122 returns nothing
3/15/2021, 9:06:24 PM M98 P"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled
Error: in file macro line 49 column 13: M106: expected number after 'H'
Tool 1 offsets: X0.00 Y0.00 Z0.00 -
@UcantCNCme said in Duet 3 6ch not recognized after installing Beta version:
the only way i could access the duet was taking out the micro SD wiped the config files and did a fresh install of a new config file from the rep rap configurator.
Did you happen to save a copy of the old config files before wiping it?
-
@UcantCNCme said in Duet 3 6ch not recognized after installing Beta version:
M106 P0 S0 H T30 ; set fan 0 value. Thermostatic control is turned on
There should be a number after the H to choose which heater to monitor for the temp of 30c to control the fan.
-
@UcantCNCme said in Duet 3 6ch not recognized after installing Beta version:
M122 returns nothing
Are you sure you send M122 and not M112?
How bout M115? or M119? -
@Phaedrux this was only added today is a i was trying to add PWM control for a fan thermostat i have for an enclosure i've built for the board.
-
@Phaedrux im not in fornt of the router right now am i ok to send this to it?
3/15/2021, 9:13:07 PM M122
no response
-
@UcantCNCme said in Duet 3 6ch not recognized after installing Beta version:
; Endstops
M574 X1 S1 P"!io1.in" ; configure active-high endstop for low end on X via pin !io1.in
M574 Y2 S1 P"!io2.in" ; configure active-high endstop for high end on Y via pin !io2.in
M574 Z2 S1 P"!io5.in" ; configure active-high endstop for high end on Z via pin !io5.inThat looks ok based on what you describe of the endstops. The only question is whether the io pin numbers listed actually match the ones in use.
Can you test the endstop status by sending M119 twice. Once when the endstop switches are not pressed, and again when the are pressed.
@UcantCNCme said in Duet 3 6ch not recognized after installing Beta version:
this was only added today is a i was trying to add PWM control for a fan thermostat i have for an enclosure i've built for the board.
Ok, once you have a temp sensor for the enclosure you can add it's number to the H parameter.
@UcantCNCme said in Duet 3 6ch not recognized after installing Beta version:
3/15/2021, 9:13:07 PM M122
no responseHow are you sending that? In the DWC console? Over USB terminal? Does M115 respond with anything?
-
@Phaedrux
3/15/2021, 9:15:51 PM M115
FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6HC FIRMWARE_VERSION: 3.3beta2+1 ELECTRONICS: Duet 3 MB6HC v1.01 or later FIRMWARE_DATE: 2021-03-12 14:06:113/15/2021, 9:16:37 PM M119
Endstops - X: at min stop, Y: not stopped, Z: at max stop, Z probe: at min stop -
If you still have access to the web interface, upload this intact zip file to the system tab.
https://github.com/Duet3D/RepRapFirmware/releases/download/3.2.2/Duet2and3Firmware-3.2.2.zip
That should get you back to the last stable release and leave your config intact.
-
@UcantCNCme said in Duet 3 6ch not recognized after installing Beta version:
3/15/2021, 9:16:37 PM M119
Endstops - X: at min stop, Y: not stopped, Z: at max stop, Z probe: at min stopAnd what state were the actual switches in when you sent that M119? And does the status reported change if you are pressing or not pressing the endstops?
Basically we want to see if the firmware is registering the endstops being triggered or not.
-
im not at the router at the minute give me a few minutes and ill check, just installing firmware you sent thanks.
-
right seems to be homing now however did get a error pop up:
M120
G91
G1 Y-10 F6000
G90
M121
Error: G0/G1: insufficient axies homed -
When did you get that error? It would mean what it says that an axis has been commanded to move when it isn't yet in a homed state.
-
@Phaedrux that popped up after i pressed home all
-
Odd. I don't see anything in your homeall that would invoke that.
-
ive home again and looks fine, thank you for you help, was the issue to do with the firmware do you think?
-
I'm not really sure. Are you back on 3.2.2?
-
i thought it had updated but just checked the config file and its still reading 3.2.3, retried to update firmware and my DWC is sticking on a grey screen.