Manufacturing Software Tech Stack: A Layered Guide

By Codefacture••8 min read

Manufacturing Software Tech Stack: A Layered Guide

Choosing a manufacturing software tech stack is a different exercise from building office software. Data does not only come from keyboards; it arrives from machines, sensors and shop-floor terminals within seconds. The plant network follows different rules from the office network, and if the system stops, production can be affected. This guide works through the stack of a factory application layer by layer and explains which options make sense at each level.

 

Think in layers

Production tracking systems usually have five layers, and each one is chosen separately:

  • Field layer: Machines, PLCs, sensors, barcode scanners, operator terminals.
  • Connectivity layer: Protocols and gateways that read machine data and pass it on.
  • Edge layer: Devices or servers on site that collect, pre-process and buffer data when the connection drops.
  • Application and data layer: Work orders, downtime, output counts, quality records and the databases behind them.
  • Presentation layer: Operator screens, shift boards and management reports.

 

Machine connectivity: OPC UA and MQTT

The two most common standards for getting data out of machines are OPC UA and MQTT. They are not rivals; they usually complement each other.

OPC UA (IEC 62541) is a platform-independent communication standard built for industrial equipment. It carries not just values but their meaning through an information model, and authentication and encryption are part of the standard. Many modern PLCs and CNC machines can act as OPC UA servers directly.

MQTT is a lightweight publish/subscribe messaging protocol; version 3.1.1 is standardised as ISO/IEC 20922. Devices publish data to a central broker and the systems that need it subscribe. It uses little bandwidth and scales easily to many devices. In industrial use, the Eclipse Foundation's Sparkplug specification is widely used to define topic names and payload structure.

A common pattern in practice: data read from machines over OPC UA is converted into MQTT messages at an edge gateway and reaches the software through a central broker. Older machines are read through legacy protocols such as Modbus, or through simple digital signals (running, stopped, part count) wired to a gateway.

 

When the connection between the plant and the cloud or central server fails, data must not be lost. That is why the edge layer matters:

  • It collects machine data locally and buffers it until the connection returns.
  • It pre-processes raw data, for example turning second-by-second signals into downtime start and end events.
  • It separates the plant network (OT) from the office network (IT), opening only one controlled channel outwards.
  • It can keep critical screens, such as operator terminals, working while the central system is unreachable.

Industrial PCs, small servers or off-the-shelf IoT gateways can serve as the edge. The software running there should be lightweight, stable and able to run unattended for long periods.

 

Data storage: relational or time series?

Manufacturing data has two distinct characters, and most systems store both:

  • Transactional data: Work orders, bills of materials, lots, quality records and operator inputs. A relational database such as PostgreSQL or SQL Server is the natural home for it.
  • Time-series data: Continuous measurements such as temperature, pressure, speed and cycle time. Time-series databases such as TimescaleDB or InfluxDB, or time-series extensions to a relational database, handle these more efficiently.

You do not need to keep every second forever. Holding raw data for a defined period and then rolling it up into minute or hourly summaries keeps storage costs and query times under control. Our separate guide on database choice goes into this in more detail.

 

Which programming language fits where?

A factory system does not have to use a single language. Picking the right one for each layer is common:

  • C# / .NET: Often chosen in Windows-based plant environments thanks to mature OPC UA libraries and a strong industrial software ecosystem.
  • Go: A good fit for edge gateways and data collection services; it compiles to a single binary and uses few resources.
  • Rust: A strong option for edge components where memory safety and predictable performance are critical. It requires an experienced team.
  • Node.js / TypeScript: Practical for the API layer and real-time dashboards (WebSocket), sharing a language with the web front end.
  • Python: Common for data analysis, predictive maintenance models and reporting; it is rarely used alone in heavy real-time processing layers.

 

Comparing manufacturing software tech stack options

This comparison summarises the three architectures we see most often:

  • Manual entry + central server: Operators enter data at terminals; no machine connection. The fastest and cheapest start; accuracy depends on operators. Suits small workshops and a first step.
  • Basic signal capture + central server: Only core signals such as running/stopped and part count are read through gateways. Automates downtime and output tracking at a reasonable cost. A frequent choice for mid-sized plants.
  • Full connectivity (OPC UA/MQTT) + edge + time series: Rich data including process parameters. Lays the ground for quality analytics and predictive maintenance, with the highest setup and maintenance effort. Suits production where process control is critical.

