GreatLight CNC Machining Factory logo
CNC Machining
Rapid Prototyping
Materials
Industries
News
About GL

Get Instant Quote

Shop-floor integration guide

How to Connect CNC Machine to Power, Air and Network

This guide walks through the physical and digital connection of a vertical machining center or lathe, from the breaker to the DNC folder. It is written for plant engineers and maintenance leads who have to sign off on the install. By the end you will know the order of work, the tolerances that matter, and where most first-week faults come from.

3-phase 380-480 VIsolated earth < 4 ohmDNC over FTP or SMBFirst-article check
how to connect cnc machine
Quick answer

Key takeaways

Power first, logic lastLand the 3-phase feed, measure it, then switch on the control. Never power the control on a loose or shared neutral.
One earth, no loopsRun a dedicated copper earth back to the panel. Bonding the machine to a nearby conduit creates a ground loop that shows up as random servo alarms.
Air before motionSet the regulator to the machine label, usually 0.5-0.7 MPa, and dry the line. Wet air kills tool-change solenoids within weeks.
Network is part of the installGive the control a fixed IP on the machine VLAN. DHCP leases that expire mid-cut are a common cause of dropped programs.
Prove it with a test partCut one soft-metal part and check dimensions before releasing the machine to production.
Scope

What you are actually connecting

A machining center is not one load. It is four separate systems that share a cabinet: the spindle and axis drives, the control and its logic board, the pneumatic or hydraulic circuit, and the data link to your shop network. Each one has its own supply, its own failure mode, and its own commissioning order.

Get the order wrong and you pay for it later. Powering the control before the drives are phased correctly can trip the breaker on first start. Connecting the network before the machine is mechanically leveled means you will re-run cables after the leveling shims move.

The sequence that works on the floor is: site and foundation, then power, then earth, then air and coolant, then leveling and alignment, then the network and DNC link, and finally a prove-out cut. This page follows that order.

If you are integrating one machine into an existing cell, treat the new machine as its own island first. Bring it up standalone, cut a test part, and only then add it to the cell network and the MES queue.

Site prep

Site, foundation and environment checks

Check the floor before the truck arrives. A vertical machining center in the 3-6 tonne class needs a reinforced slab, typically 150-250 mm of concrete with a compressive strength above 20 MPa. Thin or cracked slabs let the machine settle unevenly in the first months.

Keep the machine away from vibration sources. A press, a grinder, or a forklift route within 5 m will show up as poor surface finish on finishing passes. If the machine cuts at Ra 0.8-1.6 um, vibration isolation pads under the leveling feet are cheap insurance.

Temperature and humidity matter more than most shops admit. The controller cabinet and the ballscrews both move with heat. Holding the room within 20-26 C and below 70% RH keeps thermal drift predictable. Direct sunlight on the cabinet is a real problem in summer.

Leave service clearance. You need at least 800 mm behind the machine for the cabinet door swing and 1,000 mm in front for the operator and a chip bin. Cramped installs get skipped maintenance.

Power

Power feed, phasing and earth

Match the machine nameplate before you pull cable. Small lathes and mills run on 200-240 V 3-phase, larger machining centers on 380-480 V 3-phase. Voltage tolerance is usually plus or minus 10%. Outside that band, the spindle drive will fault under acceleration.

Size the breaker to the machine's rated input current, not to the cable you happen to have. A machine rated at 40 A continuous wants a 50-63 A breaker and cable sized for that current with a voltage drop under 3% at full load.

Phase rotation is not optional. Confirm clockwise rotation on the coolant pump or hydraulic unit before running any axis. Reversed phases on a coolant pump still pump, badly, and reversed spindle direction will scrap the first part.

Earth is the part most shops get wrong. Run a dedicated copper conductor from the machine's PE terminal back to the distribution panel, with a resistance to earth under 4 ohm. Do not bond the machine frame to a nearby conduit or to the building steel as your only earth path.

