Project home: https://bues.ch/m/cnc-control Original repository at: https://git.bues.ch/git/cnc-control.git https://bues.ch/m/cnc-control

Michael Buesch 28fedb2817 Add release script 12 years ago
driver 911c15db70 Implement spindle start/stop using bitpoke 12 years ago
firmware 0f82d80f9b Fix version number 12 years ago
schematics 401fa378f7 Add schematics in .ps format 12 years ago
.gitignore 7052deacbd Initial commit 13 years ago
COPYING 3028915eab Add a copy of the GPL and a README stub 13 years ago
README ec045efce2 Update README 13 years ago
makerelease.sh 101a510a9f Add release script 12 years ago

README

-------------------------------------
--- CNC-Control
--- Fully Open Source CNC remote control device
------

Copyright (c) 2009-2011 Michael Buesch



--- Integrating CNC-Control into EMC2 ---

EMC 2.5.0(-pre) or later is required.

Integration into EMC2 is easy, because the CNC-Control HAL file is pretty
much selfcontained. Just copy the driver/cnccontrol.hal file to your EMC2
configuration directory. Then modify your .ini file to load the new .hal file.
EMC2 can load multiple HAL files. So all that is needed usually is to add
a line like this
HALFILE = cnccontrol.hal
to the end of the [HAL] section of your .ini file. Add the new HALFILE line
below any exitsing HALFILE line.

To install the HAL driver, just copy it somewhere you can execute files from.
We suggest to just copy the driver to the EMC2 configuration directory as well:
cp -a driver/{cnccontrol_driver.py,emc2hal_cnccontrol} /MY/EMC2/CONFIG/DIRECTORY/
After that you need to adjust your PATH environment variable to include
the EMC2 config directory (or the directory where you put the files).

As the CNC-Control HAL driver has to access the CNC-Control USB device, either
startup EMC as root, or configure your USB device permissions (udev) to allow
binding the userspace USB driver as restricted user to the device.

All configuration of the CNC-Control device can be done through the
cnccontrol.hal file. Just look into the file and read the comments.