Open deranku opened 1 year ago
Are you always running via the WebUI? Can you try running via a serial port sender or by starting an SD file using FluidTerm. Do not have the WebUI loaded anywhere.
This could help narrow down the problem.
Yes, WebUI only. I'll try and report back 👍
It is possible something is causing the WebUI to reload during a job, like a refresh from a wakeup, etc. That can mess up the timing.
The next version will block that.
https://discord.com/channels/780079161460916227/1055694404494561320/1058813451566334043
I ran the same G-Code file from the SD card over Telnet: $SD/Run=/pinguini4-300-3500-knitter.nc
WebUI was not loaded.
A freeze occured again, but the stepper motor was not interrupted during motion. Maybe a coincidence. It happened at a random position. I noticed that a couple of lines were skipped on the console, but I can't tell if they were really skipped or just not sent to the console.
[MSG:INFO: GCode Comment...Starting line 380]
[MSG:INFO: GCode Comment...Starting line 381]
[MSG:INFO: GCode Comment...Starting line 386]
[MSG:INFO: GCode Comment...Starting line 387]
I put the computer to sleep a couple of times, but that did not cause the freeze. It happened while the computer was asleep, though.
It would be nice to have a complete copy of the gcode file that causes the problem
You are right Mitch, here is the file: pinguini4-300-3500-knitter.nc.zip
Tested under 3.6.6 (WebUI) with the same issue. Ran with the attached GCode. drill_300_holes.nc.zip
Hi, im newbe using FluidNC, but after first tests same issues here. I use a MKS DLC32 controller with a laser diode. -If if launch a SD file using WebUI, after some time i start to get freezings but if select the radioButton "GRBL Report None" file continue without issues, also using the "poll every 3s" seems to be ok. The issue seems to be a buffer overflow or similar getting the reports at 50ms.
Some more notes: -If after launch the flile i close the Web UI also file continues without freezers. -But if i open again the Web page while runing the ESP hangs. -Take care the "Auto" radioButton is automatically selected after lauching a file if you have selected the "none" radio so you need to select it again or simply leave it in "poll" .
The issue leaves the laser head stopped and powered ON so you can get fire.
Attached a file for testings. ojo100.zip
What happens if you increase the auto-poll interval to, say, 500 ms?
Nice, seems to be the autoPoll mode. After some test the same file at Auto Poll 4000ms still freezing. While if i use simple Poll @100ms (0.1s) is ok. I think you will noticed because the output Web console lines in autoPoll mode are not time constant while using simple poll are constant.
FYI: Same problem here with 3.7.8, intermittent hangs and I lose steps. Not sure when it started happening, but it seems like it was a recent firmware upgrade. I'm doing all jobs via upload+WebUI run. I'll try simple poll and see if it changes anything.
Controller Board
Pen/Laser Controller SPI
Machine Description
String art machine with external stepper driver on x, solenoid on y and servo on z.
Input Circuits
No response
Configuration file
Startup Messages
User Interface Software
WebUI
What happened?
Machine works perfectly under FNC 3.4.4 with WebUI only. Exept for crashes, when the WebUI went away. I saw that this was fixed in 3.6.5, so I updated firmware and WebUI.
Under both versions of FNC, I ran the same G-Code file, which is around 400 KB.
Under 3.6.5, the WebUI going away does not seem like a problem anymore. But three times during that run, the machine stopped hard, without deceleration, and was dead for around 20 seconds. After that, the program continued, but position on x (stepper) was lost.
The G-Code used is output by a modification of Barts python script for the string art machine. It looks like this:
and so on.
Exept for the firmware update, nothing was changed.
Other Information
More of a sidenote: under 3.6.5,
cycle_start_pin
andsafety_door_pin
need to have Pull Ups activated. But not under 3.4.4. That's odd.