-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grbl G-Code Export not compatible with FluidNC #734
Comments
Hi, |
The Grbl GCode driver removes spaces because they are not needed for Grbl. I doubt that the space is really the problem. Even the test files in the FluidNC repository have some commands without spaces: I don't understand what you mean about LAOS-HPC. The LAOS driver does not use GCode but some other format: Best guess for the actual solution: Space is not the problem. The problem is the line ending. When saving the file with your text editor, the line ending is changed from CR to LF or CRLF and then it works. For Grbl we use CR (I don't know why). Grbl treats CR and LF the same: So as a workaround we could change the Grbl driver to use LF, and then hope that's enough so that it is compatible with FluidNC. |
Grbl accepts any kind of line ending. The FludNC fork of Grbl only accepts CRLF and LF. t-oster/VisiCut#734 (comment)
A draft version with CRLF instead of LF is available for download here under "artifacts". Please give feedback if that works. |
Hi, works for me. But I don't think FluidNC was the problem, because I only exported the G-code and did the same in NCviewer (Online G-Code Simulator). Nothing was visible there either. Maybe it's the computer and I have to test it again on the same computer. |
It may be the same issue, that the online simulator does not like CR line endings (which is quite exotic, because Windows uses CRLF and Linux LF. Only ancient Mac software used CR.) |
Grbl accepts any kind of line ending. The FludNC fork of Grbl only accepts CRLF and LF. t-oster/VisiCut#734 (comment)
make Grlb driver compatible with FluidNC Fixes t-oster#734 Fixes t-oster#732
Still seem to have compatibility issues with FluidNC: When executing jobs, I get an error stating that the firmware did not respond with "ok" and instead I get co-ordiantes (G0X105.460800Y69.39800S0). I can open the xml file for the lasercutter in the users/specialised/lasercutters directory and change the following text: true Changing this from "true" to "false" makes the machine move to the job co-ordinates and begin processing the job, however the machine stops after processing around 2 seconds of code. The entirety of generated Gcode therfore is not processed by the firmware. |
Which option did you change from "true" to "false"? It looks like GitHub removed some part of your comment due to special characters like < or >. Try to use the "Code" markup button in the comment field. It seems like FluidNC has echo activated, which means that it repeats everything it receives back to the sender. This should normally not be the case and it should be gone if you restart FluidNC. |
Hello,
the g-code that is exported is without spacing.
I use the last Linux app image.
I haven't found anything on how to fix this with settings?
I always use the G-Code export because FluidNC opens its own access point and everything works via webUI without a cable connection. Unfortunately, the G-code only works with this when you first search and insert space between the command and the coordinates. Otherwise the program would be perfect for me.
The text was updated successfully, but these errors were encountered: