Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

grbl-jog-cli

Interactive CLI that opens a GRBL-controlled CNC over serial and accepts jog commands. Runs pollStatus so the prompt updates with the current state and machine position.

npm install
npm start -- /dev/ttyUSB0

Commands

Input Action
x+ / x- Jog X by ±10 mm at 500 mm/min
y+ / y- Jog Y by ±10 mm at 500 mm/min
z+ / z- Jog Z by ±1 mm at 100 mm/min
h $H (homing cycle)
r Soft reset
q Quit

What it shows

  • @serialpilot/driver-grbl against a real port.
  • Live status frame parsing via pollStatus(250).
  • Soft-reset (r) bypassing the queue. feedHold() and cycleStart() are not wired to keys here but are available on the driver.