[HELP]Kossel MKS SBASE 1.3, wrong Z height April 22, 2019 02:38PM |
Registered: 4 years ago Posts: 1 |
#NOTE Lines must not exceed 132 characters #Robot module configurations : general handling of movement G-codes and slicing into moves arm_solution linear_delta # delta #--------------------------------------------------------------------------- #Basic Parameters #--------------------------------------------------------------------------- alpha_steps_per_mm 160 # Steps per mm for alpha stepper beta_steps_per_mm 160 # Steps per mm for beta stepper gamma_steps_per_mm 160 # Steps per mm for gamma stepper extruder.hotend.steps_per_mm 420 # Steps per mm for extruder stepper arm_length 271.5 # this is the length of an arm from hinge to hinge arm_radius 135.4 # this is the horizontal distance from hinge to hinge # when the effector is centered gamma_max 282.3 # Print Height alpha_current 1.25 # X stepper motor current beta_current 1.25 # Y stepper motor current gamma_current 1.25 # Z stepper motor current delta_current 1 # E0 stepper motor current #epsilon_current 1.0 # E1 stepper motor current # Stepper Pins alpha_step_pin 2.0 # Pin for alpha stepper step signal (2.0) alpha_en_pin 0.4 # Pin for alpha enable pin (0.4) alpha_dir_pin 0.5 # Pin for alpha stepper direction (0.5) beta_step_pin 2.1 # Pin for beta stepper step signal (2.1) beta_en_pin 0.10 # Pin for beta enable (0.10) beta_dir_pin 0.11 # Pin for beta stepper direction (0.11) gamma_step_pin 2.2 # Pin for gamma stepper step signal (2.2) gamma_en_pin 0.19 # Pin for gamma enable (0.19) gamma_dir_pin 0.20 # Pin for gamma stepper direction (0.20) extruder.hotend.step_pin 2.3 # Pin for extruder step signal (2.3) extruder.hotend.en_pin 0.21 # Pin for extruder enable signal (0.21) extruder.hotend.dir_pin 0.22 # Pin for extruder stepper direction (0.22) #extruder.hotend2.step_pin 2.8 # Pins for E1 (2.8) #extruder.hotend2.en_pin 4.29 # (4.29) #extruder.hotend2.dir_pin 2.13 # (2.13) network.ip_address 192.168.0.10 # the IP address network.ip_mask 255.255.255.0 # the ip mask network.ip_gateway 192.168.0.1 # the gateway address #--------------------------------------------------------------------------- #Key Parameter #--------------------------------------------------------------------------- default_feed_rate 4000 # Default rate ( mm/minute ) for G1/G2/G3 moves default_seek_rate 4000 # Default rate ( mm/minute ) for G0 moves acceleration 3000 # Acceleration in mm/second/second. junction_deviation 0.05 # Similar to the old "max_jerk", in millimeters, # see [github.com] # and [github.com] # Lower values mean being more careful, higher values means being # faster and have more jerk x_axis_max_speed 30000 # mm/min y_axis_max_speed 30000 # mm/min z_axis_max_speed 30000 # mm/min alpha_max_rate 30000.0 # mm/min beta_max_rate 30000.0 # mm/min gamma_max_rate 30000.0 # mm/min #Endstops endstops_enable true # the endstop module is enabled by default and can be disabled here alpha_max_endstop 1.25 # add ! to invert pullup if switch is NO to ground beta_max_endstop 1.27 # add ! to invert pullup if switch is NO to ground gamma_max_endstop 1.29 # add ! to invert pullup if switch is NO to ground delta_homing true # forces all three axis to home a the same time regardless of # what is specified in G28 alpha_min_endstop nc # alpha_homing_direction home_to_max # Home up alpha_max 0 # beta_min_endstop nc # beta_homing_direction home_to_max # beta_max 0 # gamma_min_endstop nc # gamma_homing_direction home_to_max # alpha_fast_homing_rate_mm_s 100 # homing feedrates in mm/second beta_fast_homing_rate_mm_s 100 # gamma_fast_homing_rate_mm_s 100 # alpha_slow_homing_rate_mm_s 10 # beta_slow_homing_rate_mm_s 10 # gamma_slow_homing_rate_mm_s 10 alpha_homing_retract_mm 5 # retract/bounce distance after homing in mm beta_homing_retract_mm 5 # gamma_homing_retract_mm 5 # alpha_trim 0 # software trim for alpha stepper endstop (in mm) beta_trim 0 # software trim for beta stepper endstop (in mm) gamma_trim 0 # software trim for gamma stepper endstop (in mm) # Z-Probe zprobe.enable true # set to true to enable a zprobe zprobe.probe_pin 1.28^ # pin probe is attached to if NC remove the ! zprobe.slow_feedrate 10 # mm/sec probe feed rate zprobe.fast_feedrate 50 # move feedrate mm/sec zprobe.probe_height 21.8 # how much above bed to start probe zprobe.max_z 265 leveling-strategy.delta-calibration.enable true # basic delta calibration leveling-strategy.delta-calibration.radius 110 # the probe radius leveling-strategy.delta-calibration.initial_height 40 # height above bed to stop initial move leveling-strategy.delta-grid.enable true leveling-strategy.delta-grid.radius 110 leveling-strategy.delta-grid.size 9 leveling-strategy.delta-grid.do_home true leveling-strategy.delta-grid.initial_height 40 leveling-strategy.delta-grid.probe_offsets 0,0,0 # probe offsets x,y,z (Z should always be 0) leveling-strategy.delta-grid.save true # Bltouch servo switch.servo.enable true switch.servo.input_on_command M280 switch.servo.input_off_command M281 switch.servo.output_pin 1.23 switch.servo.output_type hwpwm switch.servo.pwm_period_ms 20 #--------------------------------------------------------------------- #Delta Planning #--------------------------------------------------------------------- mm_per_arc_segment 0.5 # Arcs are cut into segments ( lines ), this is the length for # these segments. Smaller values mean more resolution, # higher values mean faster computation delta_segments_per_second 100 # for deltas only same as in Marlin/Delta, set to 0 to disable # and use mm_per_line_segment planner_queue_size 32 # DO NOT CHANGE THIS UNLESS YOU KNOW EXACTLY WHAT YOU ARE DOING microseconds_per_step_pulse 1 # Duration of step pulses to stepper drivers, in microseconds base_stepping_frequency 100000 # Base frequency for stepping, higher gives smoother movement acceleration_ticks_per_second 1000 # Number of times per second the speed is updated #--------------------------------------------------------------------------- #Additions #--------------------------------------------------------------------------- uart0.baud_rate 250000 # Baud rate for the default hardware serial port second_usb_serial_enable false # This enables a second usb serial port (to have both pronterface # and a terminal connected) pause_button_enable true # Pause button enable laser_module_enable false # Whether to activate the laser module at all. All configuration is # ignored if false. after_suspend_gcode G91_G0Z10E-5F4000_G90_G0X0Y-85 before_resume_gcode G91_G1E5_G90 leave_heaters_on_suspend true #--------------------------------------------------------------------------- # I/O #--------------------------------------------------------------------------- extruder.hotend.enable true # Whether to activate the extruder module at all. All configuration is ignored if false extruder.hotend.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves extruder.hotend.acceleration 500 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio extruder.hotend.max_speed 50 # mm/s temperature_control.hotend.enable true # temperature_control.hotend.thermistor_pin 0.23 # temperature_control.hotend.heater_pin 2.5 # temperature_control.hotend.pwm_frequency 20 temperature_control.hotend.p_factor 37.2767 temperature_control.hotend.i_factor 2.6437 temperature_control.hotend.d_factor 131.4005 temperature_control.hotend.thermistor Semitec # temperature_control.hotend.set_m_code 104 # temperature_control.hotend.set_and_wait_m_code 109 # temperature_control.hotend.designator T # # Second extruder module configuration example #extruder.hotend2.enable true # Whether to activate the extruder module at all. All configuration is ignored if false #extruder.hotend2.steps_per_mm 90 # Steps per mm for extruder stepper #extruder.hotend2.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves #extruder.hotend2.acceleration 500 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio #extruder.hotend2.max_speed 50 # mm/s #temperature_control.hotend2.enable true # #temperature_control.hotend2.thermistor_pin 0.25 # #temperature_control.hotend2.heater_pin 2.6 # #temperature_control.hotend2.thermistor RRRF100K # #temperature_control.hotend2.set_m_code 104 # #temperature_control.hotend2.set_and_wait_m_code 109 # #temperature_control.hotend2.designator T1 # #Bed temperature_control.bed.enable true # temperature_control.bed.thermistor_pin 0.24 # temperature_control.bed.heater_pin 1.22v # temperature_control.bed.pwm_frequency 10 temperature_control.bed.p_factor 355.0869 temperature_control.bed.i_factor 64.5612 temperature_control.bed.d_factor 488.2445 temperature_control.bed.thermistor Semitec # see [smoothieware.org] temperature_control.bed.set_m_code 140 # temperature_control.bed.set_and_wait_m_code 190 # temperature_control.bed.designator B # #temperature_control.bed.bang_bang false # set to true to use bang bang control rather than PID #temperature_control.bed.hysteresis 2.0 # set to the temperature in degrees C to use as hysteresis # when using bang bang # Fan switch.fan.enable true # switch.fan.input_on_command M106 # switch.fan.input_off_command M107 # switch.fan.output_pin 2.4 # switch.fan.output_type pwm # pwm output settable with S parameter in the input_on_comand # Fan 2 (Hotend) switch.fan2.enable true # switch.fan2.input_on_command M906 switch.fan2.input_off_command M907 switch.fan2.output_pin 2.6 # switch.fan2.output_type pwm # pwm output settable with S parameter in the input_on_comand switch.fan2.max_pwm 150 # automatically toggle a switch at a specified temperature # useful to turn on a fan or water pump to cool the hotend temperatureswitch.hotend.enable true # enable this module temperatureswitch.hotend.switch fan2 # select which MOSFET to use, must match a switch configuration (fan2 below) temperatureswitch.hotend.designator T # first character of the temperature control designator to use as the temperature sensor to monitor temperatureswitch.hotend.threshold_temp 50.0 # temperature to turn on (if rising) or off the switch temperatureswitch.hotend.heatup_poll 15 # poll heatup at 15 sec intervals temperatureswitch.hotend.cooldown_poll 60 # poll cooldown at 60 sec intervals switch.led.enable true switch.led.output_pin 2.7 switch.led.output_type pwm switch.led.input_on_command M355 switch.led.input_off_command M356 switch.led.bed.pwm_period_ms 5 #endstop_debounce_count 100 # uncomment if you get noise on your endstops pause_button_enable true # # MKS 12864LCD panel.enable true # set to true to enable the panel code panel.lcd reprap_discount_glcd # panel.spi_channel 0 # spi channel to use ; GLCD EXP1 Pins 3,5 (MOSI, SCLK) panel.spi_cs_pin 0.16 # spi chip select ; GLCD EXP1 Pin 4 panel.encoder_a_pin 3.26!^ # encoder pin ; GLCD EXP2 Pin 3 panel.encoder_b_pin 3.25!^ # encoder pin ; GLCD EXP2 Pin 5 panel.click_button_pin 1.30!^ # click button ; GLCD EXP1 Pin 2 panel.buzz_pin 1.31 # pin for buzzer ; GLCD EXP1 Pin 1 panel.back_button_pin 2.11!^ # back button ; GLCD EXP2 Pin 8 or panel.external_sd false # set to true if there is an extrernal sdcard on the panel panel.external_sd.spi_channel 1 # set spi channel the sdcard is on panel.external_sd.spi_cs_pin 0.28 # set spi chip select for the sdcard (or any spare pin) panel.external_sd.sdcd_pin 0.27!^ # sd detect signal (set to nc if no sdcard detect) (or any spare pin) panel.menu_offset 1 # some panels will need 1 here panel.alpha_jog_feedrate 6000 # x jogging feedrate in mm/min panel.beta_jog_feedrate 6000 # y jogging feedrate in mm/min panel.gamma_jog_feedrate 6000 # z jogging feedrate in mm/min panel.hotend_temperature 190 # temp to set hotend when preheat is selected panel.bed_temperature 50 # temp to set bed when preheat is selected # Custom Menu # Example of a custom menu entry, which will show up in the Custom entry. # NOTE _ gets converted to space in the menu and commands, | is used to separate multiple commands custom_menu.led_on.enable true custom_menu.led_on.name Light_On custom_menu.led_on.command M355S255 custom_menu.led_off.enable true custom_menu.led_off.name Light_Off custom_menu.led_off.command M356 custom_menu.pause.enable true custom_menu.pause.name Suspend custom_menu.pause.command M600 custom_menu.resume.enable true custom_menu.resume.name Resume custom_menu.resume.command M601 custom_menu.delta_cal.enable true custom_menu.delta_cal.name G32_Calibration custom_menu.delta_cal.command G32 custom_menu.delta_level.enable true custom_menu.delta_level.name G31_Bed_Leveling custom_menu.delta_level.command G31 custom_menu.fan2_on.enable true custom_menu.fan2_on.name PCB_Fan_ON custom_menu.fan2_on.command M906 custom_menu.fan2_off.enable true custom_menu.fan2_off.name PCB_Fan_OFF custom_menu.fan2_off.command M907 #custom_menu.blt_probe_out.enable true # #custom_menu.blt_probe_out.name BLTouch_Down # #custom_menu.blt_probe_out.command M280S3 # #custom_menu.blt_probe_In.enable true # #custom_menu.blt_probe_In.name BLTouch_Up # #custom_menu.blt_probe_In.command M280S7 # #custom_menu.blt_reset_alarm.enable true # #custom_menu.blt_reset_alarm.name BLTouch_Reset # #custom_menu.blt_reset_alarm.command M280S10.6 # #custom_menu.blt_probe_delta.enable true # #custom_menu.blt_probe_delta.name Run_Delta_Calibration # #custom_menu.blt_probe_delta.command M280S10.6|M280_S3.0|G32|M280_S7.0|G1X0Y0Z50 # #custom_menu.blt_probe_bed.enable true # #custom_menu.blt_probe_bed.name Run_Bed_Leveling # #custom_menu.blt_probe_bed.command M280S10.6|M280_S3.0|G31|M374|M280_S7.0|G1X0Y0Z50 # custom_menu.save.enable true custom_menu.save.name EEPROM_Save custom_menu.save.command M500 currentcontrol_module_enable true # return_error_on_unhandled_gcode false # #Network network.enable false # enable the ethernet network services network.webserver.enable false # enable the webserver network.telnet.enable false # enable the telnet server