Migration from RRF 2.05.1 to RRF 3.x
-
I finally decided to make the leap from RRF 2.05.1 to 3. I have been searching the forum for some comprehensive instructions for this but I have come to understand that there is no "one-size fits all" for this procedure. Could someone well versed in the do's and don'ts for this take a look at my config.g file and point out the changes needed to be made? Which 3.x version shall I pick to make the transition as smooth as possible?
Thanks in advance.
The printer in question is a heavily modified TronXY X5S core XY. The hardware is a older Duet WiFi board using an Escher IR Z-level sensor. Config.s as follows:
; Configuration file for Duet WiFi (firmware version 1.17 to 1.19) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool on Thu Dec 14 2017 23:00:02 GMT+0100 (Västeuropa, normaltid) ; General preferences M111 S0 ; Debugging off G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M555 P2 ; Set firmware compatibility to look like Marlin ; Mode and axis travel M667 S1 ; Select CoreXY mode M208 X0:325 Y-10:325 Z-0.6:380 ; Set axis minima/maxima ; Endstops, Z-probe and bed mesh grid M574 X1 Y1 S0 ; Set active low endstop switches on X and Y M574 Z1 S2 ; Set active high Z-probe as endstop Z M591 D0 P2 C3 S1 ; Filament sensor enable Extruder 0 - E0 endst. input, normal low OK M558 P1 H3.5 A2 R0.5 S0.02 F140 T4000 ; Set Z probe type to IR sensor, dive height, recov time, tolerance, dive speed, and # of probings/point G31 P500 X0 Y15 Z2.23 S25 C0.0012 ; Set Z probe trigger value, X/Y offset, trigger height, TH @temp and Tcoeff-ZSensor ; M307 H3 A-1 C-1 D-1 ; Decomission H3 and use it as a GPIO with Z-probe servo control ; M280 P3 S2050 I1 ; Make sure Z-probe is up and out of the way -move up ; G4 P500 ; M280 P3 S2000 I1 ; Make sure Z-probe is up and out of the way -go back a little to avoid servo buzz M557 X0:285 Y6:291 P13:13 ; Define mesh grid ; Drives M569 P0 S0 ; Drive 0 goes backwards (X) M569 P1 S0 ; Drive 1 goes backwards (Y) M569 P2 S1 ; Drive 2 goes forwards (Z1) M569 P3 S0 ; Drive 3 goes backwards (E0) M569 P4 S1 ; Drive 4 goes forwards (Z2) M584 X0 Y1 Z2:4 E3 ; Two Z motors connected to driver outputs 2 and 4 M671 X396:-111 Y162:162 S5 ; leadscrews at mid left, and mid right M350 X32 Y32 Z32 I1 ; Configure 32 microstepping with interpolation on XYZ M350 E8 ; Configure 8 microstepping on Extruder M92 X160 Y160 Z800 E167 ; Set steps per mm M566 X600 Y600 Z70 E100 ; Max instantaneous speed change (mm/min) M203 X18000 Y18000 Z700 E6000 ; Set maximum speeds (mm/min) M201 X2500 Y2500 Z130 E450 ; Set accelerations (mm/s^2) M906 X1000 Y1000 Z650 E550 I30 ; Set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Heaters ; M304 H0 P649.2 I2.550 D1569.0 ; Use PID on bed heater using these process parameters ; M301 H1 P11.6 I0.124 D41.4 ; Use PID on hotend using these process parameters M305 P0 T100000 B3950 C0 R4700 ; Set thermistor + ADC parameters for heater 0 M143 H0 S120 ; Set temperature limit for heater 0 to 120C M305 P1 T100000 B3950 C0 L-70 R4700 ; Set thermistor + ADC parameters for heater 1 M143 H1 S270 ; Set temperature limit for heater 1 to 270C ; Tools M563 P0 D0 H1 ; 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 ; Network M550 PX5S ; Set machine name ;M587 S"SSID" P"passwd" ; Configure access point. You can delete this line once connected M552 S1 ; Enable network M586 P0 S1 ; Enable HTTP M586 P1 S1 ; Enable FTP M586 P2 S0 ; Disable Telnet ; Fans M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off ;M106 P1 S1 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off ;M106 P2 S1 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off ; Read in bed compensation, override etc. M501 ; Read in EEPROM Parameters G29 S1 ; Read in the bed compensation table ; Go make some final adjustments M98 P"0:/macros/fineadjust.g" M911 S12.8 R13.8 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Configure power loss restoration T0 ; Select default tool
The small fineadjusting macro at the end of the config is to make quick changes to run parameters without rebooting the board. Currently, it looks like this:
; Extra Configuration file for minor adjustments ; without the need to reboot. ; executed by config.g on start-up ; ; Motor params M92 X160 Y160 Z800 E167 ; Set steps per mm M566 X200 Y200 Z100 E600 ; Set maximum instantaneous speed changes (mm/min) ; M203 X9000 Y9000 Z700 E6000 ; Set maximum speeds (mm/min) M201 X2000 Y2000 Z150 E2000 ; Set accelerations (mm/s^2) M906 X1000 Y1000 Z650 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent M99 ; Jump back to caller ; end
-
When updating from v2 to v3 you have to first update to 3.0.0 and then to the final version. I use 3.3.3 because 3.4.x is still in BETA.
Installing and Updating Firmware
Frederick
-
@captain_sq check here what you need to convert. You can also make a new configuration with the config tool and then compare it with the old one.
/Fredrik
-
If you still have access to DWC. Upload these 3 zip files, one at a time in the system tab. Don't extract them first. Reboot after each. Use M115 in the gcode console to verify the firmware has been applied.
https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip
https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip
https://github.com/Duet3D/RepRapFirmware/releases/download/3.3/Duet2and3Firmware-3.3.zip
That will get your firmware and DWC up to date.You can see the change logs here:
https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.xFor your config, might be a good idea to run through the configurator tool and generate a fresh set for RRF3.
https://configtool.reprapfirmware.org/StartBackup your existing config files in the sys folder in case you want to switch back to RRF2. It’s easy to switch back and forth, just upload the zip file for the version you want and then upload your config files.
These documents will come in handy during the conversion.
https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview
https://duet3d.dozuki.com/Wiki/Gcode -
Thanks guys, I think I can manage this using this information.