UC300 Controller Wiring

You are here:
< All Topics
Table of Contents

1.0 Introduction

Wiring and setting up your CNC-machine can be very intricate. Manuals and datasheet are technical and these can become a nightmare to be understood without any technical knowledge. However, this manual will be straight forward teaching using a simple approach and guiding with examples such as photos, drawings and illustrations.

2.0 Scope

This manual will cover basic settings to get your machine running with our CNC-kit-machines. This document is step-by-step guided, showing how to wire up all the components, sensors and devices.
Please note that wiring and software configuration works well for us and they are a result of extensive trial and error and customer feedback. This does not mean that it will work for you and your machine. As always, do your research and read the manuals for each component and software – errors and omissions excepted.
Your machine will be prepared for its first job by the end of this document.

• UC300 Controller
• TB6600
• Power Supplies
• Emergency Stop
• Limit Switches
• MACH3 CNC Controller Software

2.1 UC300 Controller

This is the brain of your machine. The UC300 will communicate with your PC through a USB cable.


UC300 Specifications

• Motion control 3-6 Axis (X, Y, Z, A, B, C).
• USB Communication with Mach 3 Software.
• Control Board and IO’s optocoupler-isolated.
• Max 300khz stepper motor pulse output – suitable for most CNC milling machine system.

IO (Input or Output) TABLE


Manuals, MACH3 Plugins and more information available from:
Ensure to download the plugin version. Extract the RAR file (7-ZIP is free and can extract the RAR files) and copy the “.dll” file to the Mach3 Plugin directory (usually “C:\Mach3\PlugIns”).


2.2 TB6600 Stepper Driver Features:

This component will be in charge of driving your motor based on what the UC300 commands it to do.


• Support 8 kinds of current control
• Support 7 kinds of micro-steps adjustable
• The interface adopts high-speed optocoupler isolation
• Automatic semi-flow to reduce heat
• A large area heat sink
• Anti-high-frequency interference ability
• Input anti-reverse protection
• Overheat, over current and short circuit protection
• Input Current: 0-5A
• Output Current: 0.5-4.0A
• Power (MAX): 160W
• Micro Step: 1, 2/A, 2/B, 4, 8, 16, 32
• Dimension: 96x56x33 mm
• Weight: 0.2 kg

2.3 Power Supply 1 – Mean Well LRS-350-24 Features:

This power supply will be in charge of powering up the whole system with 24V DC, except the controller.  Ensure that your mains voltage is in specified input voltage range. Please note that there is a switch on the side of the power supply. Adjust the switch according to your mains voltage

Power Supply

• Manufacturer: Mean Well
• Output Voltage-Channel 1: 24 V
• Output Power: 350.4 W
• Open Frame/Enclosed: Enclosed
• Input Voltage: 90 VAC to 132 VAC/180 VAC to 264 VAC, 240 VDC to 370 VDC
• Output Current-Channel 1: 14.6 A
• Mounting Style: Chassis
• Length: 215 mm
• Width: 115 mm
• Height: 30 mm
• Input Frequency: 47 Hz to 63 Hz
• Unit Weight: 760 g

2.4 Power Supply 2 – Mean Well LRS-50-24 Features :

This power supply is exclusively used by the UC300 and no other component should use power from this source. Ensure that the any of the -V pin on the Power Supply 1 is connected to the -V pin on the Power Supply 2.

Power Supply 2

Output Voltage-Channel: 24V
Output Power: 52.8 W
Enclosed Case
Input Voltage: 85 VAC to 264 VAC, 120VDC to 373 VDC
Output Current-Channel: 2.2A
Mounting Style: Chassis
Length: 99 mm
Width: 82 mm
Height: 30 mm
Input Frequency: 47 Hz to 63 Hz
Unit Weight: 230 g

2.5 MACH3 Software Features:

Mach3 Software


  • Converts a standard PC to a fully-featured, 6-axis CNC controller
  • Allows direct import of DXF, BMP, JPG, and HPGL files through LazyCam
  • Visual G-code display
  • Generates G-code via LazyCam or Wizards
  • Fully customizable interface
  • Customizable M-Codes and Macros using VBscript
  • Spindle Speed control
  • Multiple relay control
  • Manual pulse generation
  • Video display of machine
  • Touch screen ability
  • Full-screen eligibility

3.0 Wiring

3.1 Wiring Tips

  • Wires don’t perform differently accordingly to its colours. However, we like to use as much as we can specify colours for specific purposes, such as Red for 24V DC and Black for GND. Having this good practice will help you to troubleshoot possible issues that might occur in the future.
  • Always use shielded cable for motors and drivers, this will minimise significantly electromagnetic interference, in consequence, this will permit you to run a job without any problem.
  • For your own convenience, if you ever have to troubleshoot this system is better to have your wiring organised and coloured as per the following drawings.
  • NEVER connect or disconnections any wire while power is applied. Failure to do the above will result in damage to the stepper drivers.
  • ALWAYS disconnect power before making any connections or disconnections.
  • The emergency stop that is connected to the UC300 controller will only stop the controller. Any 24V DC and mains power will not be affected by this emergency stop and they will be kept on even with the emergency stop down. For your own safety, we recommend hiring a licensed electrician or a qualified person to install an on/off switch and an NC Emergency button for mains power. 
  • At least one -V pin on the Power supply 1 has to be connected to the –V of the other power supply as per the power supply wiring diagram.
  • The Controller, TB6600 Drivers, Power Supply, Stepper Motors, Switches and the emergency button are connected as per the diagram below:

3.1 Stepper motor’s wiring diagram.

Click on image to expand

3.2 Power Supply 24V DC 50W wiring diagram.

Click on image to expand

3.3 Power Supply 24V DC 350W wiring diagram.

Click on image to expand

3.4 . Ensuring Same Potential for Power Supplies.

Click on image to expand


3.5 Digital Inputs wiring diagram.

Click on image to expand


4.1 TB6600 DIP Switch Settings

The TB6600 supports from 1 to 32 micro-steps and a stepper motor current from 0.5A to 3.5A. The DIP Switch located on the side is used to set the micro-step and current settings. The first 3 DIP switches are used to set the micro-steps, and the last 3 set the current.

Micro-Step Setting

Micro Step Pulse/Rev S1 S2 S3
1 200 ON ON OFF
2/A 400 ON OFF ON
2/B 400 OFF ON ON
4 800 ON OFF OFF
8 1600 OFF ON OFF
16 3200 OFF OFF ON
32 6400 OFF OFF OFF


Current Control Setting

Current (A) S4 S5 S6
0.5 ON ON ON

For lead screw driven CNC machines, such as the WorkBee and Lead CNC, a setting of 4 micro-steps and 3A is a common setting – ON-OFF-OFF-OFF-ON-OFF.

DIP TB6600