c78184aeb178ceb81dafeff3853e34e936a6512c
[clinton/Smoothieware.git] / ConfigSamples / Smoothieboard.Kossel / config
1 # Robot module configurations : general handling of movement G-codes and slicing into moves
2 default_feed_rate 4000 # Default rate ( mm/minute ) for G1/G2/G3 moves
3 default_seek_rate 4000 # Default rate ( mm/minute ) for G0 moves
4 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
5 mm_per_line_segment 0.0 # Lines can be cut into segments ( not usefull with cartesian coordinates robots, but very useful on a delta type bot ). set to 0.0 to disable
6 delta_segments_per_second 100 # for deltas only same as in Marlin/Delta, set to 0 to disable and use mm_per_line_segment
7
8 # Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions
9 arm_solution kossel # selects the kossel arm solution
10
11 alpha_steps_per_mm 100 # Steps per mm for alpha stepper
12 beta_steps_per_mm 100 # Steps per mm for beta stepper
13 gamma_steps_per_mm 100 # Steps per mm for gamma stepper
14
15 arm_length 250.0 # this is the length of an arm from hinge to hinge
16 arm_radius 124.0 # this is the horiontal distance from hinge to hinge when the effector is centered
17
18 # Planner module configuration : Look-ahead and acceleration configuration
19 planner_queue_size 32 # Size of the planning queue, must be a power of 2. 128 seems to be the maximum.
20 acceleration 3000 # Acceleration in mm/second/second.
21 acceleration_ticks_per_second 1000 # Number of times per second the speed is updated
22 junction_deviation 0.05 # Similar to the old "max_jerk", in millimeters, see : https://github.com/grbl/grbl/blob/master/planner.c#L409
23 # and https://github.com/grbl/grbl/wiki/Configuring-Grbl-v0.8 . Lower values mean being more careful, higher values means being faster and have more jerk
24
25 # Stepper module configuration
26 microseconds_per_step_pulse 1 # Duration of step pulses to stepper drivers, in microseconds
27 minimum_steps_per_minute 1200 # Never step slower than this
28 base_stepping_frequency 100000 # Base frequency for stepping, higher gives smoother movement
29
30 # Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin )
31 alpha_step_pin 2.0 # Pin for alpha stepper step signal
32 alpha_dir_pin 0.5 # Pin for alpha stepper direction
33 alpha_en_pin 0.4 # Pin for alpha enable pin
34 alpha_current 1.5 # X stepper motor current
35 x_axis_max_speed 30000 # mm/min
36
37 beta_step_pin 2.1 # Pin for beta stepper step signal
38 beta_dir_pin 0.11 # Pin for beta stepper direction
39 beta_en_pin 0.10 # Pin for beta enable
40 beta_current 1.5 # Y stepper motor current
41 y_axis_max_speed 30000 # mm/min
42
43 gamma_step_pin 2.2 # Pin for gamma stepper step signal
44 gamma_dir_pin 0.20 # Pin for gamma stepper direction
45 gamma_en_pin 0.19 # Pin for gamma enable
46 gamma_current 1.5 # Z stepper motor current
47 z_axis_max_speed 30000 # mm/min
48
49 # Serial communications configuration ( baud rate default to 9600 if undefined )
50 uart0.baud_rate 115200 # Baud rate for the default serial port
51
52 # Extruder module configuration
53 extruder_module_enable true # Whether to activate the extruder module at all. All configuration is ignored if false
54 extruder_steps_per_mm 140 # Steps per mm for extruder stepper
55 extruder_default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
56 extruder_acceleration 50 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio
57 extruder_max_speed 1000 # mm^3/s
58
59 extruder_step_pin 2.3 # Pin for extruder step signal
60 extruder_dir_pin 0.22 # Pin for extruder dir signal
61 extruder_en_pin 0.21 # Pin for extruder enable signal
62 delta_current 1.5 # Extruder stepper motor current
63
64 # Laser module configuration
65 laser_module_enable false # Whether to activate the laser module at all. All configuration is ignored if false.
66
67 # Hotend temperature control configuration
68 temperature_control.hotend.enable true # Whether to activate this ( "hotend" ) module at all. All configuration is ignored if false.
69 temperature_control.hotend.thermistor_pin 0.23 # Pin for the thermistor to read
70 temperature_control.hotend.heater_pin 2.7 # Pin that controls the heater
71 temperature_control.hotend.thermistor EPCOS100K # see src/modules/tools/temperaturecontrol/TemperatureControl.cpp:64 for a list of valid thermistor names
72 temperature_control.hotend.set_m_code 104 #
73 temperature_control.hotend.set_and_wait_m_code 109 #
74 temperature_control.hotend.designator T #
75
76 #temperature_control.hotend.p_factor 13.7 # permanenetly set the PID values after an auto pid
77 #temperature_control.hotend.i_factor 0.097 #
78 #temperature_control.hotend.d_factor 24 #
79
80 #temperature_control.hotend.max_pwm 64 # override max pwm, 64 is a good value if driving a 12v resistor with 24v.
81
82 temperature_control.bed.enable true #
83 temperature_control.bed.thermistor_pin 0.24 #
84 temperature_control.bed.heater_pin 2.5 #
85 temperature_control.bed.thermistor Honeywell100K # see src/modules/tools/temperaturecontrol/TemperatureControl.cpp:64 for a list of valid thermistor names
86 temperature_control.bed.set_m_code 140 #
87 temperature_control.bed.set_and_wait_m_code 190 #
88 temperature_control.bed.designator B #
89
90 # Switch module for fan control
91 switch.fan.enable true #
92 switch.fan.input_on_command M106 #
93 switch.fan.input_off_command M107 #
94 switch.fan.output_pin 2.6 #
95
96 switch.misc.enable true #
97 switch.misc.input_on_command M42 #
98 switch.misc.input_off_command M43 #
99 switch.misc.output_pin 2.4 #
100
101 # Switch module for spindle control
102 switch.spindle.enable false #
103
104 # Endstops
105 endstops_enable true # the endstop module is enabled by default and can be disabled here
106 delta_homing true # forces all three axis to home a the same time regardless of what is specified in G28
107 alpha_min_endstop nc #
108 alpha_max_endstop 1.25^ # add ! to invert pullup if switch is NO to ground
109 alpha_homing_direction home_to_max # Home up
110 alpha_max 0 #
111 beta_min_endstop nc #
112 beta_max_endstop 1.27^ #
113 beta_homing_direction home_to_max #
114 beta_max 0 #
115 gamma_min_endstop nc #
116 gamma_max_endstop 1.29^ #
117 gamma_homing_direction home_to_max #
118 gamma_max 300 #
119
120 alpha_fast_homing_rate_mm_s 200 # homing feedrates in mm/second
121 beta_fast_homing_rate_mm_s 200 #
122 gamma_fast_homing_rate_mm_s 200 #
123 alpha_slow_homing_rate_mm_s 20 #
124 beta_slow_homing_rate_mm_s 20 #
125 gamma_slow_homing_rate_mm_s 20
126
127 alpha_homing_retract_mm 5 # retract/bounce distance after homing in mm
128 beta_homing_retract_mm 5 #
129 gamma_homing_retract_mm 5 #
130
131 alpha_trim 0 # software trim for alpha stepper endstop (in mm)
132 beta_trim 0 # software trim for beta stepper endstop (in mm)
133 gamma_trim 0 # software trim for gamma stepper endstop (in mm)
134
135 # Pause button
136 pause_button_enable true #
137
138 # Panel
139 panel.enable false #
140 panel.up_button_pin 0.1! #
141 panel.down_button_pin 0.0! #
142 panel.click_button_pin 0.18! #
143 panel.encoder_a_pin 0.15! #
144 panel.encoder_b_pin 0.17! #
145
146 # Only needed on a smoothieboard
147 currentcontrol_module_enable true #