Mach3 USB Motion Controller UC300 User's Manual: The Version of 20180925
Mach3 USB Motion Controller UC300 User's Manual: The Version of 20180925
www.nvcnc.net
Contents
www.nvcnc.net
1. Brief Description of the UC300 Motion Controller:
For firstly of all we thank you for your interesting in our product and for reading this user’s guide.
The UC300 is a high-performace external motion controller for Mach3, with USB port communicated
Mach 3 software,supporting standard MPG and Digital Dream MPG.The device can communicate with a
connection to a control computer’s network.The network connection can be built with direct connection by USB
Port.
The computer connects to the UC300 via a standard USB cable.It’s the best to shiled the communication
USB cable to ignore the interferences.
The device can be used to control machine tools with stepper or servo motor with pulse and direction
interface;the controller can output a maximum of 300kHz stepping frequency for each axes and can work with
upto 6-axes.The Controller is 3-6 Axis for user’s options.
This user’s guide describes how to establish connection between the device and controler computer,the
device and stepper/Servo drives and spindle motor,how to setup the network and the device for the communica-
tion.This document also describes the inputs and outputs,the electrical parameters and properties of the motion
controller.It guides the users how to run the device with Mach3 software,and how to set the parameters in the
software.
Here is the brief description for the device:
1) Motion control 3-6 Axis(X,Y,Z,A,B,C) for option,max frequency output 300Khz/Axis;
2) USB Communication with Mach 3 Software;
3) Main power supply 24VDC,Current should higher than 1A;
4) IO Power is 24VDC power supply input,current should higher than 1A(The controller already supply the
power for IO port,no need the external power supply for IO port anymore);
5) 12 opto-isolated digital input ports,10 opto-isolated digital output ports;
6) 1 analog output port of 0-10V adjustable speed for spindle (can change to PWM output port);
7) ARM motion control chip;
8) Compatible with Standard MPG and also Digital Dream MPG
Accessories:
Beside the main products,in our package,there are accesories:1pcs 1.5meter USB cable.
2. Safety Notes:
Moving objets like machine tool axes and automatical equipments can be very dangerous.Always make
sure to keep all machines safety standards.Always install E-stop switches and the required safety equipments to
your control system and make sure that the equipment controlled by our device meets all the safety standards.
Always keep the controller dry and away from falling chips and dust,protect the device from taint
damage.Avoid conneciton mistakes,avoid high voltage damage,avoid operation errors.
Protect the device from direct intensive sunshine beams and from extreme temperature levels and from
extra high humidity weather.
We cannot take the responsibility for any persernal injury and financial loss caused by any device failure
or caused by following an error in this documentation.
www.nvcnc.net
3. Physical Installation of the device(Unit:mm)
The UC300 motion controller is with the sealed shell structure,there are 4pcs mounting holes around the
controller.We can fix 4pcs 4mm diameter holes at the cabinet,and install the controller into the cabinet.
32 mm
m
m
1
17
106
mm
21 mm
119 mm
116 mm
4 mm
Page -2
www.nvcnc.net
4. Controller UC300 Power supply Solution
The power supply solution in the field of the Industrial automation is always very complicated, there is a
lot of the GND, now we descript the structure of the power structure as below:
The power structure as the Picture 4-1,Power supply input and USB port share common GND, stepper
control module,Input&Output module,Spindle control module and MPG Port share common GND, between the
two sector there is photoelectric isolation. Inside of the board, there is GND as common-.
www.nvcnc.net
5. Connection Guide
The following drawing shows the main connections of our device.We will descrip one by one in next
pages.Here are:
1 : USB Communication Interface to PC
2 : Stepper/Servo motor Driver connection port
3 : Spindle Control Output Port
4 : Gerneral Output Interface
5 : MPG Port
6 : Functional Switch for MPG:Standard MPG or Digital Dream MPG
7 : Serial Extend Port
8 : Input Port:Limit/Home/Probe and so on
9 : Adjustable parameter Input Port
10 : Main System and IO Power Port
4: Genernal Output
5: MPG
www.nvcnc.net
5.1 USB Communication Port to PC
To setup the connection between the controller and the Mach3 software on computer,UC300 use the USB
port,as the Marked No.1 on Picture 5-1.
www.nvcnc.net
5.3 Spindle Control Output Port
As Picture 5-1 showed,No.3 terminal block is for Spindle control output. We define the interface from left are
GNDs,VSO,OUT1,OUT2,Index. They are Ground of output, Speed adjusting voltage,Digital output1, Digital
output2, Spindle speed feedback input.
Take Nowforeuer inverter as the example. Spindle control output and the inverter connection showed as
Picture 5-6.X1 control spindle Clockwise RUN and STOP, AIN1 modify spindle's speed. if we need to control
spindle anti-clockwise RUN and STOP, we need to connect X2 to OUT2.
COM
AIN1
X1
X2
www.nvcnc.net
Picture 5-4 UC300 Spindle Motor Max Speed Setting
5 1
9 6
Picture 5-5 General Output Interface
www.nvcnc.net
Picture 5-6 OUTPUT port internal structure
The general output interface has a built-in relay drive circuit, which can be directly connected to less than the
100mA relay. Reference Picture 5-6 for wiring with relay, using output 4(Pin No.2) and COM+.By the connec-
tion method of Picture 5-6,it is the controller supply the power for the Output Ports.If the users want to supply
the external power for the relay,then the connection is between GND(Pin1) and Output4(Pin2).
GND is COM-.
OUT4
COM+
www.nvcnc.net
5.5 Function Switch for MPG
As the Picture 5-1 showed, the marked No.6 is the switch for the options of two type MPG.For EC500,it
can supply both standard MPG and NV-MPG which is made by our company Digital Dream. The Marked No.
5 is the interface for the connection of MPG.
The difference connection for Standard MPG and NV-MPG is from the Pin1 and Pin 2.Pls check the
following table.Pls don’t also forget when you need standard MPG turns the switch to STD,and when you
need NV-MPG,switch it to NV.Then wiring the connections of MPG interface.
MPG
PIN No. Mark Definition
1 T1OUT TXD of Serial port
2 VMPG Power supply + for MPG(5V)
3 WHA+ A phase positive of the encoder
4 WHB+ B phase negative of the encoder
5 XIN X axis select input
6 ZIN Z axis select input
7 X100IN 100 rate select input
8 EP Estop port
9 R1IN RXD of Serial port
10 GND Ground and common end
11 WHA- A phase positive of the encoder
12 WHB- B phase negative of the encoder
13 YIN Y axis select input
14 AIN A axis select input
15 X10IN 10 rate select input6
www.nvcnc.net
5.6 Serial extend port
As the Picture 5-1 show, The marked No. 7 port is Serial extend port. The interface is mainly used for
extended serial devices, such as IO extensions or HMI interface extensions.
Mark Definition
RXD Receive for serial port
TXD Transmit for serial port
COM- Negative side
www.nvcnc.net
Picture 5-10 Probe/Estop/ and other switch input connection
www.nvcnc.net
5.8 Adjustable Input Interface
Adjustable Inputs
PIN Mark Description
FHA Potentiometer Phase A
COM- Comman Ground
FHB Potentiometer Phase B
SRO Spindle Speed Override
COM- Comman Ground
SJR Jogging Mode
www.nvcnc.net
5.9 Power Supply for Controller System and Power Supply for IO Port
As the Picture 5-1 show, The marked No. 9 port is the power supply port for IO port,and Marked No. 10
is for the power supply for Controller System. The access voltage range is 24VDC, and the power demand is
not less than 20W. As shown in the picture, the left terminal is power - and the right terminal is power + ,they
shared one common GND.See the Picture 5-13 as below:
Picture 5-13 Power supply for Controler System and for IO Port
5.9 LED Indicator for Power and communication with Mach 3 software
As the Picture 5-1 show, There are 3 Indicator LEDs for the controller power,IO Power and communicai-
ton with Mach3 respectively.
If the controller and IO power supply are configurated in right way,the Main Power LED and IO Power
LED turn to Red.
The LED marked “CONN” represents the status of the communicaton with Mach3 software.If a link has
not been established,the LED will not light.
www.nvcnc.net
6. Mach 3 Configuration
6.1 PlugIn
When you purchase our product, we will supply a software package in the U-disk, which contains “Digit-
alDream” PlugIn,and the EC500 Manual.
In your computer which you will run the EC500 controller,you must already installed the Mach 3 Software,and
now pls copy the PlugIn in to C:\Mach3\PlugIn.(If the user install the Mach 3 software in C-disk.)
6.2 Open Mach3 Software and connect with right PlugIn file
Double-click the icon mach3mill .Enter into Mach3 software. Pop-up the plug-in box as
below left picture.Then Click “Create Profile” and name it to “DigitalDream”,click “Default profile values” and
confirm it by “OK”
www.nvcnc.net
After Click “OK”,it will popup a window of the option for DLL file as below,pls choose “Digital Dream” as
below.Then press OK. If you do not want to the dialog box to show again any more, select ‘Don’t ask me this
again’.If connect successfully,Status bar will show “EC500 device is connected to your computer”.
www.nvcnc.net
6.4 Motor Tuning and Setup
Click Main Menu ‘Config’,select the ‘Motor Tuning’ from its pop-down menu:
www.nvcnc.net
6.5 Port and Pins Setup
First, make sure you have your Motor Outputs assigned correctly (Menu -> Config -> Ports & Pins as below:
This page is to select the stepper motor control pins. Because Stepper motor control pins address are fixed by
the controller board, So here only need to define the Pin address(No.s),we can define other parameters meter.
To make sure the Z axis to the right direction(Up is ‘+’,down is ‘-’), Z axis’s “Dir low” should be set to”√”.Oth-
er axes’s should be set as the user’s request.
Second, make sure that you have your home switches assigned correctly (Menu -> Config -> Ports & Pins ->
Input Signals). While you could use a single input for your X, Y, Z, and A homes, it is much better to have them
as separate inputs! Our EC500 controller has plenty of inputs available and it allows Mach to home all of your
axes at the same time if you wish (although you typically have your Z axis home after the rest of your axes so
you don't crash your head).
www.nvcnc.net
Here you can configure according to your actual needs the corresponding function. Optional Function include
XYZABC 6axis’s Upper and lower limit、XYZABC 6axis’s HOME point. We set upper limit and home of
XYZA to 3456 corresponding IN3/IN4/IN5/IN6 of the Controller board.
www.nvcnc.net
Click “Spindle Setup” switch to the spindle settings page.
Here we can configure the spindle rotates CW、Reverse CCW、Mist、Flood pin,.They have been
configured as 1、2、3、4. Corresponding to output#1~output#4 in Figure4-11.output#1~output#6 in Output
Signal Setup dialog can be Configured into these 4 signals. Here we only configure CW/MIST/FLOOD. CW
is controlled by OUT1. MIST is controlled by OUT2. Flood is controlled by OUT3. Here we note correspon-
dence between 2 page. Please select “use spindle motor output” if required PWM speed spindle. And select “
PWM Control”. Our PWM pin fixedly arranged on a special pin on Stepper motor setting dialog.
Here by our controller we already define all the Output Ports to Port No. 2.
www.nvcnc.net
6.6 MPG Settings
Firstly pls note the Picture 5-1 and the making No. 6,switch to the type of the MPG that you want,and
connect the MPG pins in right way as the description of Page 9(Function Switch for MPG),then go to Mach 3
and Menu -> Config -> Config Plugins
Then the following windown will popup,click the “CONFIG” of the DigitalDream dll as following,there
will be the selection windows for NV-MPG and standard MPG.The user have to select the right MPG type as
their request.
www.nvcnc.net
After the MPG selection done,we will go to setup the the MPG at Mach3 Software.
Go to Mach 3 and Menu -> Config -> Ports & Pins -> Encoder/MPG’s as following.
Then to active the MPG function, you can use the hand pulse, under the main page, click TAB to active
MPG panel, refer to the following Picture:
www.nvcnc.net