bg

Video: DNC server mode - three CNC machines request programs at once

In server mode the operator works at the control and DNC Precision answers on its own. This video sets up the server mode for one machine, copies it to two more, and runs all three at the same time: Mill 1 requests a program, Lathe 2 punches one back to the PC, and Mill 3 asks for the list of its programs. The server mode is part of DNC Precision Professional (up to three machines) and Enterprise.

In this video

  • 0:00 What a request is: a short program the operator types on the control, with the command in a comment
  • 0:41 Set up the server mode: NC commands and triggers, folders and backup, the file list, waiting for XON, cloning the machine
  • 3:06 Three machines at once: Mill 1 requests a program, Lathe 2 punches one, Mill 3 asks for the file list
  • 4:02 Monitor: the State column, the message log of each machine, the raw data
  • 4:17 Editions and the Windows service

The request programs in the video

The operator types these short programs on the control and sends them to the PC:

%
O8888
(PRG=1010)
%

asks for program 1010: DNC Precision finds O1010.nc in the machine's folders and sends it after the control's XON.

%
O8889
%

asks for the file list: an empty program with the list request identifier 8889. The list arrives as a program, one file per line, inside comments, with the name, the size, the date and time.

The settings in the video

SettingValueWhere
Processing commands from a NC, search in the program bodyOnServer mode / NC commands
Request program name8888Server mode / NC commands
TriggersPRG = Send a file, DIR = Set the relative path, DIRLIST = File list, CANCEL = Cancel current operations (the defaults)Server mode / NC commands
Folders for files to be sentC:\CNC\Mill 1, C:\CNC\SharedServer mode / Directories and files
Folder for files received, backupC:\CNC\Mill 1\received, copy old files to C:\CNC\Mill 1\backupServer mode / Directories and files
File nameprefix O, extensions nc;ncpServer mode / Directories and files
File listallowed, identifier 8889, columns name, size, date and time, in comments, numberedServer mode / File list
Wait for XON before sendingOn, in the server mode, #11Format / General
PortsMill 1 COM2, Lathe 2 COM10, Mill 3 COM11Serial port / Serial port settings

The controls in the video are simulated: Mill 1 on a second PC over a null-modem cable, Lathe 2 and Mill 3 on virtual null-modem pairs. DNC server describes every request, the reports and the Windows service in writing.

Video transcript

Narration of the video "DNC server mode: three CNC machines at once" (November 2026).

Intro. In server mode, DNC Precision works without anyone at the PC. The operator requests programs from the control's keyboard, and DNC Precision sends them, saves the programs the machine punches and answers requests for a file list. In this video we set it up and run three machines at the same time. A request is a short program that the operator types on the control and sends to the PC. Its name, here 8888, tells DNC Precision that it is a request, and the comments hold the commands: PRG asks for a program, and DIR would pick a folder.

Set up the server mode. Open the machine's settings and go to NC commands. Turn on processing commands from the NC and the search in the program body. DNC Precision looks for requests only in programs with this name, 8888. The commands come in the comments of the request program, and an equals sign separates a command's name from its value. The trigger list already holds the usual commands: PRG sends a file, DIR sets the folder, and CANCEL stops a transfer. On Directories and files, set the folders the machine may request programs from, and where the programs from the machine are saved. A request for 1010 becomes the file name O1010 with one of these extensions. If a program with the same name arrives again, the old file goes to the backup folder. The file list shows the operator, on the control, which programs are on the PC. An empty program named 8889 asks for it, and the list comes back as a program, one file per line, inside comments. One more setting, on Format, General: in server mode, DNC Precision waits for the XON character before it sends. The control sends XON when the operator starts reading, so the program goes out only when the control is ready. The other machines need the same settings with their own port and folders. Clone copies a machine. Change the name, the serial port and the folders, and it is ready.

Three machines at once. Select the machines and click Server. From now on, DNC Precision listens on all three ports. On Mill 1, the operator sends a request for program 1010 and presses READ. DNC Precision finds the file and sends it, and the State column shows the bytes sent so far. Meanwhile, the operator of Lathe 2 punches a program from the control. DNC Precision saves it under its program number, O2002, in the machine's received folder. And Mill 3 asks for the file list. A moment later, the list arrives on the control as a program that the operator reads on the screen.

Monitor. To see what each machine is doing, select it: the message log shows that machine's lines, and the list shows the state of every machine at a glance. Show transferred data and the binary log files hold the raw bytes, as in the first video.

Editions. On a shop-floor PC, run DNC Precision as a Windows service, so that it starts with Windows, before anyone logs in. Professional handles up to three machines, Enterprise any number, and Enterprise adds program requests by barcode and remote control from other PCs.

More videos

Download DNC Precision: the trial of the full version runs the server mode for 30 minutes with one machine.

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

Product Buy Download Support Contacts Site map
Copyright © 1999 - 2026, AGG Software.
All rights reserved.. Terms of use | Privacy policy