mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-12-15 20:59:56 +01:00
test: Add a dual_carriage test case
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
37
test/klippy/dual_carriage.test
Normal file
37
test/klippy/dual_carriage.test
Normal file
@@ -0,0 +1,37 @@
|
||||
# Test cases on printers with dual carriage and multiple extruders
|
||||
CONFIG dual_carriage.cfg
|
||||
DICTIONARY atmega2560-16mhz.dict
|
||||
|
||||
# First home the printer
|
||||
G90
|
||||
G28
|
||||
|
||||
# Perform a dummy move
|
||||
G1 X10 F6000
|
||||
|
||||
# Activate alternate carriage
|
||||
SET_DUAL_CARRIAGE CARRIAGE=1
|
||||
G1 X190 F6000
|
||||
|
||||
# Go back to main carriage
|
||||
SET_DUAL_CARRIAGE CARRIAGE=0
|
||||
G1 X20 F6000
|
||||
|
||||
# Test changing extruders
|
||||
G1 X5
|
||||
T1
|
||||
G91
|
||||
G1 X-10 E.2
|
||||
T0
|
||||
G91
|
||||
G1 X20 E.2
|
||||
G90
|
||||
|
||||
# Servo tests
|
||||
SET_SERVO servo=my_servo angle=160
|
||||
SET_SERVO servo=my_servo angle=130
|
||||
|
||||
# Verify STEPPER_BUZZ
|
||||
STEPPER_BUZZ STEPPER=dual_carriage
|
||||
STEPPER_BUZZ STEPPER=extruder
|
||||
STEPPER_BUZZ STEPPER=extruder1
|
||||
Reference in New Issue
Block a user