made the rotary delta config sample work for smoothieboards
authorJim Morris <morris@wolfman.com>
Wed, 3 Feb 2016 08:38:07 +0000 (00:38 -0800)
committerJim Morris <morris@wolfman.com>
Wed, 3 Feb 2016 08:38:07 +0000 (00:38 -0800)
ConfigSamples/rotary.delta/config

index a736153..a7fe1e5 100644 (file)
@@ -9,8 +9,6 @@ mm_per_arc_segment                           0.5              # Arcs are cut int
                                                               # coordinates robots ).
 delta_segments_per_second                    100              # for deltas only same as in Marlin/Delta, set to 0 to disable
                                                               # and use mm_per_line_segment
-
-
 # Arm solution configuration : Rotatable Delta robot. Translates mm positions into stepper positions
 arm_solution      rotary_delta  # selects the delta arm solution
 
@@ -64,7 +62,7 @@ junction_deviation                           0.05             # Similar to the o
 
 # Stepper module configuration
 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
+base_stepping_frequency                      100000           # Base frequency for stepping
 
 # Cartesian axis speed limits
 x_axis_max_speed                             30000            # mm/min
@@ -76,25 +74,24 @@ alpha_step_pin                               2.0              # Pin for alpha st
 alpha_dir_pin                                0.5              # Pin for alpha stepper direction
 alpha_en_pin                                 0.4              # Pin for alpha enable pin
 alpha_current                                1.5              # X stepper motor current
-alpha_max_rate                               3000.0           # mm/min
+alpha_max_rate                               30000.0          # mm/min
 
 beta_step_pin                                2.1              # Pin for beta stepper step signal
 beta_dir_pin                                 0.11             # Pin for beta stepper direction
 beta_en_pin                                  0.10             # Pin for beta enable
 beta_current                                 1.5              # Y stepper motor current
-beta_max_rate                                3000.0           # mm/min
+beta_max_rate                                30000.0          # mm/min
 
 gamma_step_pin                               2.2              # Pin for gamma stepper step signal
 gamma_dir_pin                                0.20             # Pin for gamma stepper direction
 gamma_en_pin                                 0.19             # Pin for gamma enable
 gamma_current                                1.5              # Z stepper motor current
-gamma_max_rate                               3000.0           # mm/min
+gamma_max_rate                               30000.0          # mm/min
 
 # Serial communications configuration ( baud rate default to 9600 if undefined )
 uart0.baud_rate                              115200           # 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)
-
 #leds_disable                                true             # disable using leds after config loaded
 #msd_disable                                 false            # disable the MSD (USB SDCARD) when set to true
 #dfu_enable                                  false            # for linux developers, set to true to enable DFU
@@ -107,7 +104,7 @@ extruder.hotend.default_feed_rate               600              # Default rate
 extruder.hotend.acceleration                    500              # Acceleration for the stepper motor, as of 0.6, arbitrary ratio
 extruder.hotend.max_speed                       50               # mm/s
 
-extruder.hotend.step_pin                        2.1              # Pin for extruder step signal should be 2.3
+extruder.hotend.step_pin                        2.3              # Pin for extruder step signal
 extruder.hotend.dir_pin                         0.22             # Pin for extruder dir signal
 extruder.hotend.en_pin                          0.21             # Pin for extruder enable signal
 
@@ -124,23 +121,23 @@ extruder.hotend.en_pin                          0.21             # Pin for extru
 #extruder.hotend.retract_zlift_length            0               # zlift on retract in mm, 0 disables
 #extruder.hotend.retract_zlift_feedrate          6000            # zlift feedrate in mm/min (Note mm/min NOT mm/sec)
 
-delta_current                                   1.5              # First extruder stepper motor current
+delta_current                                1.5              # First extruder stepper motor current
 
 # 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                  140              # 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
+#extruder.hotend2.enable                          true             # Whether to activate the extruder module at all. All configuration is ignored if false
+#extruder.hotend2.steps_per_mm                    140              # 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
 
-#extruder.hotend2.step_pin                      2.8              # Pin for extruder step signal
-#extruder.hotend2.dir_pin                       2.13             # Pin for extruder dir signal
-#extruder.hotend2.en_pin                        4.29             # Pin for extruder enable signal
+#extruder.hotend2.step_pin                        2.8              # Pin for extruder step signal
+#extruder.hotend2.dir_pin                         2.13             # Pin for extruder dir signal
+#extruder.hotend2.en_pin                          4.29             # Pin for extruder enable signal
 
-#extruder.hotend2.x_offset                      0                # x offset from origin in mm
-#extruder.hotend2.y_offset                      25.0             # y offset from origin in mm
-#extruder.hotend2.z_offset                      0                # z offset from origin in mm
-#epsilon_current                                1.5              # Second extruder stepper motor current
+#extruder.hotend2.x_offset                        0                # x offset from origin in mm
+#extruder.hotend2.y_offset                        25.0             # y offset from origin in mm
+#extruder.hotend2.z_offset                        0                # z offset from origin in mm
+#epsilon_current                              1.5              # Second extruder stepper motor current
 
 # Laser module configuration
 laser_module_enable                          false            # Whether to activate the laser module at all. All configuration is
@@ -165,6 +162,8 @@ temperature_control.hotend.thermistor        EPCOS100K        # see http://smoot
 temperature_control.hotend.set_m_code        104              #
 temperature_control.hotend.set_and_wait_m_code 109            #
 temperature_control.hotend.designator        T                #
