VORON Trident Reference Configuration
Must Read Before Use
- This page provides a Klipper reference configuration template for the VORON Trident, not a ready-to-use configuration.
serial,canbus_uuid, all pins, thermistor models, travel limits, endstop directions, and motor directions must be modified according to your actual hardware.- During the first power-on and debugging, please use
STEPPER_BUZZto check each motor. Do not execute full machine homing or Z tilt adjustment directly.
Scope of Application
| Structure | Description |
|---|---|
| VORON Trident | CoreXY fixed gantry, three Z-axis heated bed structure |
| Three Z-Axis Leveling | Example includes z_tilt related configuration |
| FLY-Super8-Pro | Original configuration uses FLY-Super8-Pro as the example mainboard |
Content to Be Modified First
| Item | Location | Description |
|---|---|---|
| Mainboard ID | [mcu] | Use serial for USB firmware, canbus_uuid for CAN firmware |
| File Inclusion | [include] | Select fluidd.cfg or mainsail.cfg based on your actual frontend |
| Machine Dimensions | [stepper_x], [stepper_y], [stepper_z] | Modify according to 250 / 300 / 350 or custom dimensions |
| Three Z-Axis Positions | [z_tilt] | Modify leveling points and Z motor positions according to machine dimensions |
| Motor Direction | dir_pin | Add or remove ! before the corresponding pin if the direction is reversed |
| Endstop Method | endstop_pin | Do not mix physical endstop, no endstop, and probe methods |
| Driver Model | [tmc2209] / [tmc5160] | Must match the actual driver; delete or comment out unused driver sections |
| Thermistor Model | [extruder], [heater_bed] | Fill in according to actual hotend and heated bed sensors |
| PID Parameters | [extruder], [heater_bed] | Execute PID calibration after initial debugging and save the values |
Debugging Sequence
- Modify
[mcu]to confirm Klipper can connect to the mainboard. - Check if temperature readings for the hotend, heated bed, mainboard, and host are normal.
- Use
STEPPER_BUZZto check the direction of X/Y/Z0/Z1/Z2/extruder motors. - Use
QUERY_ENDSTOPSto check endstop or probe status. - Execute
G28 X,G28 Y,G28 Zat low speed to confirm single-axis homing is correct. - After confirming the direction of the three Z motors is correct, execute
Z_TILT_ADJUST. - Perform PID calibration for the hotend and heated bed.
- Calibrate the extruder
rotation_distance. - Complete Z offset, bed mesh, resonance compensation, and pressure advance calibration.
Complete Reference Configuration
####################################################################################
# 3D MELLOW /FLY-Super8-Pro #
####################################################################################
## FLY-Super8-Pro Documentation: http://mellow.klipper.cn/#/board/fly_super8_pro/README
## FLY-Super8-Pro Schematic: https://github.com/Mellow-3D/Fly-Super8Pro
## FLY Official Taobao Store: https://shop126791347.taobao.com/shop/view_shop.htm?spm=a230r.1.14.4.1a4840a8hyvpPJ&user_number_id=2464680006
## For after-sales service, please contact Taobao customer service.
## FLY After-sales Technical Support Group: 621032883
## FLY-RRF Firmware Exchange Group: 786561979
#####################################################################
# Notes #
#####################################################################
##***Items to change/check:***
## MCU Path [mcu]
## Printer travel range xyz position
## Thermistor type [extruder] and [heater_bed]
## Z-axis endstop stop position [homing_override]
## Z-axis endstop offset position [stepper_z]
## PID Calibration [extruder] and [heater_bed]
## Fine-tune extruder motor steps [extruder]
#####################################################################
# File Inclusion #
#####################################################################
#[include fluidd.cfg] # FLUIDD inclusion file.
#[include mainsail.cfg] # MAINSAIL inclusion file.
#Determine which file to use yourself.
#####################################################################
# Mainboard Configuration #
#####################################################################
[mcu] # FLY Mainboard ID
serial: /dev/serial/by-id/usb-Klipper_stm32f407xx_XXXXXXXXXXXXXXXXXXXXX
### Query usb firmware id: ls -l /dev/serial/by-id/
### Replace /dev/serial/by-id/usb-Klipper_stm32f407xx_XXXXXXXXXXXXXXXXXXXXX with the queried id
#canbus_uuid: xxxxxxxxxxxx
### Query can firmware id: ~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0
### For can id, replace serial with canbus_uuid: and add the id after it.
#####################################################################
# Machine Type and Acceleration #
#####################################################################
[printer] # Printer settings
kinematics: corexy # Kinematics structure: Cartesian, CoreXY, etc. Cartesian: cartesian
max_velocity: 300 # Printer maximum velocity
max_accel: 3000 # Maximum acceleration, max 3000
max_z_velocity: 15 # Z-axis maximum velocity
max_z_accel: 100 # Z-axis maximum acceleration
square_corner_velocity: 5.0 # Square corner velocity, a smaller value can effectively reduce inertia from platform weight
#####################################################################
# Temperature Monitoring #
#####################################################################
[temperature_sensor Fly-Super8] # FLY mainboard temperature (can be renamed)
sensor_type: temperature_mcu # Associated with mcu (default)
#--------------------------------------------------------------------
[temperature_sensor FLY-π] # Host temperature
sensor_type: temperature_host # Associated with host
#--------------------------------------------------------------------
# [temperature_sensor Box] # Chamber temperature (need to add a temperature sensor, reference configuration)
# sensor_type: ATC Semitec 104GT-2 # Sensor model
# sensor_pin: # Signal pin
#####################################################################
# Bed Mesh Calibration #
#####################################################################
[bed_mesh]
speed: 50 # Calibration speed
horizontal_move_z: 5 # Z lift height before probe moves to the next point
mesh_min: 30,30 # Minimum calibration point coordinates x,y
mesh_max: 270, 270 # Maximum calibration point coordinates x,y
probe_count: 4,4 # Number of sample points (4x4 = 16 points)
mesh_pps: 2,2 # Additional sample points
algorithm: bicubic # Algorithm model
bicubic_tension: 0.2 # Algorithm interpolation, do not change
#####################################################################
# X/Y Stepper Settings #
#####################################################################
# B Motor ---- Motor A
# | |
# |------Extruder----|
# | |
# | |
# Front
#####################################################################
# X Axis Stepper on Driver0 (B Motor) #
#####################################################################
[stepper_x]
step_pin: # X-axis motor step pin setting
dir_pin: # X-axis motor direction pin setting, determine direction based on actual hardware, add exclamation mark to reverse direction
enable_pin: # X-axis motor enable pin setting, enable pin needs exclamation mark, otherwise motor won't work
rotation_distance: 40 # Pulley circumference mm (2GT-20T pulley 40, 2GT-16T pulley 32)
microsteps: 16 # Motor microstep setting, higher microsteps mean higher quality but higher mainboard load
full_steps_per_rotation: 200 # Number of pulses per rotation (1.8 degree motor: 200, 0.9 degree motor: 400)
endstop_pin: # Endstop PIN, recommend normally closed then add ! to reverse state, position at io-3
### When using normally closed, it is in a triggered state. Adding an exclamation mark can reverse this state, preventing crashes in case of wire breakage.
position_min: 0 # Soft limit minimum travel
position_endstop: 300 # Soft limit maximum travel (250mm-300mm-350mm)
position_max: 300 # Mechanical limit maximum travel (250mm-300mm-350mm)
homing_speed: 50 # Homing speed, max 100. Homing speed should not be too fast.
homing_retract_dist: 5 # Retract distance after first endstop trigger
step_pulse_duration: 0.000004
#--------------------------------------------------------------------
## Ensure the driver model is configured correctly (2208 or 2209)
[tmc2209 stepper_x] # X driver configuration - TMC2209
uart_pin: # Communication port Pin definition
interpolate: False # Enable 256 microstep interpolation (True to enable, False to disable)
run_current: 0.8 # Run current
sense_resistor: 0.110 # Driver sense resistor, do not change
stealthchop_threshold: 500 # StealthChop threshold (set to 0 if stealthchop not needed)
#--------------------------------------------------------------------
#[tmc5160 stepper_x] # Extruder driver configuration - TMC5160
#cs_pin: # SPI chip select Pin definition
# spi_software_mosi_pin:
# spi_software_miso_pin:
# spi_software_sclk_pin:
## spi_bus: spi1a # SPI bus selection, recommend using software SPI first
## spi_speed: 100000 # SPI communication speed
#run_current: 1.0 # Motor run current value
#interpolate: False # Enable 256 microstep interpolation (True to enable, False to disable)
#sense_resistor: 0.075 # Driver sense resistor, do not change (if using 5160 Pro, change value to 0.033)
#stealthchop_threshold: 500 # StealthChop threshold (set to 0 if stealthchop not needed)
#####################################################################
# Y Axis Stepper on Driver1 (A Motor) #
#####################################################################
[stepper_y]
step_pin: # Y-axis motor step pin setting
dir_pin: # Y-axis motor direction pin setting, determine direction based on actual hardware, add exclamation mark to reverse direction
enable_pin: # Y-axis motor enable pin setting, enable pin needs exclamation mark, otherwise motor won't work
rotation_distance: 40 # Pulley circumference mm (2GT-20T pulley 40, 2GT-16T pulley 32)
microsteps: 16 # Motor microstep setting, higher microsteps mean higher quality but higher mainboard load
full_steps_per_rotation: 200 # Number of pulses per rotation (1.8 degree motor: 200, 0.9 degree motor: 400)
endstop_pin: # Endstop PIN, recommend normally closed then add ! to reverse state, position at io-0
### When using normally closed, it is in a triggered state. Adding an exclamation mark can reverse this state, preventing crashes in case of wire breakage.
position_min: 0 # Soft limit minimum travel
position_endstop: 300 # Soft limit maximum travel (250mm-300mm-350mm)
position_max: 300 # Mechanical limit maximum travel (250mm-300mm-350mm)
homing_speed: 50 # Homing speed, max 100. Homing speed should not be too fast.
homing_retract_dist: 5 # Retract distance after first endstop trigger
step_pulse_duration: 0.000004
#--------------------------------------------------------------------
## Ensure the driver model is configured correctly (2208 or 2209)
[tmc2209 stepper_y] # Y driver configuration - TMC2209
uart_pin: # Communication port Pin definition
interpolate: False # Enable 256 microstep interpolation (True to enable, False to disable)
run_current: 0.8 # Run current
sense_resistor: 0.110 # Driver sense resistor, do not change
stealthchop_threshold: 500 # StealthChop threshold (set to 0 if stealthchop not needed)
#--------------------------------------------------------------------
#[tmc5160 stepper_y] # Extruder driver configuration - TMC5160
#cs_pin: # SPI chip select Pin definition
# spi_software_mosi_pin:
# spi_software_miso_pin:
# spi_software_sclk_pin:
## spi_bus: spi1a # SPI bus selection, recommend using software SPI first
# spi_speed: 100000 # SPI communication speed
#run_current: 1.0 # Motor run current value
#interpolate: False # Enable 256 microstep interpolation (True to enable, False to disable)
#sense_resistor: 0.075 # Driver sense resistor, do not change (if using 5160 Pro, change value to 0.033)
#stealthchop_threshold: 500 # StealthChop threshold (set to 0 if stealthchop not needed)
#####################################################################
# Z Stepper Settings #
#####################################################################
# |----- Z1 -----|
# | |
# | |
# | |
# Z0----Display----Z2
#####################################################################
# Z Stepper #
#####################################################################
## Z Stepper - Front Left on Driver3
[stepper_z]
step_pin: # Z-axis motor step pin setting
dir_pin: # Z-axis motor direction pin setting, determine direction based on actual hardware, add exclamation mark to reverse direction
enable_pin: # Z-axis motor enable pin setting, enable pin needs exclamation mark, otherwise motor won't work
### T8x4 lead screw. One rotation moves the bed 4 mm.
## Modify according to the purchased lead screw parameters.
rotation_distance: 8 # Lead screw pitch is 8, modify based on your actual use case. A total of 3 places need modification.
full_steps_per_rotation: 200 # Number of pulses per rotation (1.8 degree motor: 200, 0.9 degree motor: 400)
microsteps: 16 # Motor microstep setting, higher microsteps mean higher quality but higher mainboard load
endstop_pin: # Endstop PIN, recommend normally closed then add ! to reverse state, position at io-1
## position_endstop is the position of the nozzle relative to the print surface (Z0) at the moment the Z endstop triggers (unit: mm).
position_endstop: -0.5
## Positive value = termination point above the bed, negative value = termination point below the bed.
## Increasing the value of position_endstop brings the nozzle closer to the bed.
## After running Z_ENDSTOP_CALIBRATE, position_endstop will be stored at the end of the CFG configuration.
position_min: -15 # (Configure nozzle cleaning requires about -5)
position_max: 300 # Mechanical limit maximum travel (250mm-300mm-350mm)
homing_speed: 5 # Homing speed - max 20
second_homing_speed: 3 # Second homing speed - max 10
homing_retract_dist: 0 # Retract distance
step_pulse_duration: 0.000004
#--------------------------------------------------------------------
[tmc2209 stepper_z]
uart_pin: # Driver communication port
interpolate: false # Microstep interpolation 256
run_current: 0.8 # Run current mA
sense_resistor: 0.110 # Driver sense resistor, do not change
stealthchop_threshold: 500 # StealthChop threshold (set to 0 if stealthchop not needed)
#--------------------------------------------------------------------
#[tmc5160 stepper_z] # Extruder driver configuration - TMC5160
#cs_pin: # SPI chip select Pin definition
# spi_software_mosi_pin:
# spi_software_miso_pin:
# spi_software_sclk_pin:
## spi_bus: spi1a # SPI bus selection, recommend using software SPI first
# spi_speed: 100000 # SPI communication speed
#run_current: 1.0 # Motor run current value
#interpolate: False # Enable 256 microstep interpolation (True to enable, False to disable)
#sense_resistor: 0.075 # Driver sense resistor, do not change (if using 5160 Pro, change value to 0.033)
#stealthchop_threshold: 500 # StealthChop threshold (set to 0 if stealthchop not needed)
#--------------------------------------------------------------------
## Z1 Stepper - Rear on Driver4
[stepper_z1]
step_pin: # z1 axis motor step pin setting
dir_pin: # z1 axis motor direction pin setting, determine direction based on actual hardware, add exclamation mark to reverse direction
enable_pin: # z1 axis motor enable pin setting, enable pin needs exclamation mark, otherwise motor won't work
### T8x4 lead screw. One rotation moves the bed 4 mm.
## Modify according to the purchased lead screw parameters.
rotation_distance: 8 # Lead screw pitch is 8
full_steps_per_rotation: 200 # Number of pulses per rotation (1.8 degree motor: 200, 0.9 degree motor: 400)
microsteps: 16 # Motor microstep setting, higher microsteps mean higher quality but higher mainboard load
step_pulse_duration: 0.000004
#--------------------------------------------------------------------
[tmc2209 stepper_z1]
uart_pin: # Driver communication port
interpolate: false # Microstep interpolation 256
run_current: 0.8 # Run current mA
sense_resistor: 0.110 # Driver sense resistor, do not change
stealthchop_threshold: 500 # StealthChop threshold (set to 0 if stealthchop not needed)
#--------------------------------------------------------------------
#[tmc5160 stepper_z1] # Extruder driver configuration - TMC5160
#cs_pin: # SPI chip select Pin definition
# spi_software_mosi_pin:
# spi_software_miso_pin:
# spi_software_sclk_pin:
## spi_bus: spi1a # SPI bus selection, recommend using software SPI first
# spi_speed: 100000 # SPI communication speed
#run_current: 1.0 # Motor run current value
#interpolate: False # Enable 256 microstep interpolation (True to enable, False to disable)
#sense_resistor: 0.075 # Driver sense resistor, do not change (if using 5160 Pro, change value to 0.033)
#stealthchop_threshold: 500 # StealthChop threshold (set to 0 if stealthchop not needed)
#--------------------------------------------------------------------
## Z2 Stepper - Front Right on Driver5
[stepper_z2]
step_pin: # z2 axis motor step pin setting
dir_pin: # z2 axis motor direction pin setting, determine direction based on actual hardware, add exclamation mark to reverse direction
enable_pin: # z2 axis motor enable pin setting, enable pin needs exclamation mark, otherwise motor won't work
### T8x4 lead screw. One rotation moves the bed 4 mm.
## Modify according to the purchased lead screw parameters.
rotation_distance: 8 # Lead screw pitch is 8
full_steps_per_rotation: 200 # Number of pulses per rotation (1.8 degree motor: 200, 0.9 degree motor: 400)
microsteps: 16 # Motor microstep setting, higher microsteps mean higher quality but higher mainboard load
step_pulse_duration: 0.000004
#--------------------------------------------------------------------
[tmc2209 stepper_z2]
uart_pin: # Driver communication port
interpolate: false # Microstep interpolation 256
run_current: 0.8 # Run current mA
sense_resistor: 0.110 # Driver sense resistor, do not change
stealthchop_threshold: 500 # StealthChop threshold (set to 0 if stealthchop not needed)
#--------------------------------------------------------------------
#[tmc5160 stepper_z2] # Extruder driver configuration - TMC5160
#cs_pin: # SPI chip select Pin definition
# spi_software_mosi_pin:
# spi_software_miso_pin:
# spi_software_sclk_pin:
## spi_bus: spi1a # SPI bus selection, recommend using software SPI first
# spi_speed: 100000 # SPI communication speed
#run_current: 1.0 # Motor run current value
#interpolate: False # Enable 256 microstep interpolation (True to enable, False to disable)
#sense_resistor: 0.075 # Driver sense resistor, do not change (if using 5160 Pro, change value to 0.033)
#stealthchop_threshold: 500 # StealthChop threshold (set to 0 if stealthchop not needed)
#--------------------------------------------------------------------
#####################################################################
# E0 Extruder Settings #
#####################################################################
#Driver2
[extruder] # Extruder
step_pin: # Extruder motor step pin
dir_pin: # Extruder motor direction pin setting
enable_pin: # Extruder motor enable pin setting
## Update the following value when performing extruder calibration.
## For example, if you request 100mm of filament, but actually get 102mm:
## rotation_distance = <old rotation_distance> * <actual extrusion length> / <requested extrusion length>
## Calibration steps: 22.44 = old value 22 * actual value 102 / target value 100
rotation_distance: 22.44 # Step value
gear_ratio: 50:17 # Gear ratio (Galileo gear ratio 7.5:1, comment out this line; BMG is 50:17, output shaft in front, input shaft in back)
microsteps: 16 # Motor microstep setting, higher microsteps mean higher quality but higher mainboard load
full_steps_per_rotation: 200 # Number of pulses per rotation (200 for 1.8 degree, 400 for 0.9 degree)
nozzle_diameter: 0.400 # Nozzle diameter
filament_diameter: 1.75 # Filament diameter
heater_pin: # Heater cartridge pin
sensor_type: ATC Semitec 104GT-2 # Sensor model (Generic 3950, ATC Semitec 104GT-2, PT1000)
sensor_pin: # Sensor pin, connected to ADC_0
min_temp: 10 # Minimum temperature (Note: measurement exceeding this value will trigger emergency stop)
max_temp: 350 # Maximum temperature (Note: measurement exceeding this value will trigger emergency stop)
max_power: 1.0 # Maximum power
min_extrude_temp: 170 # Minimum extrusion temperature (extruder must reach this temperature to extrude)
pressure_advance: 0.05 # Pressure advance - try to keep below 1.0 (pressure advance is adjusted here)
#Pressure advance adjustment method: https://www.klipper3d.org/Pressure_Advance.html
pressure_advance_smooth_time: 0.040 # Pressure advance smooth time - default is 0.040
#max_extrude_only_distance: 200.0 # Comment this out if you get extrusion flow errors, but reslicing is recommended
max_extrude_only_distance: 800
max_extrude_cross_section:800
#Nozzle temperature PID calibration command: "PID_CALIBRATE HEATER=extruder TARGET=245"
control:watermark
step_pulse_duration: 0.000004
#--------------------------------------------------------------------
[tmc2209 extruder] # Extruder driver configuration - TMC2209
uart_pin: # Communication port Pin definition
interpolate: False # Enable 256 microstep interpolation (True to enable, False to disable)
run_current: 0.5 # Motor run current value
sense_resistor: 0.110 # Driver sense resistor, do not change
stealthchop_threshold: 500 # StealthChop threshold (set to 0 if stealthchop not needed)
#--------------------------------------------------------------------
#[tmc5160 extruder] # Extruder driver configuration - TMC5160
#cs_pin: # SPI chip select Pin definition
# spi_software_mosi_pin:
# spi_software_miso_pin:
# spi_software_sclk_pin:
## spi_bus: spi1a # SPI bus selection, recommend using software SPI first
# spi_speed: 100000 # SPI communication speed
#run_current: 1.0 # Motor run current value
#interpolate: False # Enable 256 microstep interpolation (True to enable, False to disable)
#sense_resistor: 0.075 # Driver sense resistor, do not change (if using 5160 Pro, change value to 0.033)
#stealthchop_threshold: 500 # StealthChop threshold (set to 0 if stealthchop not needed)
#####################################################################
# Heated Bed Configuration #
#####################################################################
[heater_bed]
heater_pin: # Heated bed pin
sensor_type: Generic 3950 # Heated bed sensor type
sensor_pin: # Heated bed sensor pin
max_power: 0.5 # Heated bed power
min_temp: 0 # Minimum temperature (Note: measurement exceeding this value will trigger emergency stop)
max_temp: 120 # Maximum temperature (Note: measurement exceeding this value will trigger emergency stop)
# Heated bed temperature PID calibration command: "PID_CALIBRATE HEATER=heater_bed TARGET=100"
control:watermark
#####################################################################
# Fan Configuration #
#####################################################################
[fan] # Model cooling fan
pin: # Signal pin
kick_start_time: 0.5 # Start time (do not change)
off_below: 0.10 # Do not change
#--------------------------------------------------------------------
[heater_fan hotend_fan] # Hotend cooling fan
pin: # Signal pin
max_power: 1.0 # Maximum speed
kick_start_time: 0.5 # Start time (do not change)
heater: extruder # Associated device: extruder
heater_temp: 50 # Fan activation temperature for extruder
fan_speed: 1.0 # Fan speed
#--------------------------------------------------------------------
[heater_fan controller_fan] # Electronics compartment fan
pin: # Signal pin
max_power: 1.0 # Maximum speed
kick_start_time: 0.5 # Start time (do not change)
heater: heater_bed # Associated device: heated bed
heater_temp: 50 # Fan activation temperature for heated bed
fan_speed: 1.0 # Fan speed
#--------------------------------------------------------------------
[heater_fan exhaust_fan] # Exhaust fan
pin: # Signal pin
max_power: 1.0 # Maximum speed
kick_start_time: 0.5 # Start time (do not change)
heater: heater_bed # Associated device: heated bed
heater_temp: 70 # Fan activation temperature for heated bed
fan_speed: 1.0 # Fan speed
#####################################################################
# Leveling Sensor #
#####################################################################
#Default PL08N probe installation position is not lower than nozzle height, only for leveling. If your PL08N is NO (normally open), change the pin and add !
[probe]
pin: # Endstop PIN, recommend normally closed then add ! to reverse state, position at io-2
x_offset: 0 # X-axis - sensor offset relative to nozzle
y_offset: 25.0 # Y-axis - sensor offset relative to nozzle
z_offset: 0 # Z-axis - sensor offset relative to nozzle
speed: 10.0 # Leveling speed
samples: 3 # Number of samples
samples_result: median # Result method (default median)
sample_retract_dist: 4.0 # Leveling retract distance
samples_tolerance: 0.006 # Sample tolerance (Note: too small a value may increase the number of samples)
samples_tolerance_retries: 3 # Number of retries if tolerance is exceeded
#####################################################################
# Homing #
#####################################################################
# [safe_z_home] # Z-axis endstop coordinates
# home_xy_position:206,300 # Z-axis endstop position definition (Important!!! Adjust yourself)
# speed:100 # Homing speed
# z_hop:10 # Z lift height before homing
#--------------------------------------------------------------------
[homing_override] # Z-axis homing macro (If using Klicky, please comment out this part)
axes: z
set_position_z: 0
gcode:
G90
G0 Z5 F600
G28 X Y
## Z endstop switch position
## Test a few more times to ensure there are no issues, then update X and Y to your values (e.g., X157, Y305)
## End pin position definition step.
G0 X-10 Y-10 F3600 # Update X and Y values here
G28 Z
G0 Z10 F1800
## Based on your machine size, remove the "#" before the corresponding configuration:
## Rough measurement is the center of your bed.
#--------------------------------------------------------------------
## 250mm model: Remove the "#" before the configuration line below to enable
#G0 X125 Y125 Z30 F3600
#--------------------------------------------------------------------
## 300mm model: Remove the "#" before the configuration line below to enable
#G0 X150 Y150 Z30 F3600
#--------------------------------------------------------------------
## 350mm model: Remove the "#" before the configuration line below to enable
#G0 X175 Y175 Z30 F3600
#--------------------------------------------------------------------
#####################################################################
# 3Z Leveling
#####################################################################
[z_tilt]
## Use the Z_TILT_ADJUST command to level the bed
## z_positions: The position of the print head
##--------------------------------------------------------------------
## 250mm model: Remove the "#" before the configuration below to enable
#z_positions:
# -50, 18
# 125, 298
# 300, 18
#points:
# 30, 5
# 125, 195
# 220, 5
##--------------------------------------------------------------------
## 300mm model: Remove the "#" before the configuration below to enable
#z_positions:
# -50, 18
# 150, 348
# 350, 18
#points:
# 30, 5
# 150, 245
# 270, 5
##--------------------------------------------------------------------
## 350mm model: Remove the "#" before the configuration below to enable
#z_positions:
# -50, 18
# 175, 398
# 400, 18
#points:
# 30, 5
# 175, 295
# 320, 5
#--------------------------------------------------------------------
speed: 100 # Leveling speed
horizontal_move_z: 10 # Z-axis start height
retry_tolerance: 0.0075 # Sample tolerance
retries: 5 # Number of retries if tolerance is exceeded
#####################################################################
# FLY-Mini 12864 LCD
#####################################################################
# To use the FLY-Mini 12864 LCD, please fill in the [board_pins] aliases according to the actual mainboard manual.
# [board_pins]
# aliases:
# Fill in according to the actual mainboard
#--------------------------------------------------------------------
#[display]
#lcd_type: uc1701 # Display driver type
#cs_pin: # Display chip select cs pin setting
#a0_pin: # Display data a0 pin setting
#rst_pin: # Display reset rst pin setting
#contrast: 63 # Contrast
#encoder_pins: # Rotary encoder (knob switch) pin setting
#click_pin: # Rotary encoder (knob switch) confirmation button pin setting
#spi_bus: spi1 # Must specify SPI channel
#--------------------------------------------------------------------
#####Suitable for FLY Mini12864
#[neopixel fly_mini12864]
#pin: # Display backlight control pin setting
#chain_count: 3
#initial_RED: 0.5 # Red LED brightness control (range: 0-1)
#initial_GREEN: 0.5 # Green LED brightness control (range: 0-1)
#initial_BLUE: 0.5 # Blue LED brightness control (range: 0-1)
#color_order: RGB # Color order
#####################################################################
# Idle Timeout Bed Shutdown
#####################################################################
[idle_timeout]
timeout: 1800 # Power off the bed after 30 minutes of idle time
#####################################################################
# Custom Gcode Macros #
#####################################################################
[gcode_macro PRINT_START] # Set PRINT_START as the macro for starting a print, customizes pre-print actions
gcode:
G92 E0 # Reset extrusion
BED_MESH_CLEAR # Unload bed mesh
G28 # Home all axes
Z_TILT_ADJUST # Gantry leveling
G28 # Home all axes
G1 Z20 F3000 # Move nozzle away from bed
BED_MESH_PROFILE LOAD=default # Load bed mesh
#--------------------------------------------------------------------
[gcode_macro PRINT_HUAXIAN] # Set PRINT_HUAXIAN as the macro after PRINT_START, customizes pre-print actions
gcode:
G1 Z5 F3000
G92 E0; # Reset extrusion
G90 # Set absolute positioning
G0 X5 Y1 F6000 # Move to x5 y1 position, speed 100mm/s (F6000 means 6000mm per minute)
G0 Z0.4 # Move Z height to 0.4
G91 # Set relative positioning
G1 X100 E20 F1200; # Move X axis 100mm, extrude, change F to change extrusion rate
G1 Y1 # Move Y axis 1mm
G1 X-100 E20 F1200; # Move X axis -100mm, extrude, change F to change extrusion rate
G0 z5 # Raise Z by 5mm
G1 E-5.0 F3600 # Retract filament
G92 E0; # Reset extrusion
G90 # Set absolute positioning
#--------------------------------------------------------------------
[gcode_macro PRINT_END] # Set PRINT_END as the macro for ending a print, customizes post-print actions
gcode:
# Get Boundaries
{% set max_x = printer.configfile.config["stepper_x"]["position_max"]|float %}
{% set max_y = printer.configfile.config["stepper_y"]["position_max"]|float %}
{% set max_z = printer.configfile.config["stepper_z"]["position_max"]|float %}
# Check end position to determine safe directions to move
{% if printer.toolhead.position.x < (max_x - 20) %}
{% set x_safe = 20.0 %}
{% else %}
{% set x_safe = -20.0 %}
{% endif %}
{% if printer.toolhead.position.y < (max_y - 20) %}
{% set y_safe = 20.0 %}
{% else %}
{% set y_safe = -20.0 %}
{% endif %}
{% if printer.toolhead.position.z < (max_z -
Loading...