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

Get Instant Quote

5G Smart Factory Integration

How to Apply Standard Digital Bridges and CNC Digital Bridges in 5G Smart Factories

This guide is for automation, controls, and manufacturing engineers who need to connect machining equipment to an MES or cloud layer over a private 5G network. You will learn what a standard digital bridge and a CNC digital bridge each handle, how to sequence the rollout, and where the data models usually break.

OPC UA and MQTT mappingEdge-to-MES data flow5G private networkClosed-loop machining
CNC digital bridges connecting a 5G smart factory machining cell
Key takeaways

Key takeaways

Two layers, not oneStandard digital bridges move plant-wide data; CNC digital bridges handle machine-level signals and NC programs.
Map tags before you wire anythingA tag list with address, type, and update rate prevents most rework later.
5G replaces the cable, not the protocolOPC UA and MQTT still sit on top of the radio link.
Latency budget decides the splitClosed-loop control stays on the edge; analytics can go to the cloud.
Start with one cellProve the data path on a single machining center before plant-wide rollout.
Scope

What a standard digital bridge actually does

A standard digital bridge is the middleware layer that lets equipment from different vendors appear as one data source. It sits between the shop floor and the MES or cloud, and it speaks the protocols that both sides already understand. In most plants that means OPC UA for structured, session-based reads, MQTT for lightweight publish and subscribe, and REST endpoints for systems that cannot do either.

The bridge does not create data. It normalizes it. A spindle load from one machine arrives as a 16-bit register; from another it arrives as a structured OPC UA node. The bridge maps both to the same field name, unit, and timestamp format so the receiving system does not need vendor-specific code.

That normalization is where the engineering effort lives. Expect 60 to 70 percent of the project time to go into tag mapping, unit conversion, and timestamp alignment, not into network configuration. Teams that budget for cabling and radios but not for data modeling usually stall at the pilot stage.

  • 1
    Read pathMachine to edge gateway to broker to MES or historian.
  • 2
    Write pathMES to gateway to machine, used for setpoints and work orders.
  • 3
    Time baseOne clock source, or timestamps will not line up across cells.
Machine level

Where CNC digital bridges differ

CNC digital bridges operate one level lower. They connect the CNC control, the PLC, and the tool or fixture subsystems inside a single machine or cell. The data here is faster and more specific: axis positions, spindle speed and load, program number, tool offset, alarm codes, and cycle state.

The update rate is the main difference. A plant-level bridge might sample every 5 to 60 seconds. A CNC digital bridge often needs 100 ms or faster to be useful for process monitoring, and 10 ms or faster if you intend to influence the cut. That rate is what forces the 5G and edge design.

Not every machine can be bridged equally. Controls with an open OPC UA server, FOCAS, or a documented MTConnect agent are straightforward. Older controls without an Ethernet option may need a hardware adapter on the I/O or fieldbus side, which limits you to signals the PLC already exposes.

  • 1
    Open controlDirect OPC UA or MTConnect, full tag access.
  • 2
    Closed controlPLC or I/O tapping only, limited to exposed signals.
  • 3
    Check firstConfirm the control option before quoting the bridge.
Network

Why 5G changes the layout, not the stack

A private 5G network removes the cable run to each machine. That matters in cells that get reconfigured, and it matters for moving assets like AGVs and collaborative robots. It does not change the protocol layer. You still run OPC UA and MQTT over IP.

The practical gain is deterministic latency with mobility. A private network can hold round-trip latency in the low tens of milliseconds with jitter low enough for monitoring and supervisory control. It is not a replacement for a hardwired safety circuit, and it should not be used for safety functions.

Plan the radio coverage around metal. Machine enclosures, chip conveyors, and stock racks all attenuate signal. A coverage survey with the machines running is worth more than a floor plan estimate. If a cell shows packet loss above roughly 0.1 percent, fix the radio layout before adding more data points.

  • 1
    Keep on edgeClosed-loop control and safety interlocks.
  • 2
    Send to plantOEE, tool life, alarm history, quality records.
  • 3
    Send to cloudCross-plant analytics and long-term trend models.
Data model

Designing the tag and data model

Build the tag list before the network. For every signal, record the source address, data type, engineering unit, expected range, update rate, and who consumes it. A tag list of 200 to 400 points per machining center is typical for process monitoring.

Use a flat namespace with a clear prefix. Something like Cell03.Mill02.SpindleLoad makes queries simple and survives equipment moves. Deep hierarchies look tidy in a demo and become painful when a machine is relocated.

Decide the timestamp policy early. Whether the timestamp is generated at the control, the gateway, or the broker changes how you diagnose gaps. Pick one and document it. Mixed sources produce data that looks correct in a chart and is wrong in a calculation.

  • 1
    NamingCell, machine, signal. No vendor names in the path.
  • 2
    UnitsStore SI, convert at the display layer.
  • 3
    Quality flagCarry a good or bad bit with every value.
Closed loop

