test: Add multi_z test case

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2018-06-16 20:32:35 -04:00
parent eb801631b9
commit 9972db5a2a
2 changed files with 136 additions and 0 deletions

36
test/klippy/multi_z.test Normal file
View file

@ -0,0 +1,36 @@
# Test case with multiple z stepper motors
CONFIG multi_z.cfg
DICTIONARY atmega2560-16mhz.dict
# Start by homing the printer.
G28
G1 F6000
# Z / X / Y moves
G1 Z1
G1 X1
G1 Y1
# Run bed_tilt_calibrate
BED_TILT_CALIBRATE
# Move again
G1 Z5 X0 Y0
# Run Z_TILT_ADJUST
Z_TILT_ADJUST
# Move again
G1 Z2 X2 Y3
# Do regular probe
PROBE
QUERY_PROBE
# Verify stepper_buzz
STEPPER_BUZZ STEPPER=stepper_z
STEPPER_BUZZ STEPPER=stepper_z1
STEPPER_BUZZ STEPPER=stepper_z2
# Move again
G1 Z9