What Is the Difference Between PLC and CNC
A PLC runs a sequence, a CNC machine runs a toolpath. That one sentence settles most of the confusion, but it hides where the two overlap on a shop floor. This page is for engineers and buyers who have to specify, buy or troubleshoot both, and it gives the checks that decide which one a job actually needs.

The Difference Between PLC and CNC at a Glance
Read the first column as the question you are asking about your own machine or cell.
| Question | PLC | CNC |
|---|---|---|
| Primary job | Sequence and interlock logic | Move a tool along a path |
| Output | On/off, analog, VFD signals | Axis position and feed rate |
| Programming | Ladder, FBD, ST, SFC | G-code, CAM post-processor |
| Scan or cycle time | 1–10 ms per scan | 1–8 ms per servo loop |
| Typical accuracy | Position of a cylinder or gate | ±0.005 mm on a metal part |
| Sensor input | Limit, proximity, pressure, flow | Encoder, linear scale, probe |
| Tied to a part model | No | Yes, the CAM toolpath |
| Best at | Repeatable sequences, safety chains | Complex geometry, tight tolerance |
What a PLC Actually Controls
A programmable logic controller is a rugged computer built to read inputs and drive outputs on a fixed scan cycle. It watches limit switches, proximity sensors, pressure transmitters, temperature probes and operator buttons. Based on the ladder or structured text program, it energizes valves, contactors, VFD run commands, indicator lamps and safety relays.
The PLC does not care about geometry. It cares about state: is the guard closed, is the clamp at pressure, has the index table reached position. A typical scan runs in 1–10 ms, so a sequence of 40 steps on a pallet line stays inside a 200 ms window. That repeatability is the whole point.
Where a PLC earns its keep is in cells that must fail safe and stay diagnosable. Interlocks, e-stops, two-hand controls and zone muting all live in the PLC program. When something stops, the operator sees which rung or step faulted, not a blank screen.
One limit matters early. A PLC is a poor fit for interpolating a curved contour across three axes at 8,000 mm/min. It can command a move, but it does not generate the path.
What a CNC System Actually Controls
A CNC system reads a part program and moves machine axes to cut material. The controller closes a position loop on each servo using encoder or linear scale feedback, then blends axes so the tool follows a path. Feed rates, spindle speeds, tool offsets and coolant are all part of the same program.
Accuracy lives in the machine, not the code. On a well-kept 5-axis machining center, position tolerance holds to ±0.005 mm and surface finish to Ra 0.8–1.6 μm on aluminium. No PLC can hold that on a contoured face, because the PLC never knew where the tool was between steps.
CNC also carries process knowledge a PLC does not. Tool length and diameter offsets, work coordinate systems, cutter compensation, probing routines and adaptive feed control are standard on a modern controller. Change a tool, remeasure, and the next part is correct.
The trade-off is rigidity of purpose. A CNC machine is built around one envelope and one spindle. Ask it to run a conveyor, a leak test and a laser mark in sequence and you will need external logic anyway.
Where PLC and CNC Overlap on a Shop Floor
The clean separation breaks down the moment a CNC machine joins a larger line. A gantry loader, a robot, a wash station and a gauging station all need sequencing, and that sequencing usually lives in a PLC. The PLC hands a start signal to the CNC, waits for a cycle-complete bit, then releases the next blank.
Communication between the two is modest. Digital handshake bits, a fieldbus link or an OPC UA tag set is enough for most cells. Keep the safety chain in the PLC and the toolpath in the CNC. Mixing them makes both harder to troubleshoot.
Some controllers blur the line on purpose. A CNC with a built-in PLC option can run its own pallet changer, bar feeder or tool magazine logic. That is fine for machine-level automation. It is a poor place to put plant-wide sequencing, because the logic dies with the machine.
Rule of thumb: if the logic survives when the spindle is removed, it belongs in a PLC.
Accuracy, Speed and Cycle Time in Numbers
Servo loop rates on CNC axes sit around 1–8 ms, and look-ahead blocks smooth corners before the tool reaches them. A PLC scan of 1–10 ms is in the same order of magnitude, which is why people assume the two are interchangeable. The rate is similar. The purpose is not.
A PLC closes a loop on a cylinder reaching a hard stop. A CNC closes a loop on a tool tip staying 0.02 mm inside a spline. The first needs a repeatable end state, the second needs a continuous trajectory, so the control law, feedback device and tuning are all different.
Throughput follows the same split. A PLC can index a fixture in 300 ms and hold that rhythm for a million cycles. A CNC can cut a 3D contoured pocket in 22 minutes at Ra 0.8 μm, then repeat it within tolerance on the next part. Neither number transfers to the other machine.
Programming, Skills and Maintenance
PLC work is written in ladder, function block, structured text or sequential function chart. An electrician can read ladder on a screen and trace a fault with a meter. That accessibility is why PLCs still dominate plant-floor logic after decades.
CNC work is written in G-code, usually generated from CAM. Editing a post-processor, setting tool offsets and dialing in a first article takes a different skill set from wiring a panel. A shop that owns both needs both skill sets, or a supplier who does.
Spares and support differ too. A PLC vendor may have a 10-year lifecycle on a CPU. A CNC controller is tied to its drives, motors and parameters, so a backup of parameters and a spare drive on the shelf save days when something fails.
When a Job Needs Both, and Who to Ask
Most production cells need both technologies, plus the mechanical design that joins them. A typical automotive bracket program runs roughing on a 3-axis machine, finishing on a 5-axis center with a Ø400 mm rotary table, then deburring and laser marking at Ra 1.6–3.2 μm. The cell logic, safety and part tracking sit in a PLC.
GreatLight has run this combination since 2011 across three wholly-owned plants covering 7,600 m², with 150 technicians and 127 high-precision CNC machines, including 16 simultaneous 5-axis machining centers and 16 mill-turn centers. Maximum processing size reaches 4,000 mm.
If the question behind the search is really "who machines my part", the answer is a machining supplier, not a controls vendor. Send a STEP file and a tolerance callout. A quotation and free DFM analysis come back within 12 hours, and production can start within 24 hours.
If the question is "who builds my cell", keep the PLC scope and the CNC scope separate in the RFQ. It keeps acceptance testing honest.
The Verdict
If your problem is sequence, interlock or plant logic, choose a PLC. If your problem is cutting a metal part to ±0.005 mm with a repeatable surface finish, choose CNC machining, and let a PLC handle the cell around it.
Common Questions
Can a CNC machine replace a PLC?
No, not for plant logic. A CNC controller can run its own pallet changer or bar feeder, but safety chains, zone interlocks and line sequencing need a controller that survives a spindle swap.
Use the CNC option for machine-level automation only. Keep anything that coordinates two or more machines in a PLC.
Can a PLC run a CNC machine?
It can command one. A PLC can send a cycle start, watch a cycle complete bit and read alarms over a fieldbus. What it cannot do is generate an interpolated toolpath.
If a retrofit needs real contouring, the controller is the part to replace, not the PLC.
Which one needs higher accuracy hardware?
CNC does. Position tolerance to ±0.005 mm depends on linear scales, preloaded ballscrews and thermal stability, not just the control loop.
A PLC usually needs a repeatable end state. A proximity switch with 0.5 mm hysteresis is often enough.
Do I need to know ladder logic to buy CNC parts?
No. Buying machined parts is a drawing and tolerance conversation. Send a 3D model, a 2D drawing with datum callouts and the materials list.
Control architecture only matters if you are buying the cell, not the part.
How fast can a shop quote both scopes?
For machined parts, a quotation and free DFM analysis come back within 12 hours, and production can start within 24 hours. Parts typically ship in 3–5 days.
Control panels and cell integration are quoted separately, because the scope depends on your existing safety and network standards.
What documents should I send with a machining RFQ?
A STEP or IGES model, a 2D drawing with datums and tolerance callouts, the material grade, the surface finish and the quantity. Add any inspection report format you need.
Uploads are secure and confidential, and an NDA is available on request.
Send Us the Part, Not the Control Question
Upload a STEP file and tolerance callout. A quotation and free DFM analysis come back within 12 hours, backed by 100% inspection before shipment.
12-hour quote100% inspection±0.005 mm tolerance