|
| 1 | +[include mcu/AFC_Pro.cfg] |
| 2 | + |
| 3 | +[mcu Turtle_1] |
| 4 | +canbus_uuid: <replace with your can UUID> |
| 5 | +#serial: <replace with your /dev/serial/by-id/...> and comment out canbus_uuid above |
| 6 | + |
| 7 | +[AFC_BoxTurtle Turtle_1] |
| 8 | +hub: Turtle_1 |
| 9 | +extruder: extruder |
| 10 | +# buffer: <buffer_name> # If not defined below from the install script, uncomment and add buffer name if using a buffer |
| 11 | + |
| 12 | +[temperature_sensor Turtle_1] |
| 13 | +sensor_type: temperature_mcu |
| 14 | +sensor_mcu: Turtle_1 |
| 15 | + |
| 16 | +[AFC_stepper lane1] |
| 17 | +unit: Turtle_1:1 |
| 18 | +step_pin: Turtle_1:M1_STEP |
| 19 | +dir_pin: !Turtle_1:M1_DIR |
| 20 | +enable_pin: !Turtle_1:M1_EN |
| 21 | +microsteps: 16 |
| 22 | +rotation_distance: 4.65 |
| 23 | +dist_hub: 155.0 |
| 24 | +park_dist: 10 |
| 25 | +led_index: AFC_Indicator:1 |
| 26 | +afc_motor_rwd: Turtle_1:MOT1_RWD |
| 27 | +afc_motor_fwd: Turtle_1:MOT1_FWD |
| 28 | +afc_motor_enb: Turtle_1:MOT1_EN |
| 29 | +rwd_speed_multiplier: 0.5 |
| 30 | +fwd_speed_multiplier: 0.5 |
| 31 | +pwm: True |
| 32 | +prep: ^!Turtle_1:TRG1 |
| 33 | +load: ^Turtle_1:EXT1 |
| 34 | + |
| 35 | +[tmc2209 AFC_stepper lane1] |
| 36 | +uart_pin: Turtle_1:M1_UART |
| 37 | +uart_address: 0 |
| 38 | +run_current: 0.8 |
| 39 | +sense_resistor: 0.110 |
| 40 | + |
| 41 | +[AFC_stepper lane2] |
| 42 | +unit: Turtle_1:2 |
| 43 | +step_pin: Turtle_1:M2_STEP |
| 44 | +dir_pin: !Turtle_1:M2_DIR |
| 45 | +enable_pin: !Turtle_1:M2_EN |
| 46 | +microsteps: 16 |
| 47 | +rotation_distance: 4.65 |
| 48 | +dist_hub: 80 |
| 49 | +park_dist: 10 |
| 50 | +led_index: AFC_Indicator:2 |
| 51 | +afc_motor_rwd: Turtle_1:MOT2_RWD |
| 52 | +afc_motor_fwd: Turtle_1:MOT2_FWD |
| 53 | +afc_motor_enb: Turtle_1:MOT2_EN |
| 54 | +rwd_speed_multiplier: 0.5 |
| 55 | +fwd_speed_multiplier: 0.5 |
| 56 | +pwm: True |
| 57 | +prep: ^!Turtle_1:TRG2 |
| 58 | +load: ^Turtle_1:EXT2 |
| 59 | + |
| 60 | +[tmc2209 AFC_stepper lane2] |
| 61 | +uart_pin: Turtle_1:M2_UART |
| 62 | +uart_address: 0 |
| 63 | +run_current: 0.8 |
| 64 | +sense_resistor: 0.110 |
| 65 | + |
| 66 | +[AFC_stepper lane3] |
| 67 | +unit: Turtle_1:3 |
| 68 | +step_pin: Turtle_1:M3_STEP |
| 69 | +dir_pin: !Turtle_1:M3_DIR |
| 70 | +enable_pin: !Turtle_1:M3_EN |
| 71 | +microsteps: 16 |
| 72 | +rotation_distance: 4.65 |
| 73 | +dist_hub: 90.0 |
| 74 | +park_dist: 10 |
| 75 | +led_index: AFC_Indicator:3 |
| 76 | +afc_motor_rwd: Turtle_1:MOT3_RWD |
| 77 | +afc_motor_fwd: Turtle_1:MOT3_FWD |
| 78 | +afc_motor_enb: Turtle_1:MOT3_EN |
| 79 | +rwd_speed_multiplier: 0.5 |
| 80 | +fwd_speed_multiplier: 0.5 |
| 81 | +pwm: True |
| 82 | +prep: ^!Turtle_1:TRG3 |
| 83 | +load: ^Turtle_1:EXT3 |
| 84 | + |
| 85 | +[tmc2209 AFC_stepper lane3] |
| 86 | +uart_pin: Turtle_1:M3_UART |
| 87 | +uart_address: 0 |
| 88 | +run_current: 0.8 |
| 89 | +sense_resistor: 0.110 |
| 90 | + |
| 91 | +[AFC_stepper lane4] |
| 92 | +unit: Turtle_1:4 |
| 93 | +step_pin: Turtle_1:M4_STEP |
| 94 | +dir_pin: !Turtle_1:M4_DIR |
| 95 | +enable_pin: !Turtle_1:M4_EN |
| 96 | +microsteps: 16 |
| 97 | +rotation_distance: 4.65 |
| 98 | +dist_hub: 145.0 |
| 99 | +park_dist: 10 |
| 100 | +led_index: AFC_Indicator:4 |
| 101 | +afc_motor_rwd: Turtle_1:MOT4_RWD |
| 102 | +afc_motor_fwd: Turtle_1:MOT4_FWD |
| 103 | +afc_motor_enb: Turtle_1:MOT4_EN |
| 104 | +rwd_speed_multiplier: 0.5 |
| 105 | +fwd_speed_multiplier: 0.5 |
| 106 | +pwm: True |
| 107 | +prep: ^!Turtle_1:TRG4 |
| 108 | +load: ^Turtle_1:EXT4 |
| 109 | + |
| 110 | +[tmc2209 AFC_stepper lane4] |
| 111 | +uart_pin: Turtle_1:M4_UART |
| 112 | +uart_address: 0 |
| 113 | +run_current: 0.8 |
| 114 | +sense_resistor: 0.110 |
| 115 | + |
| 116 | +[AFC_stepper lane5] |
| 117 | +unit: Turtle_1:5 |
| 118 | +step_pin: Turtle_1:M5_STEP |
| 119 | +dir_pin: !Turtle_1:M5_DIR |
| 120 | +enable_pin: !Turtle_1:M5_EN |
| 121 | +microsteps: 16 |
| 122 | +rotation_distance: 4.65 |
| 123 | +dist_hub: 155.0 |
| 124 | +park_dist: 10 |
| 125 | +led_index: AFC_Indicator:5 |
| 126 | +afc_motor_rwd: Turtle_1:MOT5_RWD |
| 127 | +afc_motor_fwd: Turtle_1:MOT5_FWD |
| 128 | +afc_motor_enb: Turtle_1:MOT5_EN |
| 129 | +rwd_speed_multiplier: 0.5 |
| 130 | +fwd_speed_multiplier: 0.5 |
| 131 | +pwm: True |
| 132 | +prep: ^!Turtle_1:TRG5 |
| 133 | +load: ^Turtle_1:EXT5 |
| 134 | + |
| 135 | +[tmc2209 AFC_stepper lane5] |
| 136 | +uart_pin: Turtle_1:M5_UART |
| 137 | +uart_address: 0 |
| 138 | +run_current: 0.8 |
| 139 | +sense_resistor: 0.110 |
| 140 | + |
| 141 | +[AFC_stepper lane6] |
| 142 | +unit: Turtle_1:6 |
| 143 | +step_pin: Turtle_1:M6_STEP |
| 144 | +dir_pin: !Turtle_1:M6_DIR |
| 145 | +enable_pin: !Turtle_1:M6_EN |
| 146 | +microsteps: 16 |
| 147 | +rotation_distance: 4.65 |
| 148 | +dist_hub: 80 |
| 149 | +park_dist: 10 |
| 150 | +led_index: AFC_Indicator:6 |
| 151 | +afc_motor_rwd: Turtle_1:MOT6_RWD |
| 152 | +afc_motor_fwd: Turtle_1:MOT6_FWD |
| 153 | +afc_motor_enb: Turtle_1:MOT6_EN |
| 154 | +rwd_speed_multiplier: 0.5 |
| 155 | +fwd_speed_multiplier: 0.5 |
| 156 | +pwm: True |
| 157 | +prep: ^!Turtle_1:TRG6 |
| 158 | +load: ^Turtle_1:EXT6 |
| 159 | + |
| 160 | +[tmc2209 AFC_stepper lane6] |
| 161 | +uart_pin: Turtle_1:M6_UART |
| 162 | +uart_address: 0 |
| 163 | +run_current: 0.8 |
| 164 | +sense_resistor: 0.110 |
| 165 | + |
| 166 | +[AFC_stepper lane7] |
| 167 | +unit: Turtle_1:7 |
| 168 | +step_pin: Turtle_1:M7_STEP |
| 169 | +dir_pin: !Turtle_1:M7_DIR |
| 170 | +enable_pin: !Turtle_1:M7_EN |
| 171 | +microsteps: 16 |
| 172 | +rotation_distance: 4.65 |
| 173 | +dist_hub: 90.0 |
| 174 | +park_dist: 10 |
| 175 | +led_index: AFC_Indicator:7 |
| 176 | +afc_motor_rwd: Turtle_1:MOT7_RWD |
| 177 | +afc_motor_fwd: Turtle_1:MOT7_FWD |
| 178 | +afc_motor_enb: Turtle_1:MOT7_EN |
| 179 | +rwd_speed_multiplier: 0.5 |
| 180 | +fwd_speed_multiplier: 0.5 |
| 181 | +pwm: True |
| 182 | +prep: ^!Turtle_1:TRG7 |
| 183 | +load: ^Turtle_1:EXT7 |
| 184 | + |
| 185 | +[tmc2209 AFC_stepper lane7] |
| 186 | +uart_pin: Turtle_1:M7_UART |
| 187 | +uart_address: 0 |
| 188 | +run_current: 0.8 |
| 189 | +sense_resistor: 0.110 |
| 190 | + |
| 191 | +[AFC_stepper lane8] |
| 192 | +unit: Turtle_1:8 |
| 193 | +step_pin: Turtle_1:M8_STEP |
| 194 | +dir_pin: !Turtle_1:M8_DIR |
| 195 | +enable_pin: !Turtle_1:M8_EN |
| 196 | +microsteps: 16 |
| 197 | +rotation_distance: 4.65 |
| 198 | +dist_hub: 145.0 |
| 199 | +park_dist: 10 |
| 200 | +led_index: AFC_Indicator:8 |
| 201 | +afc_motor_rwd: Turtle_1:MOT8_RWD |
| 202 | +afc_motor_fwd: Turtle_1:MOT8_FWD |
| 203 | +afc_motor_enb: Turtle_1:MOT8_EN |
| 204 | +rwd_speed_multiplier: 0.5 |
| 205 | +fwd_speed_multiplier: 0.5 |
| 206 | +pwm: True |
| 207 | +prep: ^!Turtle_1:TRG8 |
| 208 | +load: ^Turtle_1:EXT8 |
| 209 | + |
| 210 | +[tmc2209 AFC_stepper lane8] |
| 211 | +uart_pin: Turtle_1:M8_UART |
| 212 | +uart_address: 0 |
| 213 | +run_current: 0.8 |
| 214 | +sense_resistor: 0.110 |
| 215 | + |
| 216 | +[AFC_hub Turtle_1] |
| 217 | +switch_pin: ^Turtle_1:HUB # Pin for the hub switch |
| 218 | +afc_bowden_length: 1725 # Length of the Bowden tube from the hub to the toolhead sensor in mm. |
| 219 | +move_dis: 50 # Distance to move the filament within the hub in mm. |
| 220 | +#hub_clear_move_dis: 25 # Distance after hub switch becomes fast to retract to insure hub is clear |
| 221 | +cut: False # Hub cutter installed (e.g. Snappy) |
| 222 | + |
| 223 | +#--=================================================================================--# |
| 224 | +######### Hub Cut ##################################################################### |
| 225 | +#--=================================================================================--# |
| 226 | +assisted_retract: False # If True, retracts are assisted to prevent loose windows on the spool |
| 227 | +cut_cmd: AFC #CMD to use |
| 228 | +cut_dist: 50 # How much filament to cut off (in mm). |
| 229 | +cut_clear: 120 # How far the filament should retract back from the hub (in mm). |
| 230 | +cut_min_length: 300.0 |
| 231 | +cut_servo_pass_angle: 10 # Servo angle to align the Bowden tube with the hole for loading the toolhead. |
| 232 | +cut_servo_clip_angle: 180 # Servo angle for cutting the filament. |
| 233 | +cut_servo_prep_angle: 80 # Servo angle to prepare the filament for cutting (aligning the exit hole). |
| 234 | + |
| 235 | +#[AFC_screen Turtle_1] |
| 236 | +#mac_address: None |
| 237 | + |
| 238 | +[AFC_led AFC_Indicator] |
| 239 | +pin: Turtle_1:RGB1 |
| 240 | +chain_count: 4 |
| 241 | +color_order: GRBW |
| 242 | + |
| 243 | +#[neopixel Extra2] |
| 244 | +#pin: Turtle_1:RGB2 |
| 245 | +#chain_count: 6 |
| 246 | +#color_order: GRB |
| 247 | + |
| 248 | +#[neopixel Extra3] |
| 249 | +#pin: Turtle_1:RGB3 |
| 250 | +#chain_count: 6 |
| 251 | +#color_order: GRB |
| 252 | + |
| 253 | +#[neopixel Extra4] |
| 254 | +#pin: Turtle_1:RGB4 |
| 255 | +#chain_count: 4 |
| 256 | +#color_order: GRB |
0 commit comments