Offshore Inviato 16 Maggio Inviato 16 Maggio mmmhh...non ci capisco nulla... non puoi fare un copia ed incolla del testo del file??? tipo così...... #To use this config, during "make menuconfig" select the # STM32F103 with a "28KiB bootloader" and serial (on USART1 PA10/PA9) # communication. # If you prefer a direct serial connection, in "make menuconfig" # select "Enable extra low-level configuration options" and select # serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC # cable used for the LCD module as follows: # 3: Tx, 4: Rx, 9: GND, 10: VCC # See docs/Config_Reference.md for a description of parameters. # printer.cfg [include plr.cfg] [mcu] serial:/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 restart_method: command [printer] kinematics: cartesian max_velocity: 300 max_accel: 12000 #max_accel_to_decel:5000 max_z_velocity: 15 max_z_accel: 100 square_corner_velocity:6 [virtual_sdcard] path:/home/mks/printer_data/gcodes [pause_resume] [display_status] [idle_timeout] gcode: RESPOND TYPE=echo MSG="No operations in 10min!" # A list of G-Code commands to execute on an idle timeout. See # docs/Command_Templates.md for G-Code format. The default is to run # "TURN_OFF_HEATERS" and "M84". timeout: 600 [mcu rpi] serial: /tmp/klipper_host_mcu [adxl345] cs_pin: rpi:None spi_bus: spidev0.0 [verify_heater extruder] max_error: 60 check_gain_time:20 hysteresis: 5 heating_gain: 2 [verify_heater heater_bed] max_error: 180 check_gain_time:120 hysteresis: 5 heating_gain: 2 [resonance_tester] accel_chip: adxl345 probe_points: 150, 150, 20 # an example accel_per_hz:100 min_freq:1 max_freq:100 max_smoothing:0.2 hz_per_sec:0.5 [respond] #default_type: echo # Sets the default prefix of the "M118" and "RESPOND" output to one # of the following: # echo: "echo: " (This is the default) # command: "// " # error: "error!" #default_prefix: echo: # Directly sets the default prefix. If present, this value will # override the "default_type". ############################################################################################################# #GCODE_MACRO ############################################################################################################# [gcode_macro CANCEL_PRINT] description: Cancel the actual running print rename_existing: CANCEL_PRINT_BASE gcode: SAVE_VARIABLE VARIABLE=was_interrupted VALUE=False RUN_SHELL_COMMAND CMD=clear_plr clear_last_file G31 TURN_OFF_HEATERS CANCEL_PRINT_BASE RESPOND TYPE=echo MSG="Cancel Print Success!" G91 ;Relative positionning G1 E-2 F500 ;Retract a bit G1 E-2 Z0.2 F200 ;Retract and raise Z G1 Z1 ;Raise Z more M106 S0 ;Turn-off fan M104 S0 ;Turn-off hotend M140 S0 ;Turn-off bed G90 G1 X10 Y290 F6000 M84 X Y E ;Disable all steppers but Z [gcode_macro START_PRINT] gcode: M84 E ; Disable E Motor for probe accuracy on direct drive systems G90 ;Absolute positioning G92 E0 ; Reset Extruder distance to 0 G1 E-1 ; Retracts filament to prevent blobs during probing G92 E0 ; Reset Extruder distance to 0 G28 ; home all axes BED_MESH_PROFILE LOAD=default ; Loads the mesh - now has to be done explicitly, not automatically loaded anymore G92 E0 ; reset extruder G1 Z1.0 F3000 ; move z up little to prevent scratching of surface G1 X0.1 Y20 Z0.3 F5000.0 ; move to start-line position G1 X0.1 Y100.0 Z0.3 F500.0 E15 ; draw 1st line G1 X0.4 Y100.0 Z0.3 F5000.0 ; move to side a little G1 X0.4 Y20 Z0.3 F500.0 E30 ; draw 2nd line G92 E0 ; reset extruder G1 Z1.0 F3000 ; move z up little to prevent scratching of surface [gcode_macro PAUSE] description: Pause the actual running print rename_existing: PAUSE_BASE gcode: RESPOND TYPE=echo MSG="Pause Print!" ##### set defaults ##### {% set x = params.X|default(10) %} #edit to your park position {% set y = params.Y|default(290) %} #edit to your park position {% set z = params.Z|default(10)|float %} #edit to your park position {% set e = params.E|default(1) %} #edit to your retract length ##### calculate save lift position ##### {% set max_z = printer.toolhead.axis_maximum.z|float %} {% set act_z = printer.toolhead.position.z|float %} {% set lift_z = z|abs %} {% if act_z < (max_z - lift_z) %} {% set z_safe = lift_z %} {% else %} {% set z_safe = max_z - act_z %} {% endif %} ##### end of definitions ##### PAUSE_BASE G91 {% if printer.extruder.can_extrude|lower == 'true' %} G1 E-{e} F500 {% else %} {action_respond_info("Extruder not hot enough")} {% endif %} {% if "xyz" in printer.toolhead.homed_axes %} G1 Z{z_safe} G90 G1 X{x} Y{y} F6000 {% else %} {action_respond_info("Printer not homed")} {% endif %} [gcode_macro RESUME] description: Resume the actual running print rename_existing: RESUME_BASE gcode: RESPOND TYPE=echo MSG="RESUME Print!" ##### set defaults ##### {% if printer["filament_switch_sensor my_sensor"].filament_detected == True %} # detect if occur filament runout ,True : filament exists. False:filament runout RESPOND TYPE=echo MSG="RESUME Print!" {% set e = params.E|default(1) %} #edit to your retract length #### get VELOCITY parameter if specified #### {% if 'VELOCITY' in params|upper %} {% set get_params = ('VELOCITY=' + params.VELOCITY) %} {%else %} {% set get_params = "" %} {% endif %} ##### end of definitions ##### G91 {% if printer.extruder.can_extrude|lower == 'true' %} G1 E{e} F400 {% else %} {action_respond_info("Extruder not hot enough")} {% endif %} RESUME_BASE {get_params} {% else %} RESPOND TYPE=echo MSG="Please Insert filament in Sensor!" {% endif %} [gcode_macro END_PRINT] gcode: G91 ;Relative positionning G1 E-2 F500 ;Retract a bit G1 E-2 Z0.2 F200 ;Retract and raise Z G1 X5 Y5 F3000 ;Wipe out G1 Z1 ;Raise Z more M106 S0 ;Turn-off fan M104 S0 ;Turn-off hotend M140 S0 ;Turn-off bed G90 ;Absolute positionning G1 X10 Y290 ;Present print M84 X Y E ;Disable all steppers but Z RESPOND TYPE=echo MSG="Finish Print!" [gcode_macro LOAD_FILAMENT] gcode: G91 G1 E30 F300 G1 E10 F150 G90 [gcode_macro UNLOAD_FILAMENT] gcode: G91 G1 E-30 F300 G90 [gcode_macro LED_ON] gcode: SET_PIN PIN=my_led VALUE=1 [gcode_macro LED_OFF] gcode: SET_PIN PIN=my_led VALUE=0 [gcode_macro M205] gcode: M105 ############################################################################################################# #stepper,TMC2209 ############################################################################################################# [stepper_x] step_pin: PD15 dir_pin: PD14 enable_pin: !PC7 microsteps: 16 rotation_distance: 40 endstop_pin: tmc2209_stepper_x: virtual_endstop homing_retract_dist: 0 position_endstop: -12 position_min: -12 position_max: 302 homing_speed: 50 step_pulse_duration:0.000002 [tmc2209 stepper_x] uart_pin:PE3 run_current:1.2 uart_address:3 interpolate: True driver_sgthrs: 95 stealthchop_threshold:0 diag_pin: ^PD10 [stepper_y] step_pin: PB7 dir_pin: PB6 enable_pin: !PB9 microsteps: 16 rotation_distance: 40 endstop_pin: tmc2209_stepper_y: virtual_endstop homing_retract_dist: 0 position_endstop: -6 position_min: -6 position_max: 302 homing_speed: 50 step_pulse_duration:0.000002 [tmc2209 stepper_y] uart_pin:PE4 run_current:1.2 uart_address:3 interpolate: True driver_sgthrs: 95 stealthchop_threshold:0 diag_pin: ^PE0 [stepper_z] step_pin: PB3 dir_pin: !PD7 enable_pin: !PB5 microsteps: 16 rotation_distance: 8 endstop_pin:probe:z_virtual_endstop #position_endstop: 0.0 position_max: 355 position_min: -4 homing_speed:10 [stepper_z1] step_pin: PA7 dir_pin: !PA6 enable_pin: !PC5 microsteps: 16 rotation_distance: 8 endstop_pin:probe:z_virtual_endstop #position_endstop: 0.0 [extruder] max_extrude_only_distance: 100.0 step_pin: PD1 dir_pin: !PD0 enable_pin: !PD4 microsteps: 16 rotation_distance: 4.59 nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: PA1 sensor_type: EPCOS 100K B57560G104F sensor_pin: PA4 #control: pid pressure_advance:0.02 pressure_advance_smooth_time:0.035 max_extrude_cross_section:500 instantaneous_corner_velocity:10 max_extrude_only_distance: 100.0 max_extrude_only_velocity:2000 max_extrude_only_accel:10000 #pid_Kp=24.522 #pid_Ki=1.397 #pid_Kd=107.590 min_temp: 0 max_temp: 305 min_extrude_temp: 150 [tmc2209 extruder] uart_pin: PE7 run_current: 0.6 uart_address:3 #hold_current: 0.5 interpolate: True [heater_bed] heater_pin: PA2 sensor_type: EPCOS 100K B57560G104F sensor_pin: PA3 #control: pid # tuned for stock hardware with 50 degree Celsius target #pid_Kp: 54.027 #pid_Ki: 0.770 #pid_Kd: 948.182 min_temp: 0 max_temp: 105 [probe] pin:PD13 x_offset:27 y_offset:-20 [filament_switch_sensor my_sensor] #pause_on_runout: True # runout_gcode: # RESPOND TYPE=error MSG="Filament Runout! Please change filament!" #event_delay: 3.0 #pause_delay: 0.5 switch_pin:PD11 [safe_z_home] home_xy_position: 123,170 speed: 80 z_hop: 5 # Move up 5mm z_hop_speed: 10 ################################################# #Z stepper tilt adjustment ################################################# [z_tilt] z_positions: -8, 170 260, 170 points: -8, 170 260, 170 speed: 200 horizontal_move_z: 5 retries: 20 retry_tolerance: .005 ################################################# #bed mesh calibrate ################################################# [bed_mesh] speed:200 horizontal_move_z:5 mesh_min:17,15 mesh_max:285,282 probe_count:5,5 algorithm: bicubic bicubic_tension: 0.3 fade_start: 0.2 fade_end: 5.0 mesh_pps:4,4 move_check_distance: 3 #split_delta_z: .025 ################################################# #adjust bed screws tilt ################################################# [screws_tilt_adjust] screw1: 4, 58 screw1_name: front left screw screw2: 243, 58 screw2_name: front right screw screw3: 243, 290 screw3_name: rear right screw screw4: 4, 290 screw4_name: rear left screw horizontal_move_z: 5. speed: 200. screw_thread: CW-M4 [heater_fan hotend_fan] pin: PE11 [multi_pin fan_pins] pins: PE9,PE13 [fan] pin:multi_pin:fan_pins [output_pin my_led] pin:PC4 pwm: 1 value:1 cycle_time: 0.010 [controller_fan Fan_Board] pin:PD3 fan_speed: 1.0 idle_timeout: 120 heater: heater_bed, extruder stepper: stepper_x, stepper_y, stepper_z, stepper_z1 [input_shaper] damping_ratio_x: 0.05 damping_ratio_y: 0.1 #shaper_type_x = 3hump_ei #shaper_freq_x = 40 #shaper_type_y = 2hump_ei #shaper_freq_y = 40 [gcode_macro PRINT_START] # 将 PRINT_START 设置为开始打印时的宏,自定义打印前的动作 Imposta come macro all'avvio della stampa, personalizza l'azione prima della stampa gcode: SAVE_VARIABLE VARIABLE=was_interrupted VALUE=True [gcode_macro PRINT_END] gcode: SAVE_VARIABLE VARIABLE=was_interrupted VALUE=False RUN_SHELL_COMMAND CMD=clear_plr clear_last_file # Klipper Printer Additions Start [include printer_additions/___module_loader.cfg] # Klipper Printer Additions End # printer.cfg [include timelapse.cfg] #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [probe] #*# z_offset = 2.560 #*# #*# [heater_bed] #*# control = pid #*# pid_kp = 67.107 #*# pid_ki = 0.917 #*# pid_kd = 1228.053 #*# #*# [extruder] #*# control = pid #*# pid_kp = 24.727 #*# pid_ki = 1.792 #*# pid_kd = 85.307 #*# #*# [input_shaper] #*# shaper_type_y = ei #*# shaper_freq_y = 40.2 #*# shaper_type_x = mzv #*# shaper_freq_x = 44.2 #*# #*# [bed_mesh Adaptive] #*# version = 1 #*# points = #*# 0.025000, 0.052500, 0.126250 #*# -0.032500, 0.011250, 0.075000 #*# -0.065000, -0.025000, 0.050000 #*# x_count = 3 #*# y_count = 3 #*# mesh_x_pps = 2 #*# mesh_y_pps = 2 #*# algo = lagrange #*# tension = 0.2 #*# min_x = 100.59 #*# max_x = 200.47 #*# min_y = 93.0 #*# max_y = 202.0 Cita
apprendista Inviato 16 Maggio Autore Inviato 16 Maggio Mangio un boccone e ripasso tutto dall'inizio, non capisco anche se metto è in inglese molte scritte me le dà in italiano come stampante invece di printer Cita
apprendista Inviato 16 Maggio Autore Inviato 16 Maggio #To use this config, during "make menuconfig" select the # STM32F103 with a "28KiB bootloader" and serial (on USART1 PA10/PA9) # communication. # If you prefer a direct serial connection, in "make menuconfig" # select "Enable extra low-level configuration options" and select # serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC # cable used for the LCD module as follows: # 3: Tx, 4: Rx, 9: GND, 10: VCC # See docs/Config_Reference.md for a description of parameters. [include plr.cfg] [mcu] serial:/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 restart_method: command [printer] kinematics: cartesian max_velocity: 300 max_accel: 8000 max_accel_to_decel:4500 max_z_velocity: 15 max_z_accel: 150 square_corner_velocity:3.0 [virtual_sdcard] path:/home/mks/printer_data/gcodes [pause_resume] [display_status] [idle_timeout] gcode: RESPOND TYPE=echo MSG="No operations in 10min!" # A list of G-Code commands to execute on an idle timeout. See # docs/Command_Templates.md for G-Code format. The default is to run # "TURN_OFF_HEATERS" and "M84". timeout: 600 [mcu rpi] serial: /tmp/klipper_host_mcu [adxl345] cs_pin: rpi:None spi_bus: spidev0.0 [verify_heater extruder] max_error: 60 check_gain_time:20 hysteresis: 5 heating_gain: 2 [verify_heater heater_bed] max_error: 90 check_gain_time:60 hysteresis: 5 heating_gain: 2 [resonance_tester] accel_chip: adxl345 probe_points: 115, 115, 20 # an example accel_per_hz:50 min_freq:1 max_freq:100 max_smoothing:0.2 hz_per_sec:0.5 [respond] #default_type: echo # Sets the default prefix of the "M118" and "RESPOND" output to one # of the following: # echo: "echo: " (This is the default) # command: "// " # error: "error!" #default_prefix: echo: # Directly sets the default prefix. If present, this value will # override the "default_type". ############################################################################################################# #GCODE_MACRO ############################################################################################################# [gcode_macro CANCEL_PRINT] description: Cancel the actual running print rename_existing: CANCEL_PRINT_BASE gcode: SAVE_VARIABLE VARIABLE=was_interrupted VALUE=False RUN_SHELL_COMMAND CMD=clear_plr clear_last_file G31 TURN_OFF_HEATERS CANCEL_PRINT_BASE RESPOND TYPE=echo MSG="Cancel Print Success!" G91 ;Relative positionning G1 E-2 F500 ;Retract a bit G1 E-2 Z0.2 F200 ;Retract and raise Z G1 Z1 ;Raise Z more M106 S0 ;Turn-off fan M104 S0 ;Turn-off hotend M140 S0 ;Turn-off bed G90 G1 X10 Y210 F6000 M84 X Y E ;Disable all steppers but Z [gcode_macro START_PRINT] gcode: M84 E ; Disable E Motor for probe accuracy on direct drive systems G90 ;Absolute positioning G92 E0 ; Reset Extruder distance to 0 G1 E-1 ; Retracts filament to prevent blobs during probing G92 E0 ; Reset Extruder distance to 0 G28 ; home all axes BED_MESH_PROFILE LOAD=default ; Loads the mesh - now has to be done explicitly, not automatically loaded anymore G92 E0 ; reset extruder G1 Z1.0 F3000 ; move z up little to prevent scratching of surface G1 X0.1 Y20 Z0.3 F5000.0 ; move to start-line position G1 X0.1 Y100.0 Z0.3 F500.0 E15 ; draw 1st line G1 X0.4 Y100.0 Z0.3 F5000.0 ; move to side a little G1 X0.4 Y20 Z0.3 F500.0 E30 ; draw 2nd line G92 E0 ; reset extruder G1 Z1.0 F3000 ; move z up little to prevent scratching of surface [gcode_macro PAUSE] description: Pause the actual running print rename_existing: PAUSE_BASE gcode: RESPOND TYPE=echo MSG="Pause Print!" ##### set defaults ##### {% set x = params.X|default(10) %} #edit to your park position {% set y = params.Y|default(210) %} #edit to your park position {% set z = params.Z|default(10)|float %} #edit to your park position {% set e = params.E|default(1) %} #edit to your retract length ##### calculate save lift position ##### {% set max_z = printer.toolhead.axis_maximum.z|float %} {% set act_z = printer.toolhead.position.z|float %} {% set lift_z = z|abs %} {% if act_z < (max_z - lift_z) %} {% set z_safe = lift_z %} {% else %} {% set z_safe = max_z - act_z %} {% endif %} ##### end of definitions ##### PAUSE_BASE G91 {% if printer.extruder.can_extrude|lower == 'true' %} G1 E-{e} F500 {% else %} {action_respond_info("Extruder not hot enough")} {% endif %} {% if "xyz" in printer.toolhead.homed_axes %} G1 Z{z_safe} G90 G1 X{x} Y{y} F6000 {% else %} {action_respond_info("Printer not homed")} {% endif %} [gcode_macro RESUME] description: Resume the actual running print rename_existing: RESUME_BASE gcode: RESPOND TYPE=echo MSG="RESUME Print!" ##### set defaults ##### {% set e = params.E|default(1) %} #edit to your retract length #### get VELOCITY parameter if specified #### {% if 'VELOCITY' in params|upper %} {% set get_params = ('VELOCITY=' + params.VELOCITY) %} {%else %} {% set get_params = "" %} {% endif %} ##### end of definitions ##### G91 {% if printer.extruder.can_extrude|lower == 'true' %} G1 E{e} F400 {% else %} {action_respond_info("Extruder not hot enough")} {% endif %} RESUME_BASE {get_params} [gcode_macro END_PRINT] gcode: G91 ;Relative positionning G1 E-2 F500 ;Retract a bit G1 E-2 Z0.2 F200 ;Retract and raise Z G1 X5 Y5 F3000 ;Wipe out G1 Z1 ;Raise Z more M106 S0 ;Turn-off fan M104 S0 ;Turn-off hotend M140 S0 ;Turn-off bed G90 ;Absolute positionning G1 X10 Y210 ;Present print M84 X Y E ;Disable all steppers but Z RESPOND TYPE=echo MSG="Finish Print!" [gcode_macro LOAD_FILAMENT] gcode: G91 G1 E30 F300 G1 E10 F150 G90 [gcode_macro UNLOAD_FILAMENT] gcode: G91 G1 E-30 F300 G90 [gcode_macro LED_ON] gcode: SET_PIN PIN=my_led VALUE=1 [gcode_macro LED_OFF] gcode: SET_PIN PIN=my_led VALUE=0 [gcode_macro M205] gcode: M105 ############################################################################################################# #stepper,TMC2209 ############################################################################################################# [stepper_x] step_pin: PC2 dir_pin: !PB9 enable_pin: !PC3 microsteps: 16 rotation_distance: 40 endstop_pin: tmc2209_stepper_x: virtual_endstop homing_retract_dist: 0 position_endstop: 0 position_min: 0 position_max: 225 homing_speed: 90 step_pulse_duration:0.000002 [tmc2209 stepper_x] uart_pin:PC1 run_current:1.1 uart_address:3 interpolate: True driver_sgthrs: 115 stealthchop_threshold: 999999 diag_pin: ^PA5 [stepper_y] step_pin: PB8 dir_pin:PB7 enable_pin: !PC3 microsteps: 16 rotation_distance: 40 endstop_pin: tmc2209_stepper_y: virtual_endstop homing_retract_dist: 0 position_endstop: 0 position_min: 0 position_max: 227 homing_speed: 60 step_pulse_duration:0.000002 [tmc2209 stepper_y] uart_pin:PC0 run_current:1.1 uart_address:3 interpolate: True driver_sgthrs: 85 stealthchop_threshold: 999999 diag_pin: ^PA6 [stepper_z] step_pin: PB6 dir_pin: !PB5 enable_pin: !PC3 microsteps: 16 rotation_distance: 4 endstop_pin:probe:z_virtual_endstop #position_endstop: 0.0 position_max: 260 position_min: -3 homing_speed:6 [extruder] max_extrude_only_distance: 100.0 step_pin: PB4 dir_pin: !PB3 enable_pin: !PC3 microsteps: 16 rotation_distance: 4.59 nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: PA1 sensor_type: EPCOS 100K B57560G104F sensor_pin: PC5 control: pid pressure_advance:0.02 pressure_advance_smooth_time:0.035 pid_Kp=24.522 pid_Ki=1.397 pid_Kd=107.590 min_temp: 0 max_temp: 305 min_extrude_temp: 150 [tmc2209 extruder] uart_pin: PC14 run_current: 0.6 uart_address:3 #hold_current: 0.5 interpolate: True stealthchop_threshold: 400 [heater_bed] heater_pin: PA2 sensor_type: EPCOS 100K B57560G104F sensor_pin: PC4 control: pid # tuned for stock hardware with 50 degree Celsius target pid_Kp: 54.027 pid_Ki: 0.770 pid_Kd: 948.182 min_temp: 0 max_temp: 105 [probe] pin:PB1 x_offset:27 y_offset:-20 [safe_z_home] home_xy_position: 85,137 speed: 100 z_hop: 3 # Move up 5mm z_hop_speed: 6 ################################################# #bed mesh calibrate ################################################# [bed_mesh] speed:200 horizontal_move_z:5 mesh_min:27,12 mesh_max:210,205 probe_count:5,5 algorithm: bicubic bicubic_tension: 0.3 fade_start: 0.2 fade_end: 10 mesh_pps:4,4 move_check_distance: 3 #split_delta_z: .025 [fan] pin:PA0 [input_shaper] shaper_type_x = 2hump_ei shaper_freq_x = 43.8 shaper_type_y = 2hump_ei shaper_freq_y = 41.8 damping_ratio_x: 0.1 damping_ratio_y: 0.09 [gcode_macro PRINT_START] gcode: SAVE_VARIABLE VARIABLE=was_interrupted VALUE=True [gcode_macro PRINT_END] gcode: SAVE_VARIABLE VARIABLE=was_interrupted VALUE=False RUN_SHELL_COMMAND CMD=clear_plr clear_last_file [include printer_additions/___module_loader.cfg] #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [probe] #*# z_offset = 0.5 #*# Cita
Offshore Inviato 16 Maggio Inviato 16 Maggio ma sei sicuro che questo printer.cfg è della Sv07 PLUS?????? a me non sembra....... Cita
apprendista Inviato 16 Maggio Autore Inviato 16 Maggio E questo ho scaricato, non ricordo neanche come, per cambiarlo come si può fare ? Comunque lo ha sempre dato il messaggio rosso ,solo ogni tanto era azzurro. Cita
Offshore Inviato 16 Maggio Inviato 16 Maggio (aggiornato) alura.... crea un file di testo ed incollaci questo codice: #To use this config, during "make menuconfig" select the # STM32F103 with a "28KiB bootloader" and serial (on USART1 PA10/PA9) # communication. # If you prefer a direct serial connection, in "make menuconfig" # select "Enable extra low-level configuration options" and select # serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC # cable used for the LCD module as follows: # 3: Tx, 4: Rx, 9: GND, 10: VCC # See docs/Config_Reference.md for a description of parameters. [include plr.cfg] [mcu] serial:/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 restart_method: command [printer] kinematics: cartesian max_velocity: 300 max_accel: 12000 #max_accel_to_decel:5000 max_z_velocity: 15 max_z_accel: 100 square_corner_velocity:6 [virtual_sdcard] path:/home/mks/printer_data/gcodes [pause_resume] [display_status] [idle_timeout] gcode: RESPOND TYPE=echo MSG="No operations in 10min!" # A list of G-Code commands to execute on an idle timeout. See # docs/Command_Templates.md for G-Code format. The default is to run # "TURN_OFF_HEATERS" and "M84". timeout: 600 [mcu rpi] serial: /tmp/klipper_host_mcu [adxl345] cs_pin: rpi:None spi_bus: spidev0.0 [verify_heater extruder] max_error: 60 check_gain_time:20 hysteresis: 5 heating_gain: 2 [verify_heater heater_bed] max_error: 180 check_gain_time:120 hysteresis: 5 heating_gain: 2 [resonance_tester] accel_chip: adxl345 probe_points: 150, 150, 20 # an example accel_per_hz:100 min_freq:1 max_freq:100 max_smoothing:0.2 hz_per_sec:0.5 [respond] #default_type: echo # Sets the default prefix of the "M118" and "RESPOND" output to one # of the following: # echo: "echo: " (This is the default) # command: "// " # error: "error!" #default_prefix: echo: # Directly sets the default prefix. If present, this value will # override the "default_type". ############################################################################################################# #GCODE_MACRO ############################################################################################################# [gcode_macro CANCEL_PRINT] description: Cancel the actual running print rename_existing: CANCEL_PRINT_BASE gcode: SAVE_VARIABLE VARIABLE=was_interrupted VALUE=False RUN_SHELL_COMMAND CMD=clear_plr clear_last_file G31 TURN_OFF_HEATERS CANCEL_PRINT_BASE RESPOND TYPE=echo MSG="Cancel Print Success!" G91 ;Relative positionning G1 E-2 F500 ;Retract a bit G1 E-2 Z0.2 F200 ;Retract and raise Z G1 Z1 ;Raise Z more M106 S0 ;Turn-off fan M104 S0 ;Turn-off hotend M140 S0 ;Turn-off bed G90 G1 X10 Y290 F6000 M84 X Y E ;Disable all steppers but Z [gcode_macro START_PRINT] gcode: M84 E ; Disable E Motor for probe accuracy on direct drive systems G90 ;Absolute positioning G92 E0 ; Reset Extruder distance to 0 G1 E-1 ; Retracts filament to prevent blobs during probing G92 E0 ; Reset Extruder distance to 0 G28 ; home all axes BED_MESH_PROFILE LOAD=default ; Loads the mesh - now has to be done explicitly, not automatically loaded anymore G92 E0 ; reset extruder G1 Z1.0 F3000 ; move z up little to prevent scratching of surface G1 X0.1 Y20 Z0.3 F5000.0 ; move to start-line position G1 X0.1 Y100.0 Z0.3 F500.0 E15 ; draw 1st line G1 X0.4 Y100.0 Z0.3 F5000.0 ; move to side a little G1 X0.4 Y20 Z0.3 F500.0 E30 ; draw 2nd line G92 E0 ; reset extruder G1 Z1.0 F3000 ; move z up little to prevent scratching of surface [gcode_macro PAUSE] description: Pause the actual running print rename_existing: PAUSE_BASE gcode: RESPOND TYPE=echo MSG="Pause Print!" ##### set defaults ##### {% set x = params.X|default(10) %} #edit to your park position {% set y = params.Y|default(290) %} #edit to your park position {% set z = params.Z|default(10)|float %} #edit to your park position {% set e = params.E|default(1) %} #edit to your retract length ##### calculate save lift position ##### {% set max_z = printer.toolhead.axis_maximum.z|float %} {% set act_z = printer.toolhead.position.z|float %} {% set lift_z = z|abs %} {% if act_z < (max_z - lift_z) %} {% set z_safe = lift_z %} {% else %} {% set z_safe = max_z - act_z %} {% endif %} ##### end of definitions ##### PAUSE_BASE G91 {% if printer.extruder.can_extrude|lower == 'true' %} G1 E-{e} F500 {% else %} {action_respond_info("Extruder not hot enough")} {% endif %} {% if "xyz" in printer.toolhead.homed_axes %} G1 Z{z_safe} G90 G1 X{x} Y{y} F6000 {% else %} {action_respond_info("Printer not homed")} {% endif %} [gcode_macro RESUME] description: Resume the actual running print rename_existing: RESUME_BASE gcode: RESPOND TYPE=echo MSG="RESUME Print!" ##### set defaults ##### {% if printer["filament_switch_sensor my_sensor"].filament_detected == True %} # detect if occur filament runout ,True : filament exists. False:filament runout RESPOND TYPE=echo MSG="RESUME Print!" {% set e = params.E|default(1) %} #edit to your retract length #### get VELOCITY parameter if specified #### {% if 'VELOCITY' in params|upper %} {% set get_params = ('VELOCITY=' + params.VELOCITY) %} {%else %} {% set get_params = "" %} {% endif %} ##### end of definitions ##### G91 {% if printer.extruder.can_extrude|lower == 'true' %} G1 E{e} F400 {% else %} {action_respond_info("Extruder not hot enough")} {% endif %} RESUME_BASE {get_params} {% else %} RESPOND TYPE=echo MSG="Please Insert filament in Sensor!" {% endif %} [gcode_macro END_PRINT] gcode: G91 ;Relative positionning G1 E-2 F500 ;Retract a bit G1 E-2 Z0.2 F200 ;Retract and raise Z G1 X5 Y5 F3000 ;Wipe out G1 Z1 ;Raise Z more M106 S0 ;Turn-off fan M104 S0 ;Turn-off hotend M140 S0 ;Turn-off bed G90 ;Absolute positionning G1 X10 Y290 ;Present print M84 X Y E ;Disable all steppers but Z RESPOND TYPE=echo MSG="Finish Print!" [gcode_macro LOAD_FILAMENT] gcode: G91 G1 E30 F300 G1 E10 F150 G90 [gcode_macro UNLOAD_FILAMENT] gcode: G91 G1 E-30 F300 G90 [gcode_macro LED_ON] gcode: SET_PIN PIN=my_led VALUE=1 [gcode_macro LED_OFF] gcode: SET_PIN PIN=my_led VALUE=0 [gcode_macro M205] gcode: M105 ############################################################################################################# #stepper,TMC2209 ############################################################################################################# [stepper_x] step_pin: PD15 dir_pin: PD14 enable_pin: !PC7 microsteps: 16 rotation_distance: 40 endstop_pin: tmc2209_stepper_x: virtual_endstop homing_retract_dist: 0 position_endstop: -12 position_min: -12 position_max: 302 homing_speed: 50 step_pulse_duration:0.000002 [tmc2209 stepper_x] uart_pin:PE3 run_current:1.2 uart_address:3 interpolate: True driver_sgthrs: 95 stealthchop_threshold:0 diag_pin: ^PD10 [stepper_y] step_pin: PB7 dir_pin: PB6 enable_pin: !PB9 microsteps: 16 rotation_distance: 40 endstop_pin: tmc2209_stepper_y: virtual_endstop homing_retract_dist: 0 position_endstop: -6 position_min: -6 position_max: 302 homing_speed: 50 step_pulse_duration:0.000002 [tmc2209 stepper_y] uart_pin:PE4 run_current:1.2 uart_address:3 interpolate: True driver_sgthrs: 95 stealthchop_threshold:0 diag_pin: ^PE0 [stepper_z] step_pin: PB3 dir_pin: !PD7 enable_pin: !PB5 microsteps: 16 rotation_distance: 8 endstop_pin:probe:z_virtual_endstop #position_endstop: 0.0 position_max: 355 position_min: -4 homing_speed:10 [stepper_z1] step_pin: PA7 dir_pin: !PA6 enable_pin: !PC5 microsteps: 16 rotation_distance: 8 endstop_pin:probe:z_virtual_endstop #position_endstop: 0.0 [extruder] max_extrude_only_distance: 100.0 step_pin: PD1 dir_pin: !PD0 enable_pin: !PD4 microsteps: 16 rotation_distance: 4.59 nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: PA1 sensor_type: EPCOS 100K B57560G104F sensor_pin: PA4 control: pid pressure_advance:0.02 pressure_advance_smooth_time:0.035 max_extrude_cross_section:500 instantaneous_corner_velocity:10 max_extrude_only_distance: 100.0 max_extrude_only_velocity:2000 max_extrude_only_accel:10000 pid_Kp=24.522 pid_Ki=1.397 pid_Kd=107.590 min_temp: 0 max_temp: 305 min_extrude_temp: 150 [tmc2209 extruder] uart_pin: PE7 run_current: 0.6 uart_address:3 #hold_current: 0.5 interpolate: True [heater_bed] heater_pin: PA2 sensor_type: EPCOS 100K B57560G104F sensor_pin: PA3 control: pid # tuned for stock hardware with 50 degree Celsius target pid_Kp: 54.027 pid_Ki: 0.770 pid_Kd: 948.182 min_temp: 0 max_temp: 105 [probe] pin:PD13 x_offset:27 y_offset:-20 [filament_switch_sensor my_sensor] #pause_on_runout: True # runout_gcode: # RESPOND TYPE=error MSG="Filament Runout! Please change filament!" #event_delay: 3.0 #pause_delay: 0.5 switch_pin:PD11 [safe_z_home] home_xy_position: 123,170 speed: 80 z_hop: 5 # Move up 5mm z_hop_speed: 10 ################################################# #Z stepper tilt adjustment ################################################# [z_tilt] z_positions: -8, 170 260, 170 points: -8, 170 260, 170 speed: 200 horizontal_move_z: 5 retries: 20 retry_tolerance: .005 ################################################# #bed mesh calibrate ################################################# [bed_mesh] speed:200 horizontal_move_z:5 mesh_min:17,15 mesh_max:285,282 probe_count:5,5 algorithm: bicubic bicubic_tension: 0.3 fade_start: 0.2 fade_end: 5.0 mesh_pps:4,4 move_check_distance: 3 #split_delta_z: .025 ################################################# #adjust bed screws tilt ################################################# [screws_tilt_adjust] screw1: 4, 58 screw1_name: front left screw screw2: 243, 58 screw2_name: front right screw screw3: 243, 290 screw3_name: rear right screw screw4: 4, 290 screw4_name: rear left screw horizontal_move_z: 5. speed: 200. screw_thread: CW-M4 [heater_fan hotend_fan] pin: PE11 [multi_pin fan_pins] pins: PE9,PE13 [fan] pin:multi_pin:fan_pins [output_pin my_led] pin:PC4 pwm: 1 value:1 cycle_time: 0.010 [controller_fan Fan_Board] pin:PD3 fan_speed: 1.0 idle_timeout: 120 heater: heater_bed, extruder stepper: stepper_x, stepper_y, stepper_z, stepper_z1 [input_shaper] damping_ratio_x: 0.05 damping_ratio_y: 0.1 shaper_type_x = 3hump_ei shaper_freq_x = 40 shaper_type_y = 2hump_ei shaper_freq_y = 40 [gcode_macro PRINT_START] # 将 PRINT_START 设置为开始打印时的宏,自定义打印前的动作 gcode: SAVE_VARIABLE VARIABLE=was_interrupted VALUE=True [gcode_macro PRINT_END] gcode: SAVE_VARIABLE VARIABLE=was_interrupted VALUE=False RUN_SHELL_COMMAND CMD=clear_plr clear_last_file # Klipper Printer Additions Start [include printer_additions/___module_loader.cfg] # Klipper Printer Additions End #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [probe] #*# z_offset = 0.5 #*# poi lo salvi come printer.cfg (prima rinomini il tuo printer.cfg che è già caricato in altro nome) e lo carichi su klipper, hai anche già caricato la cartella printer_addittion con tutti i suoi files all'internos ? se si c'è già il richiamo in fondo in questo file.... se quando carichi il file ti da sempre come finale txt rinominalo, togliendo il finale txt.... e guarda se va.... Modificato 16 Maggio da Offshore Cita
apprendista Inviato 16 Maggio Autore Inviato 16 Maggio Il mio printer.cfg come è nominato ? E come lo devo nominare per averne due uguali ? Cita
Offshore Inviato 16 Maggio Inviato 16 Maggio no due uguali non possono coesistere...... devi sostituire il tuo printer.cfg (è scritto così nella sezione macchina) e rinominare prima il vecchio.... quel printer.cfg che hai postato non è della sv07 plus... non corrispondono le misure del piatto e manca il secondo asse z per il tilt.... sicuro che hai una sv07 plus??? altrimenti è fatica inutile questa..... e sono sballati anche i pin di riferimento.... Cita
Offshore Inviato 16 Maggio Inviato 16 Maggio allora hai sbagliato il printer.cfg!😅 fai quello che ti ho scritto e vedrai che funzionerà! 1 Cita
Messaggi raccomandati
Partecipa alla conversazione
Puoi pubblicare ora e registrarti più tardi. Se hai un account, accedi ora per pubblicarlo con il tuo account.