forked from cprezzi/grbl-LPC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.txt
180 lines (153 loc) · 13.6 KB
/
config.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
# Smoothieboard configuration file, see http://smoothieware.org/configuring-smoothie
# NOTE Lines must not exceed 132 characters, and '#' characters mean what follows is ignored
## Robot module configurations : general handling of movement G-codes and slicing into moves
# version
Build version: edge-3479c2b, Build date: Sep 6 2020 21:02:32, MCU: LPC1769, System Clock: 120MHz CNC Build 3 axis
# Model
https://a360.co/3hyvUiO
# Basic motion configuration
default_feed_rate 1000 # Default speed (mm/minute) for G1/G2/G3 moves
default_seek_rate 10000 # Default speed (mm/minute) for G0 moves
mm_per_arc_segment 0.0 # Fixed length for line segments that divide arcs, 0 to disable
#mm_per_line_segment 5 # Cut lines into segments this size
mm_max_arc_error 0.01 # The maximum error for line segments that divide arcs 0 to disable
# note it is invalid for both the above be 0
# if both are used, will use largest segment length based on radius
# Arm solution configuration : Cartesian robot. Translates mm positions into stepper positions
# See http://smoothieware.org/stepper-motors
alpha_steps_per_mm 26.64 # Steps per mm for alpha ( X ) stepper
beta_steps_per_mm 26.64 # Steps per mm for beta ( Y ) stepper
gamma_steps_per_mm 200 # Steps per mm for gamma ( Z ) stepper
# Planner module configuration : Look-ahead and acceleration configuration
# See http://smoothieware.org/motion-control
acceleration 250 # Acceleration in mm/second/second.
z_acceleration 50 # Acceleration for Z only moves in mm/s^2, 0 uses acceleration which is the default. DO NOT SET ON A DELTA
junction_deviation 0.05 # See http://smoothieware.org/motion-control#junction-deviation
#z_junction_deviation 0.0 # For Z only moves, -1 uses junction_deviation, zero disables junction_deviation on z moves DO NOT SET ON A DELTA
# Cartesian axis speed limits
x_axis_max_speed 20000 # Maximum speed in mm/min
y_axis_max_speed 20000 # Maximum speed in mm/min
z_axis_max_speed 1000 # Maximum speed in mm/min
# Stepper module configuration
# Pins are defined as ports, and pin numbers, appending "!" to the number will invert a pin
# See http://smoothieware.org/pin-configuration and http://smoothieware.org/pinout
# X Axis
alpha_step_pin 2.0o! # Pin for alpha stepper step signal
alpha_dir_pin 0.5o! # Pin for alpha stepper direction, add '!' to reverse direction
alpha_en_pin 0.4o! # Pin for alpha enable pin
alpha_max_rate 20000.0 # Maximum rate in mm/min
# Y Axis
beta_step_pin 2.1o! # Pin for beta stepper step signal
beta_dir_pin 0.11o! # Pin for beta stepper direction, add '!' to reverse direction
beta_en_pin 0.10o! # Pin for beta enable
beta_max_rate 20000.0 # Maxmimum rate in mm/min
# Z Axis
gamma_step_pin 2.2o! # Pin for gamma stepper step signal
gamma_dir_pin 0.20o! # Pin for gamma stepper direction, add '!' to reverse direction
gamma_en_pin 0.19o! # Pin for gamma enable
gamma_max_rate 1000.0 # Maximum rate in mm/min
## Switch modules
# See http://smoothieware.org/switch
# Switch module for fan control
switch.fans.enable true
switch.fans.input_on_command M106
switch.fans.input_off_command M107
switch.fans.output_pin 1.22
switch.fans.output_type digital
switch.fans.startup_state true
# Switch module for pump control
switch.pump.enable true
switch.pump.input_on_command M131
switch.pump.input_off_command M130
switch.pump.output_pin 1.31!
switch.pump.output_type digital
switch.pump.startup_state false
## Endstops
# See http://smoothieware.org/endstops
endstops_enable true # The endstop module is enabled by default and can be disabled here
#corexy_homing false # Set to true if homing on a hbot or corexy
alpha_min_endstop 1.24^! # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
#alpha_max_endstop 1.25^ # Pin to read max endstop, uncomment this and comment the above if using max endstops
alpha_homing_direction home_to_min # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
alpha_min -5 # This gets loaded as the current position after homing when home_to_min is set
alpha_max 200 # This gets loaded as the current position after homing when home_to_max is set
beta_min_endstop 1.26^! # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
#beta_max_endstop 1.27^ # Pin to read max endstop, uncomment this and comment the above if using max endstops
beta_homing_direction home_to_min # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
beta_min -5 # This gets loaded as the current position after homing when home_to_min is set
beta_max 200 # This gets loaded as the current position after homing when home_to_max is set
gamma_min_endstop nc # Pin to read min endstop, add a ! to invert if endstop is NO connected to ground
gamma_max_endstop 1.29^! # Pin to read max endstop, uncomment this and comment the above if using max endstops
gamma_homing_direction home_to_max # Or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
gamma_min 0 # This gets loaded as the current position after homing when home_to_min is set
gamma_max 1 # This gets loaded as the current position after homing when home_to_max is set
alpha_max_travel 3000 # Max travel in mm for alpha/X axis when homing
beta_max_travel 2000 # Max travel in mm for beta/Y axis when homing
gamma_max_travel 150 # Max travel in mm for gamma/Z axis when homing
# Optional enable limit switches, actions will stop if any enabled limit switch is triggered
alpha_limit_enable true # Set to true to enable X min and max limit switches
beta_limit_enable true # Set to true to enable Y min and max limit switches
gamma_limit_enable true # Set to true to enable Z min and max limit switches
# Endstops home at their fast feedrate first, then once the endstop is found they home again at their slow feedrate for accuracy
alpha_fast_homing_rate_mm_s 50 # Alpha/X fast homing feedrate in mm/second
alpha_slow_homing_rate_mm_s 25 # Alpha/X slow homing feedrate in mm/second
beta_fast_homing_rate_mm_s 50 # Beta/Y fast homing feedrate in mm/second
beta_slow_homing_rate_mm_s 25 # Beta/Y slow homing feedrate in mm/second
gamma_fast_homing_rate_mm_s 4 # Gamma/Z fast homing feedrate in mm/second
gamma_slow_homing_rate_mm_s 2 # Gamma/Z slow homing feedrate in mm/second
alpha_homing_retract_mm 5 # Distance to retract from the endstop after it is hit for alpha/X
beta_homing_retract_mm 5 # Distance to retract from the endstop after it is hit for beta/Y
gamma_homing_retract_mm 1 # Distance to retract from the endstop after it is hit for gamma/Z
# Optional order in which axis will home, default is they all home at the same time,
# If this is set it will force each axis to home one at a time in the specified order
#homing_order XYZ # X axis followed by Y then Z last
#move_to_origin_after_home false # Move XY to 0,0 after homing
#endstop_debounce_count 100 # Uncomment if you get noise on your endstops, default is 100
#endstop_debounce_ms 1 # Uncomment if you get noise on your endstops, default is 1 millisecond debounce
home_z_first true # Uncomment and set to true to home the Z first, otherwise Z homes after XY
# End of endstop config
# Delete the above endstop section and uncomment next line and copy and edit Snippets/abc-endstop.config file to enable endstops for ABC axis
#include abc-endstop.config
## Z-probe
# See http://smoothieware.org/zprobe
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 5 # Mm/sec probe feed rate
#zprobe.debounce_count 100 # Set if noisy
zprobe.fast_feedrate 100 # Move feedrate mm/sec
zprobe.probe_height 5 # How much above bed to start probe
spindle.enable true # set this to false to disable the spindle module
spindle.type analog # set the spindle type to analog, can also be used for ESC spindles controlled by a PWM
spindle.max_rpm 24000 # set the max spindle speed that is achieved at 100% PWM
spindle.min_rpm 2500 # set the min spingle speed that is achieved at 0% PWM
spindle.pwm_pin 2.5 # the pin which emits the PWM signal
spindle.pwm_period 1000 # the PWM frequency
spindle.switch_on_pin 2.7 # the pin which is used to enable the VFD (optional)
## Network settings
# See http://smoothieware.org/network
network.enable true # Enable the ethernet network services
network.webserver.enable false # Enable the webserver
network.telnet.enable true # Enable the telnet server
network.ip_address auto # Use dhcp to get ip address
# Uncomment the 3 below to manually setup ip address
#network.ip_address 192.168.3.222 # The IP address
#network.ip_mask 255.255.255.0 # The ip mask
#network.ip_gateway 192.168.3.1 # The gateway address
#network.mac_override xx.xx.xx.xx.xx.xx # Override the mac address, only do this if you have a conflict
## System configuration
# Serial communications configuration ( baud rate defaults to 9600 if undefined )
# For communication over the UART port, *not* the USB/Serial port
uart0.baud_rate 115200 # Baud rate for the default hardware ( UART ) serial port
second_usb_serial_enable false # This enables a second USB serial port
#leds_disable true # Disable using leds after config loaded
#play_led_disable true # Disable the play led
# Kill button maybe assigned to a different pin, set to the onboard pin by default
# See http://smoothieware.org/killbutton
kill_button_enable true # Set to true to enable a kill button
kill_button_pin 2.11^ # Kill button pin. default is same as pause button 2.12 (2.11 is another good choice)
kill_button_toggle_enable true # allows for latching estop button
#msd_disable false # Disable the MSD (USB SDCARD), see http://smoothieware.org/troubleshooting#disable-msd
#dfu_enable false # For linux developers, set to true to enable DFU
# Only needed on a smoothieboard
# See http://smoothieware.org/currentcontrol
currentcontrol_module_enable true # Control stepper motor current via the configuration file