klipper-dgus/test/klippy/extruders.test

51 lines
1.1 KiB
Plaintext

# Extruder tests
DICTIONARY atmega2560.dict
CONFIG extruders.cfg
# Extrude only
G1 E5
G1 E-2
G1 E7
# Home and extrusion moves
G28
G1 X20 Y20 Z1
G1 X25 Y25 E7.5
# Update step_distance
SET_EXTRUDER_ROTATION_DISTANCE EXTRUDER=extruder DISTANCE=33.2
G1 X30 Y30 E8.0
# Reverse step_distance
SET_EXTRUDER_ROTATION_DISTANCE EXTRUDER=extruder DISTANCE=-33.1
G1 X30 Y30 E8.2
# Disable extruder stepper motor
SYNC_EXTRUDER_MOTION EXTRUDER=extruder MOTION_QUEUE=
G1 X35 Y35 E8.5
# Disable my_extra_stepper stepper motor
SYNC_EXTRUDER_MOTION EXTRUDER=my_extra_stepper MOTION_QUEUE=
G1 X40 Y40 E9.0
# Enable extruder stepper motor
SYNC_EXTRUDER_MOTION EXTRUDER=extruder MOTION_QUEUE=extruder
G1 X45 Y45 E9.5
# Switch to just my_extra_stepper stepper motor
SYNC_EXTRUDER_MOTION EXTRUDER=extruder MOTION_QUEUE=
SYNC_EXTRUDER_MOTION EXTRUDER=my_extra_stepper MOTION_QUEUE=extruder
G1 X50 Y50 E10.0
# Test pressure advance move
SET_PRESSURE_ADVANCE EXTRUDER=my_extra_stepper ADVANCE=0.020
G1 X55 Y55 E0
G1 X55 Y55 E0.5
G1 X60 Y60 E1.1
G1 X50 Y50
SET_PRESSURE_ADVANCE EXTRUDER=extruder ADVANCE=0.025
G1 X55 Y55 E1.5
G1 X50 Y50
G1 X55 Y55 E2.0
G1 X50 Y50