send

Send a command directly to Grbl.

send(command: any): Promise<void>
Parameters
command (any) The command to send
Returns
Promise<void>: Resolves when the command has been acknowledged

jog

Run a jogging command. See https://github.com/gnea/grbl/wiki/Grbl-v1.1-Jogging

jog(command: any): Promise<void>
Parameters
command (any) Requires: One or more XYZ words, and a feed rate word. Optional: G20/G21, G90/G91, G53. For example, G91 G20 X0.5 F10.
Returns
Promise<void>: Resolves when the command has been acknowledged

rtQueryStatus

Performs a status report query See the function report_realtime_status in grbl/report.c https://github.com/gnea/grbl/blob/bfb67f0c7963fe3ce4aaf8a97f9009ea5a8db36e/grbl/report.c#L466

rtQueryStatus(): Promise<void>
Returns
Promise<void>: