vlachoudis / bCNC

GRBL CNC command sender, autoleveler and g-code editor
GNU General Public License v2.0
1.54k stars 528 forks source link

Send Gcode one by one #1793

Open zerox100 opened 1 year ago

zerox100 commented 1 year ago

Dear,

Thank you for your nice software. I want to send GCodes one by one to the board. Is there any parameters to configure?

Best regards

Harvie commented 1 year ago

You mean line by line manualy? There is commandline in bCNC, so you can just enter your g-code commands there.

zerox100 commented 1 year ago

I mean that the software send one gcode to the board. After completion of one command the software will send next gcode immediately.

In other word there is no buffer in the board.

andrewmarles commented 1 year ago

This is done in the controller, if this is what you mean by send g code one by one:

https://github.com/gnea/grbl/blob/master/doc/markdown/commands.md#c---check-gcode-mode

zerox100 commented 1 year ago

I've checked it. I mean the computer software send the first gcode and wait for controller board to complete the first gcode and then send second gcode just after finishing the previous gcode

Harvie commented 1 year ago

But why would you do this? It would mess up acceleration/deceleration, since grbl will need to accelerate and fully decelerate during each g-code line which will cause many issues like being slow and causing bad surface finish.

zerox100 commented 1 year ago

I see and understand.... I will add the queue and acceleration option. But now i need to simplify the process for debugging purposes.

MARIOBASZ commented 1 year ago

send "%wait" can help?

zerox100 commented 1 year ago

Nop, %wait could send from bCNC! not from Controller board

terjeio commented 1 year ago

grblHAL supports single stepping gcode, $S toggles single stepping on/off. Send the cycle start real time command (or trigger the cycle start input) to execute the next.