CR-10 V2 RepRap Configurator



  • So, I'm in trying to setup my CR-10 V2 in the reprap configurator and there are A LOT (i.e., all) of the questions that I can't answer other than maybe the bed size. If I venmo'd or paypal'd someone $10 to complete the configurator I would really appreciate it. I would like to start off with the configuration file right.

    Thanks in advance.



  • Hi,

    I recently changed the mainboard of my CR-10s pro v2 to a duet 2 mainboard. I can provide you my last configuration if you like.
    My config is not perfect and would need some fine tuning, but it should give you a good start.

    Cheers, Chriss



  • @Chriss Thank you Thank you!!



  • OK, but the disclaimer first: This config will not work for you! It is a good start but you would need some tweeking! No guarantee and you use it on your own risk. 😉

    config.g

    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Sun May 10 2020 08:05:32 GMT+0200 (Central European Summer Time)
    
    ; General preferences
    G90                                            ; send absolute coordinates...
    M83                                            ; ...but relative extruder moves
    M550 P"Homer"                                  ; set printer name
    
    ; 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 backward
    M569 P1 S1                                     ; physical drive 1 goes forwards
    M569 P2 S1                                     ; physical drive 2 goes forwards
    M569 P3 S1                                     ; physical drive 3 goes forwards
    
    M584 X0 Y1 Z9:2 E3                             ; Chriss - set drive mapping two Z motors connected to driver outputs E6(9) and Z(2)
    M671 X-20:220 Y0:0 S0.5                        ; Chriss - leadscrews at left (connected to Z) and right (connected to E6) of X axis
    
    M350 E16 I0                                    ; Chriss - without interpolation
    M350 X16 Y16 Z16 I1                            ; Chriss - configure microstepping with interpolation
    M92 X80.00 Y80.16 Z400.00 E137.81              ; Chriss - set steps per mm 2560
    M566 X900.00 Y900.00 Z12.00 E120.00            ; Chriss - set maximum instantaneous speed changes (mm/min)
    M203 X6000.00 Y6000.00 Z800.00 E1200.00        ; Chriss - set maximum speeds (mm/min) Z180
    M201 X500.00 Y500.00 Z20.00 E250.00            ; Chriss - set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E800 I30                   ; set motor currents (mA) and motor idle factor in per cent
    M84 S30                                        ; Set idle timeout
    
    ; Axis Limits
    M208 X0:310 Y0:300                             ; Chriss - X carriage moves from 0 to 310, Y bed goes from 0 to 310
    
    ; 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 Z1 S2                                     ; configure Z-probe endstop for low end on Z
    
    ; Z-Probe
    M558 P9 C"^zprobe.in" H5 F350 T6000            ; Chriss - set Z probe type to bltouch and the dive height + speeds F=down speed T=Speed between points
    M950 S0 C"duex.pwm5"                           ; Chriss - create servo pin 0 for BLTouch
    
    G31 P500 X-27.5 Y1.5 Z3.620                    ; set Z probe trigger value, offset and trigger height z-offset
    M557 X5:270 Y15:298 P10:10                     ; Chriss - define mesh grid - https://duet3d.dozuki.com/Wiki/Gcode#Section_M557_Set_Z_probe_point_or_define_probing_grid
    
    ; Heaters :: BED
    M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; 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
    M143 H0 S120                                   ; set temperature limit for heater 0 to 120C
    ;M307 H0 B1 S1.00                               ; enable bang-bang mode for the bed heater and set PWM limit
    ;M307 H0 B0 S1.00                               ; disable bang-bang mode for the bed heater and set PWM limit
    M307 H0 A245.4 C400.5 D1.3 S1.00 V24.1 B0		; Chriss - Disable bang-bang, tuned with "M303 H0 S120"
    M140 H0                                        ; map heated bed to heater 0
    
    ; Heaters :: Hotend
    M308 S1 P"e0temp" Y"thermistor" T100000 B4138  ; 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
    M143 H1 S280                                   ; set temperature limit for heater 1 to 280C
    ;M307 H1 B0 S1.00                               ; disable bang-bang mode for heater  and set PWM limit
    M307 H1 A709.3 C250.2 D3.4 S1.00 V24.0 B0      ; Chriss - tuned with "M303 H0 S280"
    
    
    ;; Fans
    ; Fan for the printed part:
    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
    ; Fan for the Hotend;
    M950 F1 C"duex.fan3" Q500                      ; F="create fan 1" C="on pin duex.fan3" Q="and set its frequency"
    M106 P1 S1 H1 T45 C"Hotend"                    ; P="set fan 1" S="value" H="Thermostatic control Heater No." T=" is turned on at 45°C"
    
    
    
    
    ; Tools
    M563 P0 S"Extrudor" D0 H1                      ; define tool 0 (Fan F1  is bonded automatically)
    G10 P0 X0 Y0 Z0                                ; set tool 0 axis offsets
    G10 P0 R0 S0                                   ; set initial tool 0 active and standby temperatures to 0C
    
    ; Filament Sensor: https://duet3d.dozuki.com/Wiki/Connecting_and_configuring_filament-out_sensors
    M591 D0 P1 C"e0_stop" S1  ; filament monitor connected to E0_stop
    
    
    
    ; Custom settings are not defined
    M575 P1 B57600 S1 
    
    

    I have a duex5 connected which I use to drive a one of the lead screws with. And one of the fans:

    ; Fan for the Hotend;
    
    M950 F1 C"duex.fan3" Q500                      ; F="create fan 1" C="on pin duex.fan3" Q="and set its frequency"
    
    M106 P1 S1 H1 T45 C"Hotend"                    ; P="set fan 1" S="value" H="Thermostatic control Heater No." T=" is turned on at 45°C"
    
     
    

    So you should change the "duex.fan3" to "fan1" or whatever applies to your hardware.

    I have two independent motors for Z:

    M584 X0 Y1 Z9:2 E3                             ; Chriss - set drive mapping two Z motors connected to driver outputs E6(9) and Z(2)
    
    M671 X-20:220 Y0:0 S0.5                        ; Chriss - leadscrews at left (connected to Z) and right (connected to E6) of X axis
    
    
    

    One at "9" and one at "2", so you may need to change that, too.

    bed.g:

    ; bed.g
    ; called to perform automatic bed compensation via G32
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Sun May 10 2020 08:05:32 GMT+0200 (Central European Summer Time)
    ;M561 ; clear any bed transform
    ;G29  ; probe the bed and enable compensation
    
    
    G28 ; home
    M401 ; deploy Z probe (omit if using bltouch)
    G30 P0 X20 Y155 Z-99999 ; probe near a leadscrew, half way along Y axis
    G30 P1 X290 Y155 Z-99999 S2 ; probe near a leadscrew and calibrate 2 motors
    M402 ; retract probe (omit if using bltouch)
    G1 X150     ; Backt to the middle
    
    

    I replaces the top two commands (M561 and G29) with the commands below. To enable the autoleveling of "Z".

    That is almost everything I did. I hope it helps. I will search for the config.json tomorrow. That may help you with the config tool.

    Cheers, Chriss



  • I have forgotten to mention that I use firmware 3.1.1.



  • Thanks Chriss! I'll take a run at it!

    Pat



  • @BearcatTD

    You are welcome Pat. One more tip: I had the most problems with the BLTouch! The BLTouch is connected to the duex, there is a link in my config.g, this link should help you to set it up to your needs.
    And you may search here for threads opend by me, I asked already some of the rooky queationa about the BLTouch, that printer and this config. You may find usefull information there too,

    Good luck!

    Cheers, Chriss



  • @BearcatTD

    I found a older version of the config.json

    {"board":"duetwifi10","expansion_boards":[],"firmware":3,"standalone":true,"nvram":false,"auto_save":{"enabled":false,"save_threshold":10,"resume_threshold":11,"gcodes_to_run":"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"},"display":{"type":0,"encoder_steps":4,"spi_frequency":2000000,"menus":[{"name":"main","value":""}],"images":[]},"geometry":{"type":"cartesian","mins":[0,0,0],"maxes":[310,310,400],"delta_radius":105.6,"homed_height":250,"low_dive_height":false,"max_carriage_travel":260,"print_radius":85,"rod_length":215,"z_min":0},"drives":[{"direction":1,"microstepping":16,"microstepping_interpolation":true,"steps_per_mm":80,"instant_dv":15,"max_speed":100,"acceleration":500,"current":800,"driver":0,"driver_v3":"0.0","endstop_pin":"xstop","endstop_type":1,"endstop_location":1},{"direction":1,"microstepping":16,"microstepping_interpolation":true,"steps_per_mm":80,"instant_dv":15,"max_speed":100,"acceleration":500,"current":800,"driver":1,"driver_v3":"0.1","endstop_pin":"ystop","endstop_type":1,"endstop_location":1},{"direction":1,"microstepping":16,"microstepping_interpolation":true,"steps_per_mm":4000,"instant_dv":0.2,"max_speed":3,"acceleration":20,"current":800,"driver":2,"driver_v3":"0.2","endstop_pin":null,"endstop":null,"endstop_type":3,"endstop_location":1},{"direction":1,"microstepping":16,"microstepping_interpolation":true,"steps_per_mm":420,"instant_dv":2,"max_speed":20,"acceleration":250,"current":800,"driver":3,"driver_v3":"0.3"}],"idle":{"used":true,"factor":30,"timeout":30},"homing_speed_fast":30,"homing_speed_slow":6,"travel_speed":100,"z_dive_height":5,"slow_homing":false,"probe":{"type":"bltouch","recovery_time":0.4,"trigger_height":2.5,"trigger_value":500,"x_offset":27,"y_offset":0,"speed":2,"deploy":true,"points":[],"pwm_channel":3,"pwm_inverted":true,"pwm_pin":"exp.heater7","input_pin":"zprobe.in","modulation_pin":"zprobe.mod"},"bed_is_nozzle":false,"bed":{"present":true,"use_pid":true,"heater":0},"chamber":{"present":false,"use_pid":false,"heater":2},"heaters":[{"temp_limit":120,"scale_factor":100,"series":4700,"thermistor":100000,"beta":4138,"c":0,"channel":0,"sensor":0,"output_pin":"bedheat","sensor_type":"thermistor","sensor_pin":"bedtemp"},{"temp_limit":280,"scale_factor":100,"series":4700,"thermistor":100000,"beta":4138,"c":0,"channel":1,"sensor":1,"output_pin":"e0heat","sensor_type":"thermistor","sensor_pin":"e0temp"}],"num_nozzles":1,"toolchange_wait_for_temperatures":true,"generate_t_code":true,"tools":[{"mix_ratio":[],"number":0,"name":"Extrudor","extruders":[0],"heaters":[1],"fans":[0],"x_offset":0,"y_offset":0,"z_offset":0}],"compensation_x_offset":15,"compensation_y_offset":15,"peripheral_points":3,"halfway_points":3,"calibration_factors":6,"probe_radius":85,"mesh":{"x_min":15,"x_max":295,"y_min":15,"y_max":295,"radius":85,"spacing":20},"home_first":false,"orthogonal":{"compensation":false,"height":50,"deviations":[0,0,0]},"network":{"enabled":true,"mac_address":"","name":"Homer","password":"","ssid":"","ssid_password":"","dhcp":true,"ip":"192.168.1.20","netmask":"255.255.255.0","gateway":"192.168.1.254","protocols":{"http":true,"ftp":false,"telnet":false}},"fans":[{"name":"","value":0,"inverted":false,"frequency":500,"thermostatic":false,"heaters":[],"trigger_temperature":45,"output_pin":"fan0"},{"name":"","value":100,"inverted":false,"frequency":500,"thermostatic":true,"heaters":[1],"trigger_temperature":45,"output_pin":"fan1"}],"custom_settings":""}
    

    You can use that as a beginning for the configtool. (Same disclaimer as for the "g files". 😉

    And do not forget to read: https://duet3d.dozuki.com/Wiki/Step_by_step_guide

    And there is somewhere a docu how to generate that "pid" things for the bed and the hotend heater. I do not have the link right now....

    Cheers, Chriss



  • There is also an ender 3 pro guide available too. I based my CR10S, Ender 5, and Ender 5 Plus off of that one.


Log in to reply