Duet2 Wifi ignores M577 command?
-
I finally have my Duet up and running and to get more familiar with the board I am trying to fix some of the macros that were on the card. The macro I am having issues with is the Fan Test macro:
; Test Routine for Duet WiFi and Ethernet June 2018: Test PWM fans ;Start logging M929 P"test2log.txt" S1 M117 PRESS X ENDSTOP, CHECK FANS FULL ON M577 X0 S2 ; wait for endstop to trigger M577 X0 S0 ; wait for endstop release
The duet seems to ignore the M577 command and just blows right past it. I have tried several combinations from the console command line as well with the same results.
My end stops are active high on the high end.
I would expect the macro to prompt the user to manually press the end stop as a means of confirmation of the fan speed.
S Logic:
0: Endstop not hit
1: Low endstop hit
2: High endstop hit
3: Near endstop (only Z probe); Test Routine for Duet WiFi and Ethernet June 2018: Test PWM fans ;Start logging M929 P"test2log.txt" S1 ; 0 = Bed Heater, 1 = Nozzle Heater ; 0 = Part Fan, 1 = Hotend, 2 = Case ; Disable Thermostatic control for each fan M106 P0 H-1 ; disable the thermostatic control on part cooling fan M106 P1 H-1 ; disable the thermostatic control on the hotend fan M106 P2 H-1 ; disable the thermostatic control on the case fan M117 PRESS X ENDSTOP, CHECK FANS FULL ON M577 X0 S2 ; wait for endstop to trigger M577 X0 S0 ; wait for endstop release ; Full on fan test M106 P0 S255 M106 P1 S255 M106 P2 S255 M117 PRESS X ENDSTOP, FANS TURN SLOWLY? M577 X0 S2 ; wait for endstop to trigger M577 X0 S0 ; wait for endstop release ;slow fan test M106 P2 S0.2 M106 P1 S0.2 M106 P0 S0.2 M117 PRESS X ENDSTOP, FANS STOP? M577 X0 S2 ; wait for endstop to trigger M577 X0 S0 ; wait for endstop release ; Turn fans off M106 P0 S0 M106 P1 S0 M106 P2 S0 M117 PRESS X ENDSTOP, FANS SET BACK THERMO CTRL? M577 X0 S2 ; wait for endstop to trigger M577 X0 S0 ; wait for endstop release ; Enable Thermostatic control for each fan M106 P1 H1 T45 ; enable the thermostatic control on the hotend fan M106 P2 H1:2 T45 ; disable the thermostatic control on the case fan M117 GO ON TO TEST 03
-
The macros are intended for factory test only. They work only with a particular config.g file.