M117 missed, or scripts not completed.
-
I had this idea that I could hack the missing Z offset using tfree and tpost script, but it was not working as I wanted.
So to debug it, I added M117 commands to the start and end of all four of them.
But I don't get all the messages.
A typical sequence of messages that I get is:
tfree1
tpost0
tpost0 done
tfree0
tpost1
tpost1 done
tfree1
tpost0
tpost0 do…... etc.I never get the "tfree1 done" message. So either the M117 command is sluggish, or the scripts are not begin completed.
Scripts here:
tfree0.g:M117 "Free 0"
M83 ; relative extruder movement
G1 E-2 F3600 ; retract 2mm
M82 ; absolute extruder movement
G91 ; relative axis movement
G1 Z3 F500 ; up 3mm
G90 ; absolute axis movement
G1 S2 X-27 F12000 ; park the X carriage at -27mm
M117 "Free 0 done"
G4 3000tfree1.g:
M117 "Free 1"
M83 ; relative extruder movement
G1 E-2 F3600 ; retract 2mm
M82 ; absolute extruder movement
G91 ; relative axis movement
G1 Z35 F500 ; up 3mm
G90 ; absolute axis movement
G1 S2 U311.7 F12000 ; park the U carriage at +248mm
M117 "Free 1 done"
G4 3000tpost0.g:
M117 "Post 0"
M116 P0 ; wait for tool 0 heaters to reach operating temperature
M83 ; relative extruder movement
G1 E2 F3600 ; extrude 2mm
M82 ; absolute extruder movement
G91 ; relative axis movement
G1 Z-3 F500 ; up 3mm
G90 ; absolute axis movement
M117 "Post0 done"
G4 3000tpost1.g:
M117 "Post 1"
M116 P0 ; wait for tool 0 heaters to reach operating temperature
M83 ; relative extruder movement
G1 E2 F3600 ; extrude 2mm
M82 ; absolute extruder movement
G91 ; relative axis movement
G1 Z-35 F500 ; up 3mm
G90 ; absolute axis movement
M117 "Post 1 done"
G4 3000.
-
Ate you looking at the messages on DWC or on PanelDue? DWC stacks them up, but PanelDue doesn't have enough screen area for that so a new message will overwrite an old one.
-
Messages on DWC. Not all the messages are coming through.
Kulitorum
-
I have a feeling that messages may be skipped in the web interface if two or more are generated within the web interface polling interval. So try using G4 to insert a delay of half a second after each M117 command.
-
i did like dc42 says
works good with a small pause