For most companies, the healthiest path is to start with the first or second approach and extend to the third on critical machines. The data needed for OEE is usually available at the second level.

 

Operator screens and dashboards

  • Operator terminals need large buttons, few steps and touch-friendly design. Web-based interfaces are common because one codebase runs on tablets and industrial panel PCs.
  • Shift boards update over real-time connections such as WebSocket, with no page refresh.
  • Off-the-shelf BI tools can serve management reporting, but operator-facing screens are usually custom built.

 

OT security: the overlooked layer

Every application that connects to machines opens a door into the plant network. Core principles:

  • Separate the plant network from the office network and allow only defined connections between them.
  • Block direct internet access to machines; if remote access is needed, keep it controlled and logged.
  • Do not disable OPC UA's security modes (signing and encryption); use TLS and authentication for MQTT connections.
  • Let the software read first. The right to send commands to machines should be a separate, tightly controlled decision.
  • Using industrial security standards such as IEC 62443 as a reference simplifies both design and customer audits.

 

A step-by-step roadmap

  • 1. Define the goal: Reduce downtime, speed up work order tracking or achieve traceability? The goal decides which data you collect.
  • 2. Build a machine inventory: List each machine's make, age, controller and supported protocols. This list drives most of the connectivity cost.
  • 3. Pick a pilot line: Start with one line or a few critical machines rather than the whole plant, so technical risks and user habits surface at small scale.
  • 4. Define data flows with the ERP: Write down where each piece of data comes from and where it goes; this is where double entry and inconsistencies are prevented.
  • 5. Measure and extend: Compare pilot results with the goal, feed lessons back into the architecture, then roll out to other lines.

 

Codefacture builds production tracking and factory software for manufacturing, automotive suppliers, packaging and supply chain companies. We review your machines, network and ERP, agree the right layers and technologies with you, and set up an architecture that can start small and grow. Get in touch to discuss digitising your plant.

 

Frequently Asked Questions

What is the best manufacturing software tech stack?

There is no single right stack. A common combination is OPC UA and MQTT for machine connectivity, lightweight and stable services at the edge (Go, .NET or Rust, for example), a relational database for business data, a time-series solution for sensor data and web-based operator screens. The choice should follow your machines and your team's skills.

What is the difference between OPC UA and MQTT?

OPC UA is a communication standard for industrial equipment that carries data together with its meaning and includes security. MQTT is a lightweight publish/subscribe messaging protocol. A common approach reads data from machines over OPC UA and moves it to the centre over MQTT.

Can data be collected from older machines?

Usually, yes. Legacy protocols such as Modbus, or digital signals such as running, stopped and part count, can be read through a gateway. Machines with no electronic outputs can be fitted with simple sensors.

Should factory data be stored in the cloud or on site?

Both are possible. An edge layer on site is recommended to cope with connection outages. Long-term storage and reporting can live in the cloud, on premises or in a hybrid setup, depending on security, cost and existing infrastructure.

Can we start small with production tracking?

Yes, and that is usually the recommended route. Starting with operator inputs and basic signals from a few critical machines delivers quick results. More machines and richer data can be added as the value is proven.

Does connecting software to machines create a security risk?

It can if it is set up badly. Separating plant and office networks, using encrypted connections, blocking direct internet access to machines and giving the software read-only rights by default reduce the risk considerably.

How does production tracking software work with an ERP?

The ERP typically manages work orders, bills of materials and stock. The production tracking system takes the work order from the ERP, captures actual output, scrap, downtime and times on the shop floor, and sends the results back to the ERP.

Manufacturing SoftwareOPC UAMQTTIndustry 4.0Factory Automation

Share this article

Similar Blogs

No similar posts found.

Contact Us

You can reach out to us via this form

© 2024-2026 Codefacture Yazılım A.Ş.All Rights Reserved
Get a Quote

We reply the same working day