############################################################################################################# ### CONFIGURATION GENERATED BY THE RATOS CONFIGURATOR ### Everything below [include RatOS.cfg] will override default RatOS behavior ############################################################################################################# [include RatOS.cfg] ############################################################################################################# ### MACRO CONFIGURATION ### Configure the behavior of RatOS macros ### See: https://os.ratrig.com/docs/configuration/macros ############################################################################################################# [gcode_macro RatOS] variable_relative_extrusion: False variable_preheat_extruder: True variable_calibrate_bed_mesh: True variable_nozzle_priming: "primeblob" variable_start_print_park_in: "front" variable_start_print_park_z_height: 50 variable_end_print_park_in: "back" variable_pause_print_park_in: "front" ############################################################################################################# ### USER OVERRIDES & CUSTOM CONFIGURATION ### Anything custom you want to add, or RatOS configuration you want to override, do it here. ### This section is pre-populated with the most common settings you may want to change. ### See: https://os.ratrig.com/docs/configuration/includes-and-overrides ### ### It is recommended that you follow these steps to properly calibrate your printer: ### 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html ### 1) Z-offset calibration: run BEACON_RATOS_CALIBRATE to automatically calibrate your beacon for scan and contact. ### IMPORTANT: Ensure the beacon is properly mounted and the nozzle and meltzone is clean by unloading ### the filament (if it's loaded) and make sure there's no ooze or gunk on the nozzle when the hotend is at printing temperature. ### 2) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html ### 3) Skew Correction: https://www.klipper3d.org/Skew_Correction.html ### 4) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html ### RatOS has dedicated macro's to generate shaper graphs for deeper analysis (requires accelerometer). ### Use MEASURE_COREXY_BELT_TENSION to compare tension between belts, and use ### GENERATE_SHAPER_GRAPHS to generate the resonance graphs for analysing and manually entering input shaper ### configuration. ### You can run SHAPER_CALIBRATE to automatically calibrate your input shaper configuration, if you just want ### to get started. ### Additionally, you can use the Realtime Analysis Tool to analyze your printer's performance in real-time. ### Read more about klipper here: https://www.klipper3d.org/Overview.html ############################################################################################################# #---------------------------------------------------- X ----------------------------------------------------- # The A motor in the CoreXY system located on the right side of the printer #------------------------------------------------------------------------------------------------------------ [stepper_x] dir_pin: !x_dir_pin # Remove ! in front of pin name to reverse the direction of stepper_x rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys homing_speed: 50 position_min: 0 position_max: 350 position_endstop: 350 #---------------------------------------------------- Y ----------------------------------------------------- # The B motor in the CoreXY system located on the left side of the printer #------------------------------------------------------------------------------------------------------------ [stepper_y] dir_pin: y_dir_pin # Add ! in front of pin name to reverse the direction of stepper_y rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys homing_speed: 50 position_min: 0 position_max: 350 position_endstop: 350 #---------------------------------------------------- Z ----------------------------------------------------- # The Z motor located on the front left of the bottom of the printer #------------------------------------------------------------------------------------------------------------ [stepper_z] dir_pin: !z0_dir_pin # Remove ! in front of pin name to reverse the direction of stepper_z rotation_distance: 40 gear_ratio: 9:1 microsteps: 32 homing_speed: 10 position_min: -5 position_max: 310 #---------------------------------------------------- Z1 ---------------------------------------------------- # The Z motor located on the rear left of the bottom of the printer #------------------------------------------------------------------------------------------------------------ [stepper_z1] dir_pin: !z1_dir_pin # Remove ! in front of pin name to reverse the direction of stepper_z1 rotation_distance: 40 gear_ratio: 9:1 microsteps: 32 #---------------------------------------------------- Z2 ---------------------------------------------------- # The Z motor located on the rear right of the bottom of the printer #------------------------------------------------------------------------------------------------------------ [stepper_z2] dir_pin: !z2_dir_pin # Remove ! in front of pin name to reverse the direction of stepper_z2 rotation_distance: 40 gear_ratio: 9:1 microsteps: 32 #---------------------------------------------------- Z3 ---------------------------------------------------- # The Z motor located on the front right of the bottom of the printer #------------------------------------------------------------------------------------------------------------ [stepper_z3] dir_pin: !z3_dir_pin # Remove ! in front of pin name to reverse the direction of stepper_z3 rotation_distance: 40 gear_ratio: 9:1 microsteps: 32 #------------------------------------------------- EXTRUDER ------------------------------------------------- # The extruder motor used for your toolhead #------------------------------------------------------------------------------------------------------------ [extruder] dir_pin: !toolboard_t0:e_dir_pin # Remove ! in front of pin name to reverse the direction of extruder rotation_distance: 4.63 # Orbiter 2 default #pressure_advance: 0.05 # Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. control: pid pid_kp: 21.673 pid_ki: 1.338 pid_kd: 87.776 ##################################################################### # Fan Control ##################################################################### ## Hotend Fan - FAN1 [heater_fan toolhead_cooling_fan] pin: toolboard_t0:PB1 max_power: 0.995 shutdown_speed: 0.0 heater_temp: 75 ## Print Cooling Fan - FAN0 [fan] pin: PA6 kick_start_time: 0.5 tachometer_pin: PC1 ## Depending on your fan, you may need to increase this value ## if your fan will not start. Can change cycle_time (increase) ## if your fan is not able to slow down effectively max_power: .8 #set to .8 for kraken (btt moment) off_below: 0.10 [fan] pin: PE8 kick_start_time: 0.5 tachometer_pin: PG0 ## Depending on your fan, you may need to increase this value ## if your fan will not start. Can change cycle_time (increase) ## if your fan is not able to slow down effectively max_power: .8 #set to .8 for kraken (btt moment) off_below: 0.10 [beacon] x_offset:-23.48 [heater_bed] control: pid pid_kp: 68.203 pid_ki: 2.842 pid_kd: 409.216 # REMEMBER TO TUNE SENSORLESS HOMING BEFORE ATTEMPTING TO PRINT! # You'll find instructions in the generated sensorless-homing-*.cfg file(s), # where you should keep your sensorless homing settings. # REMEMBER TO CALIBRATE YOUR BEACON! # Run BEACON_RATOS_CALIBRATE for automatic calibration.