Air and fluid

Air, coolant and hydraulic connections

Pneumatics drive the tool changer, the chuck or vise, and the air-blast. Set the regulator to the value on the machine label, commonly 0.5-0.7 MPa, and confirm it holds with the tool changer cycling. A 0.05 MPa sag during tool change is enough to drop a tool.

Install a filter-regulator-lubricator unit at the machine, not back at the compressor. Dry the line. Condensate reaching the solenoid manifold causes sticking valves and, over a few months, corroded internal passages. An auto-drain bowl is worth the cost.

Coolant needs a clean fill and the correct concentration. Mix water-soluble coolant at the ratio the supplier specifies, usually 5-10%, and check it with a refractometer. Too lean and you get rust and tool wear. Too rich and you get foam and skin irritation.

If the machine has hydraulics for a chuck, tailstock or pallet changer, check the oil level and the pressure setting before the first cycle. Run the unit through ten full strokes with no load and watch for pressure decay.

Leveling

Leveling, alignment and geometry

Leveling is a machining operation, not a formality. Use a precision level of 0.02 mm/m or better, and work the leveling bolts one at a time, re-checking after each adjustment. Chasing all four at once makes the machine walk.

For a machining center, level in both X and Y to within 0.02 mm/m. For a lathe, level along the bed and check for twist across the bed width. Twist is what produces taper on long turning work, and it will not show up in a short test cut.

After leveling, check squareness between axes and confirm the spindle is perpendicular to the table within the machine builder's spec. If the machine has been in storage or on a long sea freight, re-check after 48 hours of settling before signing off.

Record the level readings with a date and the ambient temperature. That record is what you compare against in six months if the machine starts cutting out of tolerance.

Data link

Network, DNC and protocol setup

Give the control a fixed IP address on a machine VLAN. Note the address, subnet mask, gateway and the control's MAC address in the machine log. DHCP on a machine tool is a trap, because a lease change mid-shift breaks the program transfer.

Choose the transfer method the control actually supports. Older Fanuc and Mitsubishi controls often use FTP or a proprietary link such as FOCAS, while newer controls handle SMB shares natively. Confirm which one your control firmware supports before you build the server side.

For a DNC server, use a dedicated workstation or a small industrial PC. Store programs in per-machine folders with a revision number in the file name. Set the controller's shared path or FTP directory to that folder and test a push and a pull in both directions.

Set up access control. A read-only account for operators and a separate account for the programmer who edits programs prevents the classic problem of a program being edited at the machine and never saved back to the server.

Sequence

Step-by-step connection procedure

  • 1
    1. Verify the site and record conditionsCheck slab thickness, ambient temperature and humidity. Record the readings. Confirm the machine footprint plus 800 mm rear and 1,000 mm front clearance is clear of traffic.
  • 2
    2. Lock out and land the power feedWith the panel breaker locked off, land the 3-phase conductors and the dedicated earth. Torque the lugs to the panel schedule. Leave the machine disconnect in the OFF position.
  • 3
    3. Measure and confirm phasesEnergize the feed and measure line-to-line voltage at the machine disconnect. Confirm it sits within plus or minus 10% of the nameplate value and that phase rotation is correct.
  • 4
    4. Connect air, coolant and hydraulicsFit the filter-regulator at the machine inlet. Set pressure to 0.5-0.7 MPa. Fill coolant to the specified mix ratio and check hydraulic oil level and pressure.
  • 5
    5. Level the machineUse a 0.02 mm/m precision level. Bring X and Y within 0.02 mm/m, re-checking after each bolt adjustment. On a lathe, check bed twist across the width.
  • 6
    6. Power the control and set parametersSwitch on in the order the builder specifies, usually main breaker, then control, then drives. Confirm no alarms, then check backlash, reference return and tool-change positions.
  • 7
    7. Join the network and test DNCSet the fixed IP, subnet and gateway. Configure the FTP or SMB path to the DNC folder. Push a program to the control, pull it back, and compare the file hash.
  • 8
    8. Cut a prove-out partMachine one soft-metal test part from a known program. Check critical dimensions against the drawing before releasing the machine to production.
