Getting
Started |
|
|
|
 |
|
 |
 |
Getting
Started
|
 |
| Download
an evaluation copy of dnc4U... |
 |
Get the latest version of our easy to use DNC software solution.
DNC need not be rocket science and DNC need not cost the earth.
Click
here to download evaluation...
If
you have connected DNC software systems between your CNC machine
and your computer then you don't really need to read this.
As an aid to setting up we include many popular default CNC
settings
If you haven't then this is what we usually do.
First decide on the type of cable you should use. The vast majority
of CNC will use a standard type of cable. These can roughly
be broken down into those that use hardware handshaking and
software handshaking.
Hardware Handshaking
If your CNC uses hardware handshaking then you will have to
connect more pins. Note how the handshaking pins 4 & 5 and
6 & 8 & 20 are connected. This is often called a straight
through cable.
| CNC
Control |
Computer
25 Pin |
|
CNC
Control |
Computer
9 Pin |
| DB-25
Male |
DB-25
Male |
|
DB-25
Male |
DB-9
Male |
| 1
(Chassis ground) |
(Not
connected) |
|
1
(Chassis ground) |
(Not
connected) |
| 2 |
3 |
|
2 |
2 |
| 3 |
2 |
|
3 |
3 |
| 7 |
7 |
|
7 |
5 |
| 4
|
5 |
|
4 |
8 |
| 5 |
4 |
|
5 |
7 |
| 6
|
20
|
|
6
|
4 |
| 20
& 8 looped |
6 |
|
20
& 8 looped |
6 |
Software Handshaking
If your CNC uses software handshaking then you dont have as
many pins to connect. Notice how the pins 4 & 5 and 6 &
8 & 20 are looped. This "fools" the CNC into detecting
a remote device, your computer. This is often called a null
modem.
| CNC
Control |
Computer
25 Pin |
|
CNC
Control |
Computer
9 Pin |
| DB-25
Male |
DB-25
Male |
|
DB-25
Male |
DB-9
Male |
| 1
(Chassis ground) |
(Not
connected) |
|
1
(Chassis ground) |
(Not
connected) |
| 2 |
3 |
|
2 |
2 |
| 3 |
2 |
|
3 |
3 |
| 7 |
7 |
|
7 |
5 |
| 4
& 5 looped |
|
|
4
& 5 looped |
|
| 6
& 20 & 8 looped |
|
|
6
& 20 & 8 looped |
|
The function of the pins are as follows:-
| DB-25
Male |
|
|
DB-9
Male |
|
| 1 |
Chassis
Ground |
|
1 |
Carrier
Detect |
| 2 |
Transmit
Data |
|
2 |
Receive
Data |
| 3 |
Receive
Data |
|
3 |
Transmit
Data |
| 4 |
Request
To Send |
|
4 |
Data
Terminal Ready |
| 5 |
Clear
To Send |
|
5 |
Signal
Ground |
| 6 |
Data
Set Ready |
|
6 |
Data
Set Ready |
| 7 |
Signal
Ground |
|
7 |
Request
To Send |
| 8 |
Carrier
Detect |
|
8 |
Clear
To Send |
| 20 |
Data
Terminal Ready |
|
9 |
(Not
Connected) |
Then setup dnc4U with the terminal window
open and send a program from the CNC to your computer. Always
do it this way because dnc4U is far more tolerant of data transmission
errors than your CNC which will almost certainly alarm if there
are any errors.

You can view the CNC data as it comes in, showing the data exactly
as received, or as below, you can debug characters 0 to 31 so
that CNC control codes and End-Of-Block sequences can easily
be deciphered...
|
|
|
 |