UCCNC; Best practice to avoid crash or unexpected shut down

UCCNC is a Windows-based CNC machine motion control software developed by CNCdrive that controls up to 6 axes using RS274 G-code and M-code. It works exclusively with CNCdrive motion controllers (such as the UC100, UC300, UC400ETH, and AXBB) serving as an alternative to software like Mach3 or Mach4. We have been using UCCNC for over 10 years in 1000s of our own CNCs and CNCs supplied to our customers. UCCNC has proven to be extremely stable and trustworthy for both hobbyist and industrial applications running hours of G-code none stop.
We have created videos on how to set-up UCCNC on your PC for use with our i2R CNC Router, and the basics in operation of UCCNC. they can be found here:
Below highlights some best practices to avoid UCCNC crashing and the user loosing control.
Yes, UCCNC can run over a USB-to-Ethernet adapter when paired with an Ethernet-based motion controller (such as a UC300ETH, UC400ETH, or AXBB), though a built-in Ethernet port is generally preferred for stability. BG Precision does not recommend the use of a USB to Ethernet Adapter.
A USB-to-Ethernet adapter acts as a network card attached via USB rather than turning the controller into a USB device. Because UCCNC relies on steady communication with the motion controller, keep these practical caveats in mind:
- Stability trade-offs: A dedicated, built-in Ethernet port is more reliable than a USB adapter, which can experience dropouts or timing issues.
- Power management: Disable USB selective suspend and allow Windows to keep the network adapter powered on so the connection does not drop mid-job. These settings can normally be found in the device manager for the USB port used under Power Management
- Network & firewall setup: Configure the controller’s IP/network settings properly and ensure your Windows firewall does not block UCCNC. These settings maybe lost each time you disconnect the USB adapter.
- Testing: Validate the specific adapter and driver with air cuts and check UCCNC’s communication statistics before running production jobs.
Yes, UCCNC can read and run G-code files direct from USB drive or other file share but we recommend you transfer the files onto the local PC to support the most stable operation. If you do use USB Drive then the biggest consideration is:
- Power management: Disable USB selective suspend and allow Windows to keep the network adapter powered on so the connection does not drop mid-job. These settings can normally be found in the device manager for the USB port used under Power Management
Set UCCNC to “High Performance” Graphics
Ensure Windows 11 is not forcing UCCNC to use a power-saving sub-processor for OpenGL rendering.
- Go to Settings > System > Display > Graphics
- Click Add Desktop App and select your UCCNC.exe file (usually located in C:\UCCNC\)
- Once added to the list, click Options
- Select High performance and click Save
Set up UCCNC Ethernet Adapter and turn off Network Energy Saving
Windows 11 aggressively puts network cards into low-power states, which instantly stalls the UCCNC visual refresh loop.
- Right-click the Start menu and open Device Manager
- Expand Network adapters and double-click your dedicated Ethernet card
- Go to the Power Management tab
- Uncheck Allow the computer to turn off this device to save power
- Go to the Advanced tab and disable Energy Efficient Ethernet, Power Saving Mode and Green Ethernet if listed
Leave A Comment