Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

repentsinner/cncjs-pendant-xHB04B

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cncjs-pendant-xHB04B

A simple CNCjs pendant based on a USB 4/6-axis xHB04B-4 Manual Pulse Generator pendant.

LHB04B-4 pendant

Installation

After cloning the repository to your work directory, change into this directory and run

npm install

On linux, make sure you have installed the following packages

libusb-1.0-0-dev
libudev-dev

These can be installed with apt-get.

Usage

Run bin/cncjs-pendant-LHB04B-4 to start. Pass --help to cncjs-pendant-LHB04B-4 for more options.

bin/cncjs-pendant-LHB04B-4 --help

Notes

  • To figure out the random socket.io listening port used to communicate with the CNCjs server, select View in browser from the View menu
  • If running on the same machine as the server, the secret key will automatically be extracted from the .cncrc file (why is this not .cncjsrc?!?)
  • --list will list the local serial ports, not the server's serial ports. WTF.

Hotkeys:

Hotkeys

About

A simple USB jog pendant to CNCJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 99.4%
  • HTML 0.6%