Updated unit tests for Pause@zPos

master
WHPThomas 2013-04-20 00:27:11 +10:00
parent b6ec0f9328
commit 41de859f40
2 changed files with 13 additions and 8 deletions

View File

@ -169,6 +169,14 @@ M6
;M70 (M11 - open clamp) ;M70 (M11 - open clamp)
;M11 ;M11
; M137 - Enable axes steppers
M70 (M17 - steppers on)
M17 X Y Z A B
; M138 - Disable axes steppers
M70 (M18 - steppers off)
M18 X Y Z A B
M70 (T1 - tool change) M70 (T1 - tool change)
T1 T1
@ -234,14 +242,6 @@ M131 X Y Z A B
M70 (M132 - load EEPROM) M70 (M132 - load EEPROM)
M132 X Y Z A B M132 X Y Z A B
; M137 - Enable axes steppers
M70 (M137 - steppers on)
M137 X Y Z A B
; M138 - Disable axes steppers
M70 (M138 - steppers off)
M138 X Y Z A B
; M146 - Set RGB LED value ; M146 - Set RGB LED value
M70 (M146 - set LED) M70 (M146 - set LED)
M146 R255 L0 S0 P0 M146 R255 L0 S0 P0
@ -262,6 +262,10 @@ M320
M70 (M21 - acc off) M70 (M21 - acc off)
M321 M321
; M322 - Pause @ zPos
M70 (M322 - pause@z)
M322 Z10
; T1 - Set Current Tool 1 ; T1 - Set Current Tool 1
M70 (T1 - set tool) M70 (T1 - set tool)
T1 T1

View File

@ -145,6 +145,7 @@ commandTable = {
155: ("<iiiiiIBfh","\t[155] Move to (%i,%i,%i,%i,%i) dda_rate: %i (relative: %X) distance: %f feedrateX64: %i"), 155: ("<iiiiiIBfh","\t[155] Move to (%i,%i,%i,%i,%i) dda_rate: %i (relative: %X) distance: %f feedrateX64: %i"),
156: ("<B","\t[156] Set acceleration to %i"), 156: ("<B","\t[156] Set acceleration to %i"),
157: ("<BBBIHHIIB","\t[157] Stream version %i.%i (%i %i %i %i %i %i %i)"), 157: ("<BBBIHHIIB","\t[157] Stream version %i.%i (%i %i %i %i %i %i %i)"),
158: ("<f","\t[158] Pause @ zPos %f"),
} }
def parseNextCommand(): def parseNextCommand():