-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstepper.cfg
191 lines (177 loc) · 4.43 KB
/
stepper.cfg
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
181
182
183
184
185
186
187
188
189
190
191
[stepper_x]
dir_pin: M0_DIR
step_pin: M0_STEP
enable_pin: !M0_ENABLE
microsteps: 32
rotation_distance: 40
endstop_pin: tmc2209_stepper_x:virtual_endstop
position_endstop: 178
position_max: 180
position_min: -11
homing_speed: 90.0
second_homing_speed: 3.0
homing_retract_dist: 0
[tmc2209 stepper_x]
uart_pin: M0_UART
interpolate: False
run_current: 1.0
#hold_current: 1.1
sense_resistor: 0.110
stealthchop_threshold: 0
driver_TBL: 2
driver_TOFF: 7
driver_HEND: 3
driver_HSTRT: 4
diag_pin: ^M0_DIAG
driver_SGTHRS: 130
[stepper_x1]
dir_pin: !M1_DIR
step_pin: M1_STEP
enable_pin: !M1_ENABLE
microsteps: 32
rotation_distance: 40
endstop_pin: tmc2209_stepper_x1:virtual_endstop
[tmc2209 stepper_x1]
uart_pin: M1_UART
interpolate: False
run_current: 1.0
#hold_current: 1.1
sense_resistor: 0.110
stealthchop_threshold: 0
driver_TBL: 2
driver_TOFF: 7
driver_HEND: 3
driver_HSTRT: 4
diag_pin: ^M1_DIAG # Set to MCU pin connected to TMC DIAG pin
driver_SGTHRS: 130 # 255 is most sensitive value, 0 is least sensitive
[stepper_y]
dir_pin: !M3_DIR
step_pin: M3_STEP
enable_pin: !M3_ENABLE
microsteps: 32
rotation_distance: 40
endstop_pin: tmc2209_stepper_y:virtual_endstop
position_endstop: -1
position_max: 184
position_min: -1
homing_speed: 90.0
second_homing_speed: 3.0
homing_retract_dist: 0
[tmc2209 stepper_y]
uart_pin: M3_UART
interpolate: False
run_current: 1.0
#hold_current: 1.1
sense_resistor: 0.110
stealthchop_threshold: 0
driver_TBL: 2
driver_TOFF: 7
driver_HEND: 3
driver_HSTRT: 4
diag_pin: ^M3_DIAG # Set to MCU pin connected to TMC DIAG pin
driver_SGTHRS: 130 # 255 is most sensitive value, 0 is least sensitive
[stepper_y1]
dir_pin: M2_DIR
step_pin: M2_STEP
enable_pin: !M2_ENABLE
microsteps: 32
rotation_distance: 40
endstop_pin: tmc2209_stepper_y1:virtual_endstop
[tmc2209 stepper_y1]
uart_pin: M2_UART
interpolate: False
run_current: 1.0
#hold_current: 1.1
sense_resistor: 0.110
stealthchop_threshold: 0
driver_TBL: 2
driver_TOFF: 7
driver_HEND: 3
driver_HSTRT: 4
diag_pin: ^M2_DIAG # Set to MCU pin connected to TMC DIAG pin
driver_SGTHRS: 130 # 255 is most sensitive value, 0 is least sensitive
[stepper_z]
dir_pin: M4_DIR
step_pin: M4_STEP
enable_pin: !M4_ENABLE
microsteps: 32
rotation_distance: 40
#endstop_pin: tmc2209_stepper_z:virtual_endstop
gear_ratio: 80:20
#position_endstop: 0
#position_endstop: 0.507
#position_endstop: 0.510
position_max: 172
position_min: -3
homing_speed: 15.0
second_homing_speed: 3.0
homing_retract_dist: 5
endstop_pin: probe:z_virtual_endstop
[tmc2209 stepper_z]
uart_pin: M4_UART
interpolate: False
run_current: 0.2
#hold_current: 1.1
sense_resistor: 0.110
stealthchop_threshold: 0
driver_TBL: 2
driver_TOFF: 7
driver_HEND: 3
driver_HSTRT: 4
diag_pin: ^M4_DIAG # Set to MCU pin connected to TMC DIAG pin
driver_SGTHRS: 100 # 255 is most sensitive value, 0 is least sensitive
[stepper_z1]
dir_pin: M5_DIR
step_pin: M5_STEP
enable_pin: !M5_ENABLE
microsteps: 32
rotation_distance: 40
gear_ratio: 80:20
#endstop_pin: tmc2209_stepper_z1:virtual_endstop
endstop_pin: probe:z_virtual_endstop
[tmc2209 stepper_z1]
uart_pin: M5_UART
interpolate: False
run_current: 0.2
#hold_current: 1.1
sense_resistor: 0.110
stealthchop_threshold: 0
driver_TBL: 2
driver_TOFF: 7
driver_HEND: 3
driver_HSTRT: 4
diag_pin: ^M5_DIAG # Set to MCU pin connected to TMC DIAG pin
driver_SGTHRS: 100 # 255 is most sensitive value, 0 is least sensitive
[stepper_z2]
dir_pin: !M6_DIR
step_pin: M6_STEP
enable_pin: !M6_ENABLE
microsteps: 32
rotation_distance: 40
gear_ratio: 80:20
#endstop_pin: tmc2209_stepper_z2:virtual_endstop
endstop_pin: probe:z_virtual_endstop
[tmc2209 stepper_z2]
uart_pin: M6_UART
interpolate: False
run_current: 0.2
#hold_current: 1.1
sense_resistor: 0.110
stealthchop_threshold: 0
driver_TBL: 2
driver_TOFF: 7
driver_HEND: 3
driver_HSTRT: 4
diag_pin: ^M6_DIAG # Set to MCU pin connected to TMC DIAG pin
driver_SGTHRS: 100 # 255 is most sensitive value, 0 is least sensitive
[delayed_gcode disable_multistep_filt]
initial_duration: 0.5
gcode:
SET_TMC_FIELD STEPPER=stepper_x FIELD=multistep_filt VALUE=0
SET_TMC_FIELD STEPPER=stepper_x1 FIELD=multistep_filt VALUE=0
SET_TMC_FIELD STEPPER=stepper_y FIELD=multistep_filt VALUE=0
SET_TMC_FIELD STEPPER=stepper_y1 FIELD=multistep_filt VALUE=0
SET_TMC_FIELD STEPPER=stepper_z FIELD=multistep_filt VALUE=0
SET_TMC_FIELD STEPPER=stepper_z1 FIELD=multistep_filt VALUE=0
SET_TMC_FIELD STEPPER=stepper_z2 FIELD=multistep_filt VALUE=0
SET_TMC_FIELD STEPPER=extruder FIELD=multistep_filt VALUE=0