+#temperature_control.hotend.max_temp         300              # Set maximum temperature - Will prevent heating above 300 by default
+#temperature_control.hotend.min_temp         0                # Set minimum temperature - Will prevent heating below 0 by default
 
 #temperature_control.hotend.p_factor         13.7             # permanently set the PID values after an auto pid
 #temperature_control.hotend.i_factor         0.097            #
@@ -181,8 +180,8 @@ temperature_control.hotend.designator        T                #
 #temperature_control.hotend2.thermistor        EPCOS100K        # http://smoothieware.org/temperaturecontrol#toc5
 ##temperature_control.hotend2.beta             4066             # or set the beta value
 
-#temperature_control.hotend2.set_m_code        884              #
-#temperature_control.hotend2.set_and_wait_m_code 889            #
+#temperature_control.hotend2.set_m_code        104              #
+#temperature_control.hotend2.set_and_wait_m_code 109            #
 #temperature_control.hotend2.designator        T1               #
 
 #temperature_control.hotend2.p_factor          13.7           # permanently set the PID values after an auto pid
@@ -235,35 +234,41 @@ switch.fan.output_type                       pwm              # pwm output setta
 endstops_enable                              true             # the endstop module is enabled by default and can be disabled here
 delta_homing                                 true             # forces all three axis to home a the same time regardless of
                                                               # what is specified in G28
-alpha_min_endstop                            1.24^            #
-alpha_max_endstop                            nc               # add ! to invert pullup if switch is NO to ground
-alpha_homing_direction                       home_to_min      # Home up as the rotational delta has the min at the top!
-alpha_min                                    0                # The ‘0’ home position is some 60 degrees down from the min endstop
-beta_min_endstop                             1.26^            #
-beta_max_endstop                             nc               #
-beta_homing_direction                        home_to_min      #
-beta_min                                     0                #
-gamma_min_endstop                            1.28^            #
-gamma_max_endstop                            nc               #
-gamma_homing_direction                       home_to_min      #
-gamma_min                                    0                #
+alpha_min_endstop                            nc               #
+alpha_max_endstop                            1.25^            # add ! to invert pullup if switch is NO to ground
+alpha_homing_direction                       home_to_max      # Home up
+alpha_max                                    0                #
+beta_min_endstop                             nc               #
+beta_max_endstop                             1.27^            #
+beta_homing_direction                        home_to_max      #
+beta_max                                     0                #
+gamma_min_endstop                            nc               #
+gamma_max_endstop                            1.29^            #
+gamma_homing_direction                       home_to_max      #
+gamma_max                                    300              #
 
 alpha_fast_homing_rate_mm_s                  200              # homing feedrates in mm/second
 beta_fast_homing_rate_mm_s                   200              #
-gamma_fast_homing_rate_mm_s                  200              # 200
-alpha_slow_homing_rate_mm_s                  50              #
-beta_slow_homing_rate_mm_s                   50              #
-gamma_slow_homing_rate_mm_s                  50              # 20
+gamma_fast_homing_rate_mm_s                  200              #
+alpha_slow_homing_rate_mm_s                  20               #
+beta_slow_homing_rate_mm_s                   20               #
+gamma_slow_homing_rate_mm_s                  20
 
 alpha_homing_retract_mm                      5                # retract/bounce distance after homing in mm
 beta_homing_retract_mm                       5                #
 gamma_homing_retract_mm                      5                #
 
-alpha_trim                                   -61              # software trim for alpha stepper endstop (in mm)
-beta_trim                                    -61              # software trim for beta stepper endstop (in mm)
-gamma_trim                                   -61              # software trim for gamma stepper endstop (in mm)
+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)
+
+# optional enable limit switches, actions will stop if any enabled limit switch is triggered (all are set for delta)
+#alpha_limit_enable                          false            # set to true to enable X min and max limit switches
+#beta_limit_enable                           false            # set to true to enable Y min and max limit switches
+#gamma_limit_enable                          false            # set to true to enable Z min and max limit switches
 
-#endstop_debounce_count                       100             # uncomment if you get noise on your endstops
+#move_to_origin_after_home                    true             # move XY to 0,0 after homing
+#endstop_debounce_count                       100              # uncomment if you get noise on your endstops
 
 # optional Z probe
 zprobe.enable                                false           # set to true to enable a zprobe
@@ -278,8 +283,9 @@ zprobe.probe_height                          5               # how much above be
 #leveling-strategy.delta-calibration.enable   true            # basic delta calibration
 #leveling-strategy.delta-calibration.radius   100             # the probe radius
 
-# Kill button
-kill_button_enable                          true             #
+# kill button (used to be called pause) maybe assigned to a different pin, set to the onboard pin by default
+kill_button_enable                           true             # set to true to enable a kill button
+kill_button_pin                              2.12             # kill button pin. default is same as pause button 2.12 (2.11 is another good choice)
 
 # Panel
 panel.enable                                 false             # set to true to enable the panel code
@@ -309,7 +315,7 @@ panel.menu_offset                            0                 # some panels wil
 
 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.gamma_jog_feedrate                     200               # z jogging feedrate in mm/min
 
 panel.hotend_temperature                     185               # temp to set hotend when preheat is selected
 panel.bed_temperature                        60                # temp to set bed when preheat is selected