############################################################################################################# ### 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: False variable_nozzle_priming: "primeblob" variable_start_print_park_in: "back" variable_start_print_park_z_height: 50 variable_end_print_park_in: "back" variable_pause_print_park_in: "back" ############################################################################################################# ### 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: https://www.klipper3d.org/Probe_Calibrate.html#calibrating-probe-z-offset ### 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 ############################################################################################################# #CROXY200 settings [printer] kinematics: cartesian #type of printer like corexy, cartesian, delta etc. [bltouch] control_pin: bltouch_control_pin sensor_pin: ^bltouch_sensor_pin x_offset: 23.5 y_offset: -27 #z_offset: 2 [fan] #CPAP-Fan pin: !fan_part_cooling_pin #fan0 header max_power: .8 shutdown_speed: 0 cycle_time: 0.002 hardware_pwm: false off_below: 0.3 [output_pin CPAP-fan-power-source] #alternate power source to switch off so fan doesn't go full blast during boot pin: PB11 #heater HE3, use a relay so power draw is minimum, don't want to lose power to hotend. pwm: false value: 1 shutdown_value: 0 [input_shaper] shaper_freq_x: 49.2 shaper_freq_y: 39.2 shaper_type_x: ei shaper_type_y: ei #---------------------------------------------------- X ----------------------------------------------------- # The A motor in the CoreXY system, located at the rear left of the printer #------------------------------------------------------------------------------------------------------------ [stepper_x] dir_pin: x_dir_pin # Add ! 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: 190 position_endstop: 190 #---------------------------------------------------- Y ----------------------------------------------------- # The B motor in the CoreXY system, located at the rear right 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: 190 position_endstop: 190 #---------------------------------------------------- Z ----------------------------------------------------- # The left Z motor for the kinematic bed #------------------------------------------------------------------------------------------------------------ [stepper_z] dir_pin: z0_dir_pin # Remove ! in front of pin name to reverse the direction of stepper_z rotation_distance: 2 # 4 for TR8*4 lead screws homing_speed: 10 position_min: -.2 position_max: 190 #---------------------------------------------------- Z1 ---------------------------------------------------- # The rear Z motor for the kinematic bed #------------------------------------------------------------------------------------------------------------ [stepper_z1] dir_pin: z1_dir_pin # Remove ! in front of pin name to reverse the direction of stepper_z1 rotation_distance: 2 # 4 for TR8*4 lead screws #---------------------------------------------------- Z2 ---------------------------------------------------- # The right Z motor for the kinematic bed #------------------------------------------------------------------------------------------------------------ [stepper_z2] dir_pin: z2_dir_pin # Remove ! in front of pin name to reverse the direction of stepper_z2 rotation_distance: 2 # 4 for TR8*4 lead screws [z_tilt] Z_positions: #actual z pivot locations for croxy200 -23,0 100,213 213,0 Points: #probe point nozzle location (check probe offsets) 0,27 71.5,190 166.5,27 #------------------------------------------------- EXTRUDER ------------------------------------------------- # The extruder motor used for pushing filament through the toolhead #------------------------------------------------------------------------------------------------------------ [extruder] dir_pin: !e_dir_pin # Remove ! in front of pin name to reverse the direction of extruder rotation_distance: 22.67895 # Annex Engineering Sherpa Mini default gear_ratio: 50:10 #for standard 10t motor pressure_advance: .026 # default is 0.05 #control: pid #pid_kp: 28.413 #pid_ki: 1.334 #pid_kd: 151.300 [heater_bed] #control: pid #pid_Kp: 22.2 #pid_Ki: 1.08 #pid_Kd: 114 #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [heater_bed] #*# control = pid #*# pid_kp = 59.042 #*# pid_ki = 2.163 #*# pid_kd = 402.959 #*# #*# [extruder] #*# control = pid #*# pid_kp = 24.842 #*# pid_ki = 2.300 #*# pid_kd = 67.074 #*# #*# [bltouch] #*# z_offset = 1.605