Disconnected when M291
-
Let me know if this is what you want:
[truncated]{"status":"P","coords":{"axesHomed":[1,1,1],"xyz":[-50.000,220.000,10.000],"machine":[-50.000,220.000,10.000],"extr":[0.0]},"speeds":{"requested":0.0,"top":0.0},"currentTool":0,"output":{"beepDuration":10,"beepFrequency":50"ms
-
@jul, that's the truncated version, which is too short. If you right click on it you should get a number of options including "Copy... Bytes as printable text". Choose that one, then paste it in your post.
-
Like this?
{"status":"P","coords":{"axesHomed":[1,1,1],"xyz":[-50.000,220.000,10.000],"machine":[-50.000,220.000,10.000],"extr":[0.0]},"speeds":{"requested":0.0,"top":0.0},"currentTool":0,"output":{"beepDuration":10,"beepFrequency":50"msgBox":{"msg":"Ok pour continuer","title":"Mettre la laque","mode":3,"seq":2,"timeout":0.0,"controls":0}},"params":{"atxPower":0,"fanPercent":[0,80,70,0,0,0,0,0,0],"speedFactor":100.0,"extrFactors":[100.0],"babystep":0.000},"seq":14,"sensors":{"probeValue":37,"fanRPM":0},"temps":{"bed":{"current":49.4,"active":60.0,"state":2,"heater":0},"current":[49.4,38.1,2000.0,2000.0,2000.0,2000.0,2000.0,2000.0],"state":[2,2,0,0,0,0,0,0],"tools":{"active":[[0.0]],"standby":[[0.0]]},"extra":[{"name":"MCU","temp":31.9}]},"time":7022.0,"currentLayer":0,"currentLayerTime":0.0,"extrRaw":[0.0],"fractionPrinted":0.1,"filePosition":6834,"firstLayerDuration":0.0,"firstLayerHeight":0.20,"printDuration":147.8,"warmUpDuration":82.4,"timesLeft":{"file":43658.1,"filament":0.0,"layer":0.0}}
-
@jul said in Disconnected when M291:
{"status":"P","coords":{"axesHomed":[1,1,1],"xyz":[-50.000,220.000,10.000],"machine":[-50.000,220.000,10.000],"extr":[0.0]},"speeds":{"requested":0.0,"top":0.0},"currentTool":0,"output":{"beepDuration":10,"beepFrequency":50"msgBox":{"msg":"Ok pour continuer","title":"Mettre la laque","mode":3,"seq":2,"timeout":0.0,"controls":0}},"params":{"atxPower":0,"fanPercent":[0,80,70,0,0,0,0,0,0],"speedFactor":100.0,"extrFactors":[100.0],"babystep":0.000},"seq":14,"sensors":{"probeValue":37,"fanRPM":0},"temps":{"bed":{"current":49.4,"active":60.0,"state":2,"heater":0},"current":[49.4,38.1,2000.0,2000.0,2000.0,2000.0,2000.0,2000.0],"state":[2,2,0,0,0,0,0,0],"tools":{"active":[[0.0]],"standby":[[0.0]]},"extra":[{"name":"MCU","temp":31.9}]},"time":7022.0,"currentLayer":0,"currentLayerTime":0.0,"extrRaw":[0.0],"fractionPrinted":0.1,"filePosition":6834,"firstLayerDuration":0.0,"firstLayerHeight":0.20,"printDuration":147.8,"warmUpDuration":82.4,"timesLeft":{"file":43658.1,"filament":0.0,"layer":0.0}}
In theory that's what I need, however there is no error at column 188 in that line. So either:
-
The line you copied isn't the one with the error. Did it say "Line based text data" or similar?
-
The error no longer occurs at column 188. Did you upgrade the firmware? if so the column number may have changed. Please check the DWC error message again.
EDIT: I just spotted an error at column 224. Investigating.
-
-
- Yes it say "Line based...". I have another but just with '/n /n' so i didn't think was relevant.
- I didn't upgrade since T3P3Tony ask to go with non Beta version. Also, I don't have any error message since this upgrade, I can just see there is deconnection on the gcode console
-
Please can you test whether the new firmware binary at https://www.dropbox.com/s/fyvibzm0zl92hiy/Duet2CombinedFirmware.bin?dl=0 solves the problem. Caution: this is a beta, so babysit it.
-
I'll try it ASAP, I hope Sunday
-
OK, that's probably too late for me to do anything else if the fix doesn't work, because a release deadline is approaching.
The bug I found occurs if there are both a beep and a message box pending at the same time. The M291 command causes the message box to be pending. I guess you have another GCode command nearby to generate a beep.
-
I've got a bip command at my start script, but I can try without it tomorrow for my next urgent print
Here attached my actual starting script; #### START SCRIPT ####
G28; home all axes
G0 X-50 Y220 Z10 F6000 ; go to x-50 y220
M190 S50 ; heat bed for start bed leveling
G29 ; Bed Leveling
G0 X-50 Y220 Z10 F6000 ; go to x-50 y220
M300 S10 P5 ; bip
M140 S60
M291 P"Ok pour continuer" R"Mettre la laque" S3 ; Pause
G0 X3 Y3 F6000 ; Go to front
G0 Z0 ; Drop to bed
M104 S190 ; wait until extruder
M190 S60
M109 S190 ; wait until extruder
G92 E0 ; zero the extruded length
G0 Z0.2 ; Go work altitude
G1 Y40 E20 F500 ; Extrude 20mm of filament in a 4cm line
G0 Y100 F6000 ;
G92 E0
G1 E-0.5000 F3600
G1 Z0.200 F1800 -
I just tried to launch an already made gcode without the BIP command (remove by hand)
TADA !!! No more disconnection