Video: DNC Precision tutorial - first machine, send and receive
This video sets up DNC Precision from scratch and moves the first programs between the PC and a CNC control over RS-232: the installation of the Free Edition, a machine from the template list, the port and handshake settings, the program format, sending, receiving, and the raw data that shows why a transfer fails. Everything in it works in the Free Edition.
In this video
- 0:00 Install the Free Edition
- 0:52 Add a machine: the template list, what to set on the control, port, handshake, binary log, program format, folders
- 2:52 Send and receive: Transmit and Receive, with the raw data window open
- 3:46 Raw data: sent and received bytes, a baud-rate mismatch and what it looks like
- 4:43 Editions
The settings in the video
| Setting | Value | Where |
|---|---|---|
| Machine template | Fanuc 0I-M (152 templates, or Generic CNC machine) | Add machine |
| Serial port | COM2 | Serial port / Serial port settings |
| Baud rate, data bits, parity, stop bits | 9600, 7, Even, 2 | Serial port / Serial port settings |
| Handshake | Software (XON/XOFF), type Both; Use RTS and Require CTS cleared | Serial port / Data flow control |
| Binary log files | On | Serial port / Logging |
| Program start and end | % and %, the first % on a line of its own | Format / Data exchange |
| Line end | #0A (line feed) | Format / Data exchange |
| Program name prefix | O | Format / Data exchange |
| Folders | C:\CNC\Mill 1 and C:\CNC\Mill 1\received | Manual mode / Directories and files |
The values must be the same as on the control. The control in the video is simulated on a second PC, connected with a real null-modem cable. CNC and DNC settings lists the port settings of many controls, and CNC not receiving a program over RS-232 goes through the causes when the first transfer fails.
What the video shows about the raw data
"Show transferred data" opens a window with every byte that goes over the cable, in hexadecimal and as text. Open it before the transfer: it shows the data that arrives while it is open. The bytes DNC Precision sends are marked in yellow. In the last part of the video the control sends at 4800 baud while DNC Precision listens at 9600: the bytes arrive garbled, DNC Precision reports "Can't receive a sign of the start of a file", and no program is saved.
Video transcript
Narration of the video "DNC Precision: first machine, send and receive" (November 2026).
Install. In this video we install DNC Precision Free Edition, set up a first CNC machine, send a program to it and receive one back. At the end we look at the raw data, which is where you find out why a transfer fails. Run the installer and follow the wizard. The Free Edition is free for personal and commercial use. It handles one machine and programs up to 64 kilobytes, sent and received from the PC.
Add a machine. The main window holds the list of machines. The toolbar adds a machine and opens its settings, and Transmit and Receive send and receive programs. The message log at the bottom shows what happens. Click Add machine and pick the control from the list. It holds templates for more than 150 controls, from Fanuc and Haas to Heidenhain and Siemens, and Generic CNC machine for any other. The template fills in the usual settings of that control, and DNC Precision shows what to set on the control itself: for this Fanuc, the parameters of its serial port. Open Setup to give the machine a name and to check its port. Choose the serial port the machine is connected to, then the baud rate, data bits, parity and stop bits exactly as they are on the control. Here it is 9600 baud, seven data bits, even parity and two stop bits. Set the handshake the control uses. This one uses software handshaking, XON and XOFF, with these standard characters, so the hardware boxes are cleared. If your control uses hardware handshaking, tick Use RTS and Require CTS instead, and use a cable with those lines wired. On the Logging page, turn on the binary log files. They keep the raw bytes of every transfer, which is what you need if the first transfer does not work. Data exchange sets the program format. A program starts and ends with a percent sign, the first one on a line of its own, and every line ends with a line feed: #0A is its hexadecimal code. The program name prefix is the letter in front of the program number, O on most controls, so that a received program is saved under its own number. Last, the folders for this machine: one for the programs you send, one for the programs you receive. Click OK, and the machine is in the list.
Send and receive. Before the first transfer, open the raw data window: right-click the machine and choose Show transferred data. It shows every byte that goes over the cable, in both directions. To send a program, select the machine, click Transmit and choose the file. On the control, start reading, with the READ key or the program input. The program goes out, and the message log shows the transfer and its result. To receive, click Receive and give the file a name. DNC Precision waits for the data. On the control, start the output of the program, often called PUNCH. When the end of the program arrives, the file is saved.
Raw data. Here is every byte that went over the cable, in hexadecimal on the left and as text on the right, with the start and end characters: a line feed is 0A. The bytes DNC Precision sent are marked in yellow, so the two directions are easy to tell apart. Here is what a mismatch looks like. The control now sends at 4800 baud, while DNC Precision still listens at 9600. The bytes arrive garbled, DNC Precision finds no program start, and no program is saved. Garbled characters almost always mean different port settings on the two sides. Set both sides to the same values, and the transfer works again. The binary log files keep the raw data of every transfer, so you can send them to the machine builder or to our support.
Editions. That is DNC Precision Free Edition: one machine, sending and receiving from the PC. Professional and Enterprise add the server mode, where the operator requests programs from the control, and drip feed for programs larger than the control's memory. Both are shown in the next videos.
Next videos
- Server mode: three CNC machines at once - operators request programs and file lists from the control.
- Drip feed - a 200 KB program at 2400 baud, with XON/XOFF stop and go.
Download DNC Precision: the Free Edition and the full version, which works as a trial.
What is DNC software | DNC server mode | Drip feed | RS-232 troubleshooting | Wireless DNC | USB-to-serial adapters | Machine data with DPRNT | DNC software compared | Edit programs before sending | CNC and DNC settings | RS232 pinout and signals