Closing the loop on machining data

Once the read path is stable, the write path becomes useful. Tool offsets can be pushed from a tool management system back to the control. Program numbers can be selected by the MES based on the work order. Alarm codes can trigger an automated maintenance ticket.

Keep the first write actions supervisory. Adjusting a feed override or selecting a program is low risk and easy to reverse. Direct axis command or adaptive feed control should wait until you have months of clean data and a validated model.

Write actions need a confirmation path. If the MES sends an offset change, the bridge should read the value back and log the result. Without that readback, you cannot tell a successful write from a silent failure.

  • 1
    Start withProgram select and tool offset readback.
  • 2
    Then addFeed override limits and alarm routing.
  • 3
    Leave lastAdaptive control tied to in-process measurement.
Rollout

Step by step: from survey to closed loop

Follow the order. Skipping the survey or the tag list is the most common reason a pilot stalls.

  • 1
    1. Inventory the controlsList every machine by control model, firmware version, and available communication options. Note which ones have an Ethernet port and which need an adapter. This list sets the project scope and the budget.
  • 2
    2. Run a radio coverage surveySurvey with machines running and enclosures closed. Target packet loss under 0.1 percent and jitter under 10 ms at each machine location. Move or add access points before proceeding.
  • 3
    3. Build the tag listFor each signal, record address, data type, unit, range, update rate, and consumer. Expect 200 to 400 points per machining center. Freeze the list before configuration starts.
  • 4
    4. Deploy the edge gatewayInstall one gateway per cell. Configure OPC UA or FOCAS reads at 100 ms for process signals and 1 s for status signals. Buffer locally for at least 24 hours so a network drop does not create a data gap.
  • 5
    5. Stand up the broker and MES mappingPublish to MQTT with QoS 1 for process data. Map topics to MES fields and verify units and timestamps against a known-good manual reading.
  • 6
    6. Validate with a known partRun a part with a recorded cycle and compare bridge data to the machine's own logs. Discrepancies above 1 percent in cycle time or spindle load usually mean a sampling or timestamp issue.
  • 7
    7. Add supervisory write actionsEnable program select and tool offset readback first. Log every write with before and after values. Roll back any action that cannot be confirmed.
  • 8
    8. Scale cell by cellRepeat steps 4 through 6 for each cell. Reuse the tag naming and timestamp policy. Do not customize per cell unless the control forces it.
Choosing the layer

Standard digital bridge vs CNC digital bridge

Use both. The question is which data belongs at which layer.

AspectStandard digital bridgeCNC digital bridge
ScopePlant-wide, multi-vendorSingle machine or cell
Typical update rate5–60 s10–100 ms
Main protocolsOPC UA, MQTT, RESTOPC UA, FOCAS, MTConnect
Primary dataOEE, work orders, quality recordsAxis, spindle, tool, alarm codes
Where it runsEdge server or plant networkCell gateway or control PC
Write actionsWork order and routing changesProgram select, tool offset, override
Failure impactReporting gapsMachining interruption
Typical effortData modeling heavyControl integration heavy
FAQs

Frequently asked questions

Can we run CNC digital bridges on Wi-Fi instead of 5G?

For status and reporting data at 1 s or slower, Wi-Fi usually works. For 100 ms process signals across many machines, jitter and handover behavior become unpredictable.

If you need closed-loop or near-real-time monitoring, a private 5G network or a wired link is the safer choice.

Do we need to replace older CNC controls?

Not always. If the control exposes signals through a PLC or fieldbus, a hardware adapter can read those without touching the control firmware.

What you lose is depth. You get the signals the PLC already publishes, not internal control data like servo current or block-level execution.

How many data points should we start with?

Start with 20 to 40 points per machine: cycle state, program number, spindle speed, spindle load, feed rate, alarm code, and part count.

Expand once the read path is stable for a few weeks. Adding points to an unstable path just makes the failure harder to diagnose.

Where should the edge gateway sit?

One gateway per cell, mounted inside the cell enclosure, is the usual layout. It keeps cable runs short and limits the blast radius of a single failure.

Avoid putting the gateway in a cabinet without thermal management. Machining cells run hot and dusty.

How do we handle time synchronization?

Use NTP or PTP from a single source across controls, gateways, and the broker. Drift between machines shows up as false correlations in analysis.

Check offset weekly. A few hundred milliseconds of drift is enough to misalign a spindle load event with the alarm it caused.

What is the biggest cause of failed pilots?

Underestimated data modeling. Teams finish the network and then discover that the same signal has three names, two units, and no consistent timestamp.

Fix the tag list and the timestamp policy before the first machine is connected.

Send us your drawings and data requirements

We machine the parts and the fixture hardware that these cells depend on, from one prototype to 10,000+ part runs, with 100% inspection before shipment and reports on request.

Quotation and free DFM analysis within 12 hoursNo minimum order quantityNDA available on request

Follow GreatLight

More machining and integration notes

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