ArticleslgStudy

computer science

Direct numerical control

Direct numerical control is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Direct numerical control rather than just read about it. In short: Direct numerical control (DNC), also known as distributed numerical control (also DNC), is a common manufacturing term for networking CNC machine tools. On some CNC machine controllers, the available memory is too small to contain the machining program (for example machining complex surfaces), so in this case the program is stored in a separate computer and sent directly to the machine, one block at a time.

Key takeaways

  • Direct numerical control belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Direct numerical control to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Direct numerical control from memory before moving on to harder problems.

Reference excerpt

Direct numerical control (DNC), also known as distributed numerical control (also DNC), is a common manufacturing term for networking CNC machine tools. On some CNC machine controllers, the available memory is too small to contain the machining program (for example machining complex surfaces), so in this case the program is stored in a separate computer and sent directly to the machine, one block at a time. If the computer is connected to a number of machines it can distribute programs to different machines as required. Usually, the manufacturer of the control provides suitable DNC software. However, if this provision is not possible, some software companies provide DNC applications that fulfill the purpose. DNC networking or DNC communication is always required when CAM programs are to run on some CNC machine control. Wireless DNC is also used in place of hard-wired versions. Controls of this type are very widely used in industries with significant sheet metal fabrication, such as the automotive, appliance, and aerospace industries.

History

1950s-1970s Programs had to be walked to NC controls, generally on paper tape. NC controls had paper tape readers precisely for this purpose. Many companies were still punching programs on paper tape well into the 1980s, more than twenty-five years after its elimination in the computer industry.

1980s The focus in the 1980s was mainly on reliably transferring NC programs between a host computer and the control. The Host computers would frequently be Sun Microsystems, HP, Prime, DEC or IBM type computers running a variety of CAD/CAM software. DNC companies offered machine tool links using rugged proprietary terminals and networks. For example, DLog offered an x86 based terminal, and NCPC had one based on the 6809. The host software would be responsible for tracking and authorising NC program modifications. Depending on program size, for the first time operators had the opportunity to modify programs at the DNC terminal. No time was lost due to broken tapes, and if the software was correctly used, an operator running incorrect or out of date programs became a thing of the past. Older controls frequently had no port capable of receiving programs such as an RS-232 or RS-422 connector. In these cases, a device known as a Behind The Reader or BTR card was used. The connection between the control's tape reader and the internal processor was interrupted by a microprocessor based device which emulated the paper tape reader's signals, but which had a serial port connected to the DNC system. As far as the control was concerned, it was receiving from the paper tape unit as it always had; in fact it was the BTR or Reader Emulation card which was transmitting. A switch was frequently added to permit the paper tape reader to be used as a backup.

1990s to present The PC explosion in the late 1980s and early 1990s signalled the end of the road for proprietary DNC terminals. With some exceptions, CNC manufacturers began migrating to PC-based controls running DOS, Windows or OS/2 which could be linked in to existing networks using standard protocols. Customers began migrating away from expensive minicomputer and workstation based CAD/CAM toward more cost-effective PC-based solutions. Users began to demand more from their DNC systems than secure upload/download and editing. PC-based systems which could accomplish these tasks based on standard networks began to be available at minimal or no cost. In some cases, users no longer needed a DNC "expert" to implement shop floor networking, and could do it themselves. However, the task can still be a challenge based on the CNC Control wiring requirements, parameters and NC program format. To remain competitive, therefore, DNC companies moved their offerings upmarket into DNC Networking, Shop Floor Control or SFC, Manufacturing Execution Systems or MES. These terms encompass concepts such as real-time Machine Monitoring, Graphics, Tool Management, Traveler Management and Scheduling. Instead of merely acting as a repository for programs, DNC systems aim to give operators at the machine an integrated view of all the information (both textual and graphical) they require in order to carry out a manufacturing operation, and give management timely information as to the progress of each step. DNC systems are frequently directly integrated with corporate CAD/CAM, ERP and Computer-aided Process Planning CAPP systems.

Special protocols A challenge when interfacing into machine tools is that in some cases special protocols are used. Two well-known examples are Mazak's Mazatrol and Heidenhain's LSV2 protocol. Many DNC systems offer support for these protocols. Another protocol is DNC2 which is found on Fanuc controls. DNC2 allows advanced interchange of data with the control, such as tooling offsets, tool life information and machine status as well as automated transfer without operator intervention.

Machine monitoring One of the issues involved in machine monitoring is whether or not it can be accomplished automatically in a practical way. In the 1980s monitoring was typically done by having a menu on the DNC terminal where the operator had to manually indicate what was being done by selecting from a menu, which has obvious drawbacks. There have been advances in passive monitoring systems where the machine condition can be determined by hardware attached in such a way as not to interfere with machine operations (and potentially void warranties). Many modern controls allow external applications to query their status using a special protocol. MTConnect is one prominent attempt to augment the existing world of proprietary systems with an open-source, industry-standard protocol using XML schemas. The end goal being to achieve higher levels of manufacturing business intelligence and workflow automation.

Alternatives Smaller facilities will typically use a portable PC or laptop to avoid the expense of a fully networked DNC system. In the past Facit Walk Disk and a similar device from Mazak were very popular.

Footnotes

Worked examples

Example 1 — a first encounter with Direct numerical control

Start with the simplest possible case. Write down what Direct numerical control claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Direct numerical control before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Direct numerical control ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Direct numerical control

In research
Direct numerical control appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Direct numerical control in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Direct numerical control is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer-aided engineering, Embedded systems, Industrial automation, so understanding it makes those chapters shorter.
In everyday life
Look for Direct numerical control outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Direct numerical control” →

How to study Direct numerical control in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Direct numerical control means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Direct numerical control out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Direct numerical control in simple terms?

Direct numerical control (DNC), also known as distributed numerical control (also DNC), is a common manufacturing term for networking CNC machine tools. On some CNC machine controllers, the available memory is too small to contain the machining program (for example machining complex surfaces), so i…

Why does Direct numerical control matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Direct numerical control?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Direct numerical control.

Tags

  • Computer-aided engineering
  • Embedded systems
  • Industrial automation
  • Machine tools

Keep exploring