@droftarts
No, I wanted to write a script that would run on a schedule to automatically backup the SD card to my windows computer.
At the moment I am mounting the Duet in the windows file system and manually copying all content to a backup location on my PC.
Posts made by appjaws
-
RE: Backup of user SD card files
-
RE: Backup of user SD card files
@fcwilt
I thought I would take a look at your backup solution.
I have the plugins installed on my Notepad++ and have connected to the duet via FTP and can see my files.
I get an error when trying to download a file.
How do I set up where the file should be copied to?
How can I download a complete directory?This may well be easy but I just can't see it, any ideas?
-
RE: Backup of user SD card files
@fcwilt
Thank you for the information.
I have installed FileZilla and it appears to be working --- helps if you enter M586 P1 S1 into configYou say that FTP connection can be configured to make a duet backup and to keep backups , could you share how please?
-
Backup of user SD card files
The Duet3D Documentation, SD Card section states:-
"In normal use, you should never need to remove the SD card from its socket. You can transfer files to/from the SD card over the web interface."Its no problem to load files from my computer but I just cannot see how to copy to a folder on my computer.
I can create a zip file of the sys directory but how do I backup filaments, jobs and macros directories?
-
RE: Scanning Z probe support in RRF 3.5
@dc42 that's fantastic.
Will we be able to have something similar using your original ir probe? -
RE: Duet3D at Rocky Mountain RepRap Festival
@dc42 said in Duet3D at Rocky Mountain RepRap Festival:
Brendon's 5-axis printer
looks like an interesting show.
Where can I find information on the pros, cons and build of Brendon's 5-axis printer? -
RE: What happens at the end of a print job?
This is my macro "PrintEnd"
;PrintEnd
G91 ; set to use relative coordinates
G1 Z5 E-2 F3000 ; retract extruder 2mm and move bed down 5 mm
G90 ; Set absolute mode
G1 Y228 X118 F3000 ; Park position
M104 S120 ; Set current tool temperature to 120C
M140 S0 R0 ; Set bed to standby
M106 S0 ; turn fan off
M290 R0 S0 ; clear baby stepping
M400 ; Wait for moves to complete
M291 P"Print Completed " T5 ; Display messageIn S3D - scripts - Ending Script I have the following entry:-
M98 P"0:/macros/PrintEnd"
Hope that helps
-
RE: Printer just stopped, can't find the reason
@tinchus Thank you for the info but I don't think this is my problem, I can't even get the printer setup to do a print. Hopefully another board will arrive today, which I hope will solve the problem.
-
RE: Printer just stopped, can't find the reason
Just disconnected the boards and have found no signs of burning on the duet or the deuX5.
So still baffled by this strange fault. -
RE: Printer just stopped, can't find the reason
@dc42 Thank you for your interest.
RRF and DWC are in step both at v3.4.1
I am not using an external 5V system, The whole system is powered by a 24V supply
I can move each motor set XU, YV, Z individually and they move as expected.
If I home just the XU then when the moves are finished, I just get the rotating circle on the "HomeX" button and I can't do anything else.
It is the same if I Home YV or Zvery strange.
-
RE: Printer just stopped, can't find the reason
@deckingman Thank you so much for the offer, I am pretty convinced that it is a processor fault, so I will be buying a used Duet2. In the unlikely event that the replacement board doesn't solve the problem, I'll ask you for a loan of your dueX5 so I can confirm the state of mine.
@deckingman @Phaedrux
I don't think it is the dueX5 board because I have 3 Z motors connected and they are working as well as the XU, YV and E motors.It's almost as if the processor is only handling the first instructions and not releasing for the next set. As an example I ran my auto start macro, the macro started and the first thing it does is the set the bed temperature to 60C, when that is reached it then sets to 65C and the nozzle to 195C. What happened is that the bed reached 60C and then nothing else... very strange. This macro is used daily and is included at the end of this entry FYI.
I have calibrated the MCU temperature and it now reads about 36 degrees
Nothing has changed in my config or macro files and bearing in mind that the machine stopped towards the end of a print and the head stayed at the last extruder position instead of moving to the park position at the end of the print, I think it must be the processor at fault.
Has there been any changes in the firmware since the beta version of 3.4.1 that would require config or macro changes?
this is the start up macro:-
; Conditional Startup Macro
M98 P"0:/macros/extra/Set LED Red"M561 ; clear any existing bed transforms
T0 ; select first hot end
M501 ; Load override
M584 X0:3 Y1:4 Z7:8:9 E2:5:6 P3
M291 P"Preheating bed and nozzle for accurate probing " R" Conditional Startup Macro " S1 T0; Display messageif heat.heaters[0].current <=65 && heat.heaters[1].current <=195
if heat.heaters[0].current <60
M104 S0 ; Set tool to 0
M140 S60 ; Set bed temperature to 60
M116 ; waiting for bed to reach temperature
M140 S65
if heat.heaters[0].current >60
M104 S195 ; Set current tool temperature to 195C
M116 S3 ; waiting for heaters to reach temperatureM98 P"0:/macros/Auto Bed Levelling"
M291 P"Reducing Nozzle heater 120" R"Startup Macro" S1 T0; Display message
M400 ; Wait for moves to complete
G92 E0 ; Zero Extruder
M104 S120 R120 ; Set current tool temperature to 120CM98 P"0:/macros/extra/Set LED Green"
M291 P"Startup Completed " R" Conditional Startup Macro" S1 T5; Display message
-
RE: Printer just stopped, can't find the reason
@deckingman thanks, I thought it could have been the SD card so I opened a new 32GB card and copied all the directories and files from the original card to it.
This didn't make any difference.
I even tried to enter G1 X10 but nothing happened except the rotation circle busy sign again.I have an awful feeling that the processor is damaged , how I don't know, unless it overheated because of the hot weather. I don't want to buy another duet2 untill I am sure that it is damaged and that the dueX5 is OK.
-
RE: Printer just stopped, can't find the reason
@Phaedrux thanks for any help, I upgraded to the latest full release and will calibrate the MCU temperature in the morning.
I have a fan that runs when the MCU reaches 45 and forces air between the duet and dueX5 boards.
After the update I homed all XU, YV, Z which worked fine but the homeall button just showed a rotating circle. Eventually that stopped and the button label was correct so I tried my macro auto bed levelling, nothing happened except a rotating circle against the maco entry.
I really don't understand this, the processor actions the homeall but doesn't action any macroHow do I check to see if the processor is working correctly?
Could the problem be in the dueX5 board?this is todays M122
M122-output.txt -
RE: Printer just stopped, can't find the reason
@Phaedrux thanks for any help, I am at a loss.
Hope the file has been uploaded this time.
M122-output.txt -
Printer just stopped, can't find the reason
Yesterday I left my printer to print a 4hr job. When I came in to check that it had finished I was shocked to find the nozzle above the almost completed print in the middle of the print bed. The nozzle was caked in filament but not stuck to the object, the heater was still on and would not turn off. When I attempted to move the head, nothing happened. I eventually switched off and on so that the print head could cool.
Today I switched the printer on and actioned the homeall button, so the XU, YV and Z all homed correctly but the homeall button is just showing the wait symbol (rotating circle) as is the send button. Eventually the buttons returned to normal.
I then issued G1 X100 Y100 and pressed send button but nothing happened, the button just shows the rotating circle. No commands or macros will work.
This is the M122 outputs
M122-output.txt](/assets/uploads/files/1657720392921-m122-output.txt)How do I find the fault? It's almost like the processor is on a go slow.
-
RE: Suggestion for a simpler, less error prone, way of bed levelling
@deckingman you have not wasted your time, I am sure a large number of users will have appreciated your detailed explanation.
-
RE: Example calibration corexy with 3 Z motors
Hope this helps,
This is my config for my coreXVUV printer with 3 Z motors; Machine configuration
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; Set relative extruder moves
M555 P2 ; Set firmware compatibility to Marlin
M669 K8 ; set CoreXYUV mode
M564 H0 ; allow axis movement before homing;Drives
;M584 X0:3 Y1:4 Z7:8:9 U10 V11 E2:5:6:10:11 ; Assign motors to axes
M584 X0:3 Y1:4 Z7:8:9 U10 V11 E2:5:6 ; Assign motors to axes
;M584 X0 Y1 U3 V4 Z7:8:9 U10 V11 E2:5:6 ; Assign motors to axes
M569 P0 S1 ; Drive 0 goes forwards X motor
M569 P1 S1 ; Drive 1 goes backwards Y motor
M569 P2 S0 ; Drive 2 goes backwards E1 extruder
M569 P3 S1 ; Drive 3 goes forwards U motor
M569 P4 S1 ; Drive 4 goes backwards V motor
M569 P5 S0 ; Drive 5 goes backwards E2 extruder
M569 P6 S0 ; Drive 6 goes backwards E3 extruder
M569 P7 S1 ; Drive 7 goes forwards Z1 motor left
M569 P8 S1 ; Drive 8 goes forwards Z2 motor rear
M569 P9 S1 ; Drive 9 goes forwards Z3 motor right
;M569 P10 S0 T4 ; Drive 10 goes backwards E4 extruder
;M569 P11 S0 T4 ; Drive 11 goes backwards E5 extrude;Endstops
M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
M574 U1 S1 P"e0stop" ; configure active-high endstop for low end on U via pin ustop
M574 V1 S1 P"e1stop" ; configure active-high endstop for low end on V via pin vstop
M574 Z1 S1 P"zstop" ; configure Z-probe endstop for low end on ZM581 P"zstop" T2 R0 ; Set Z stop as fail safe for Z zeroing and run /sys/trigger2.g
M671 X-42:150:344 Y96:337:101 S3 ; Lead screw positions
M350 X16 Y16 U16 V16 Z16 E16 I1 ; Set XYUVZE 16 micro stepping with interpolation
M92 X80 Y80 U80 V80 Z3200 E415:415 ; Set axis steps/mm (XYUVZE=16)
M566 X1500 Y1500 U400 V400 Z30 E300 ; Maximum jerk speeds mm/minute
M203 X10000 Y10000 U10000 V10000 Z100 E3000 ; Maximum speeds (mm/min)
M201 X2000 Y2000 U800 V800 Z30 E1000 ; Accelerations (mm/s^2)
M906 X1100 Y1100 U1100 V1100 Z1000 E1000 ; Set motor currents (mA);axis limits
M208 X350 Y327 U350 V327 Z240 ; set axis maxima (adjust to suit your machine)
M208 X0 Y0 U0 V0 Z0 S1 ; set axis minima (adjust so X=0 and Y=0 the edges of the bed); Thermistors and heaters
M308 S0 P"bed_temp" Y"thermistor" T100000 B3950 H3; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bed_heat" T0 ; create bed heater output on bedheat and map it to sensor 0
M143 H0 S85 ; set temperature limit for heater 0 to 85C
M307 H0 R0.326 C233.6 D3.57 S1.00 V24.5 B0 ; RRF3.2 Auto tune PID for bed heater
M308 S1 P"e0_temp" Y"thermistor" B3950 H25 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0_heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M140 H0
M143 H1 S240 ; set temperature limit for heater 1 to 240C
M307 H1 R2.851 C179.8 D5.25 S1.00 V24.6 ; new J-Head
M308 S10 Y"mcu-temp" A"CPU" ; CPU temp sensor
M308 S11 Y"drivers" A"Duet_drv" ; drivers temp sensor; Tool definition********** Single nozzle settings **********
M563 P0 D0 H1 F0 ; Define tool 0
G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures; Fan settings
M950 F0 C"Fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 H-1 C"Cooling" ; set Tool fan. Thermostatic control is off
M950 F1 C"Fan1" Q500 ; create Extruder on pin fan1 and set its frequency
M106 P1 H1 T45 C"Extruder" ; set Extruder Fan. Thermostatic control is turned on
M950 F2 C"Fan2" Q500 ; create System fan on pin fan2 and set its frequency
M106 P2 H10:11 T35:50 L45 C"System" ; set System fan. Thermostatic electronics cooling; LED Lighting
M950 F3 C"duex.fan3" Q500 ; create fan 3 on pin duex.fan3 set frequency for LED Red
M106 P3 C"RGB Red" ; set RGB Red PWM
M950 F4 C"duex.fan4" Q500 ; create fan 4 on pin duex.fan4 set frequency for LED Green
M106 P4 C"RGB Green" ; set RGB Green PWM
M950 F5 C"duex.fan5" Q500 ; create fan 5 on pin duex.fan5 set frequency for LED Blue
M106 P5 C"RGB Blue" ; set RGB Blue PWM; Custom settings
M557 X20:280 Y20:190 S170 ; define mesh grid
M572 D1 S0.1 ; pressure advance D= Extruder, S= advance amount 0.1 - 0.2
M558 P1 C"zprobe.in+zprobe.mod" H5 F120 T6000 A2 S-1 ; set Z probe type to unmodulated and dive height + speeds
G31 P500 X-30 Y8 Z0.950 ; set Z probe trigger value, offset and trigger height -
RE: Anybody wants a stepper motor analyzer?
@zapta If it's not too late, I would like one of your stepper motor analysers when you next do a run .
-
RE: Error: Temp reading fault on heater 1: unknown sensor 3.3rc1+1
@phaedrux
Really strange, that is what I had at first and in trying to solve the problem ended up with the wrong code.
I can now report that I have an ambient temperature reported.
Thanks for your help.