Pin: use strtol to parse pindef strings in a simpler and more efficient fashion
[clinton/Smoothieware.git] / config-smoothieboard-copy_me_to_sd_card_and_rename_as_"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 5 # Lines can be cut into segments ( not usefull with cartesian coordinates robots ).
6
7 # Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions
8 alpha_steps_per_mm 80 # Steps per mm for alpha stepper
9 beta_steps_per_mm 80 # Steps per mm for beta stepper
10 gamma_steps_per_mm 1600 # Steps per mm for gamma stepper
11
12 # Planner module configuration : Look-ahead and acceleration configuration
13 planner_queue_size 64 # Size of the planning queue, must be a power of 2. 128 seems to be the maximum.
14 acceleration 3000 # Acceleration in mm/second/second.
15 acceleration_ticks_per_second 1000 # Number of times per second the speed is updated
16 junction_deviation 0.05 # Similar to the old "max_jerk", in millimeters, see : https://github.com/grbl/grbl/blob/master/planner.c#L409
17 # 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
18
19 # Stepper module configuration
20 microseconds_per_step_pulse 1 # Duration of step pulses to stepper drivers, in microseconds
21 minimum_steps_per_minute 1200 # Never step slower than this
22 base_stepping_frequency 100000 # Base frequency for stepping, higher gives smoother movement
23
24 # Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin )
25 alpha_step_pin 2.0 # Pin for alpha stepper step signal
26 alpha_dir_pin 0.5 # Pin for alpha stepper direction
27 alpha_en_pin 0.4 # Pin for alpha enable pin
28 alpha_current 1.5 # X stepper motor current
29 x_axis_max_speed 30000 # mm/min
30
31 beta_step_pin 2.1 # Pin for beta stepper step signal
32 beta_dir_pin 0.11 # Pin for beta stepper direction
33 beta_en_pin 0.10 # Pin for beta enable
34 beta_current 1.5 # Y stepper motor current
35 y_axis_max_speed 30000 # mm/min
36
37 gamma_step_pin 2.2 # Pin for gamma stepper step signal
38 gamma_dir_pin 0.20 # Pin for gamma stepper direction
39 gamma_en_pin 0.19 # Pin for gamma enable
40 gamma_current 1.5 # Z stepper motor current
41 z_axis_max_speed 300 # mm/min
42
43 # Serial communications configuration ( baud rate default to 9600 if undefined )
44 uart0.baud_rate 115200 # Baud rate for the default serial port
45
46 # Extruder module configuration
47 extruder_module_enable true # Whether to activate the extruder module at all. All configuration is ignored if false
48 extruder_steps_per_mm 140 # Steps per mm for extruder stepper
49 extruder_default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
50 extruder_acceleration 50 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio
51 extruder_max_speed 1000 # mm^3/s
52
53 extruder_step_pin 2.3 # Pin for extruder step signal
54 extruder_dir_pin 0.22 # Pin for extruder dir signal
55 extruder_en_pin 0.21 # Pin for extruder enable signal
56 delta_current 1.5 # Extruder stepper motor current
57
58 # Laser module configuration
59 laser_module_enable false # Whether to activate the laser module at all. All configuration is ignored if false.
60
61 # Hotend temperature control configuration
62 temperature_control.hotend.enable true # Whether to activate this ( "hotend" ) module at all. All configuration is ignored if false.
63 temperature_control.hotend.thermistor_pin 0.23 # Pin for the thermistor to read
64 temperature_control.hotend.heater_pin 2.7 # Pin that controls the heater
65 temperature_control.hotend.thermistor EPCOS100K # see src/modules/tools/temperaturecontrol/TemperatureControl.cpp:64 for a list of valid thermistor names
66 temperature_control.hotend.set_m_code 104 #
67 temperature_control.hotend.set_and_wait_m_code 109 #
68 temperature_control.hotend.designator T #
69
70 temperature_control.bed.enable true #
71 temperature_control.bed.thermistor_pin 0.24 #
72 temperature_control.bed.heater_pin 2.5 #
73 temperature_control.bed.thermistor Honeywell100K # see src/modules/tools/temperaturecontrol/TemperatureControl.cpp:64 for a list of valid thermistor names
74 temperature_control.bed.set_m_code 140 #
75 temperature_control.bed.set_and_wait_m_code 190 #
76 temperature_control.bed.designator B #
77
78 # Switch module for fan control
79 switch.fan.enable true #
80 switch.fan.on_m_code 106 #
81 switch.fan.off_m_code 107 #
82 switch.fan.output_pin 2.6 #
83
84 switch.misc.enable true #
85 switch.misc.on_m_code 42 #
86 switch.misc.off_m_code 43 #
87 switch.misc.output_pin 2.4 #
88
89 # Switch module for spindle control
90 switch.spindle.enable false #
91
92 # Endstops
93 alpha_min_endstop 1.24 #
94 alpha_max_endstop 1.25 #
95 beta_min_endstop 1.26 #
96 beta_max_endstop 1.27 #
97 gamma_min_endstop 1.28 #
98 gamma_max_endstop 1.29 #
99
100 # Panel
101 panel.enable false #
102 panel.up_button_pin 0.1! #
103 panel.down_button_pin 0.0! #
104 panel.click_button_pin 0.18! #
105 panel.encoder_a_pin 0.15! #
106 panel.encoder_b_pin 0.17! #
107
108 # Only needed on a smoothieboard
109 currentcontrol_module_enable true #