Judgment

Connection checklist by system

SystemTarget value or settingHow to verifyCommon mistake
Power feedWithin 10% of nameplateMeasure at machine disconnectBreaker sized to spare cable
Phase rotationClockwise on pumpRotation meter or pump testSkipped on small lathes
EarthUnder 4 ohm to panelEarth resistance testerBonded to nearby conduit
Air supply0.5-0.7 MPa, dryGauge plus drain checkFilter left at compressor
Coolant mix5-10% water-solubleRefractometer readingTopped up with water only
Level0.02 mm/m in X and YPrecision level, 0.02 mm/mAll four bolts at once
NetworkFixed IP on machine VLANPing from DNC serverLeft on DHCP
DNC pathPer-machine folderPush and pull testOne shared folder for all

The order is what saves you time

Power, earth, air, level, network, prove-out. Do those six things in that order and most first-week faults never happen.

FAQs

Questions engineers ask before the install

Can I run a CNC machine from a standard wall socket?

No. A machining center or CNC lathe draws 3-phase power, typically 200-240 V or 380-480 V depending on the model. A single-phase socket cannot carry the spindle and axis load, and the control will fault under acceleration.

The feed must come from a dedicated breaker sized to the machine's rated input current. Sharing a circuit with welders, compressors or other machines introduces voltage sag that shows up as drive alarms.

Do I need a separate earth rod for the machine?

Usually not a separate rod. What you need is a dedicated copper conductor from the machine's PE terminal back to the distribution panel earth bar, with a measured resistance to earth under 4 ohm.

A local rod can help on a large building with long cable runs, but it must still be bonded to the building earth system. Two unbonded earth points create a potential difference that damages control boards.

What is the difference between DNC and just copying files with a USB stick?

A USB stick works for a one-off program, but it gives you no version control and no record of what is running on the machine. Operators edit at the machine, the edited file never goes back to the server, and the next run uses stale code.

DNC keeps the master program on a server. The machine pulls the current revision, the programmer controls who can write, and every transfer is logged. On a shop running more than a few machines, that difference matters.

How long should I wait after moving the machine before leveling it?

Level it as soon as it is on its pads, then re-check after 24-48 hours. Concrete and the machine base both relax after a move, especially after sea freight.

Re-check again after the first week of cutting. If the readings move, re-level and record the new values in the machine log.

Which alarms point to a connection problem rather than a mechanical fault?

Overvoltage or undervoltage alarms, ground-fault trips, and intermittent servo or encoder faults usually point at the power feed or earth. Spindle overload on light cuts often points at low supply voltage.

Air-related faults are easier to spot: tool changer failing to clamp, chuck not releasing, or low-pressure alarms at the start of a cycle.

Can GreatLight help with integration on a new machine?

We build and qualify parts on 127 CNC machines across three plants, including 16 simultaneous 5-axis centers, so we see integration problems from the production side. If you need a supplier who can quote from a drawing and hold plus or minus 0.005 mm, send the files.

We return a quotation and a free DFM analysis within 12 hours and can start production within 24 hours. Uploads are kept confidential and an NDA is available on request.

Send a drawing, get a quote in 12 hours

Upload your STEP files and we will return a quotation plus a free DFM analysis within 12 hours. Production can start within 24 hours.

12-hour quoteNo minimum order100% inspectionNDA on request

Follow

More from the shop floor

We publish setup notes, tooling trials and inspection data from the factory floor.

FacebookTikTokYouTubeLinkedInInstagramThreadsPinterest

Trusted by engineers and manufacturers worldwide

Tesla Ford Motor Company BYD Auto Denso Magna International Boeing Airbus Medtronic KUKA FANUC