Skip to main content

IoT Integration on the Factory Floor: Sensors, Protocols, and ERP Connectivity

Implement IoT on the factory floor with sensor selection, MQTT/OPC-UA protocols, edge computing, and ERP integration for real-time manufacturing intelligence.

E
ECOSIRE Research and Development Team
|March 16, 202611 min read2.0k Words|

A manufacturing plant running 100 machines 16 hours per day generates approximately 200 GB of raw sensor data daily. Most of that data is noise -- normal operating readings confirming that equipment is working as expected.

Part of our Manufacturing in the AI Era series

Read the complete guide

A manufacturing plant running 100 machines 16 hours per day generates approximately 200 GB of raw sensor data daily. Most of that data is noise -- normal operating readings confirming that equipment is working as expected. The value lives in the 0.1% of readings that indicate something is changing: a bearing beginning to degrade, a process drifting toward the control limit, a tool approaching end of life.

The challenge of factory floor IoT is not collecting data. Modern sensors are inexpensive, reliable, and easy to install. The challenge is transforming raw sensor data into business actions -- maintenance work orders, quality holds, production schedule adjustments, and purchasing triggers -- within timeframes that matter. An alert that a motor is overheating is only useful if it arrives before the motor fails, and if the alert triggers a response in a system where someone is watching.

This article is part of our Industry 4.0 Implementation series. For a comprehensive sensor and network architecture guide, see Smart Factory Architecture.

Key Takeaways

  • Sensor selection based on failure modes (not machine types) eliminates the most common IoT deployment mistake -- monitoring what is easy to measure rather than what matters
  • MQTT has become the de facto standard for manufacturing IoT due to its lightweight publish-subscribe model that handles thousands of sensors without polling overhead
  • Edge computing processes 80-90% of data locally, reducing cloud costs and enabling sub-millisecond response times for safety and quality applications
  • The integration layer between IoT platform and ERP determines whether sensor data drives business action or just populates dashboards nobody checks

Sensor Strategy: Monitor What Matters

Failure Mode to Sensor Mapping

The right approach is to start with failure modes, not equipment lists:

Failure ModePhysical IndicatorSensor TypeSensitivityCost per Point
Bearing degradationVibration signature changeMEMS accelerometer (3-axis)Detects 6-12 weeks before failure$150-300
Motor winding failureCurrent draw pattern changeSplit-core current transformerDetects 2-4 weeks before failure$75-150
OverheatingTemperature rise above baselineRTD or thermocoupleImmediate detection$50-200
Hydraulic leakPressure drop, flow changePressure transducerMinutes to hours$100-350
Tool wearCutting force increase, vibration changeDynamometer or accelerometerGradual detection over tool life$200-500
Belt/chain wearVibration frequency shiftAccelerometerWeeks before failure$150-300
Air leak (pneumatic)Pressure drop, flow increase, ultrasonic emissionUltrasonic detector, flow meterMinutes$200-400
Lubrication degradationTemperature rise, vibration increaseRTD + accelerometer combinationDays to weeks$200-400

Sensor Density Guidelines

Manufacturing TypeSensors per MachineData Rate per MachineStorage per Machine/Day
CNC machining6-101-10 kHz per sensor500 MB - 5 GB
Injection molding8-15100 Hz - 1 kHz200 MB - 2 GB
Assembly stations3-610-100 Hz50 MB - 500 MB
Packaging lines4-810-100 Hz100 MB - 1 GB
Process (chemical, food)10-200.1-10 Hz50 MB - 500 MB
Utility systems (HVAC, compressed air)8-15 per system0.1-1 Hz10 MB - 100 MB

Communication Protocols

Protocol Comparison for Manufacturing IoT

ProtocolArchitectureLatencyThroughputSecurityBest For
MQTTPub/sub, broker-based<10msHigh (thousands of topics)TLS, username/password, ACLsSensor telemetry, alerts
OPC-UAClient/server or pub/sub<50msMedium-HighBuilt-in security modelPLC/SCADA integration
Modbus TCPClient/server, polling10-100msLow-MediumNone (add VPN)Legacy equipment retrofit
HTTP RESTRequest/response50-500msLow (polling overhead)TLS, API keysERP integration, dashboards
AMQPMessage queue<50msHighTLS, SASLEnterprise messaging
CoAPRequest/response (UDP)<10msLowDTLSConstrained devices

MQTT Architecture for Manufacturing

MQTT has emerged as the standard protocol for manufacturing IoT because of three properties:

  1. Publish-subscribe model: Sensors publish data to topics. Consumers subscribe to topics they need. No polling, no wasted bandwidth.
  2. Quality of Service levels: QoS 0 (at most once) for high-frequency sensor data where occasional loss is acceptable. QoS 1 (at least once) for alerts. QoS 2 (exactly once) for critical commands.
  3. Lightweight footprint: A single MQTT broker can handle 100,000+ concurrent connections on modest hardware.

Topic hierarchy example:

  • factory/line-1/cnc-001/vibration/x-axis
  • factory/line-1/cnc-001/temperature/spindle
  • factory/line-1/cnc-001/status/running
  • factory/line-1/cnc-001/alert/threshold-exceeded

Edge Computing Architecture

Three-Tier Processing Model

TierLocationProcessing TimeData RetentionFunction
Edge (device)At the machine<1msHoursSafety interlocks, threshold alerts, data filtering
Fog (local server)On the factory floor1-100msDays to weeksAggregation, pattern detection, local dashboards
Cloud/ERPData center or cloud100ms-secondsMonths to yearsBusiness analytics, ML training, cross-site analysis

What to Process Where

Processing TaskEdgeFogCloud/ERP
Safety interlocks (emergency stop)YesNoNo
Threshold monitoring (temperature, pressure)YesBackupAlert forwarding
Data filtering (remove noise, compress)YesNoNo
Aggregation (hourly averages, min/max)NoYesBackup
OEE calculationNoYesHistorical trending
Predictive maintenance ML inferenceNoYes (trained models)Model training
Quality SPCNoYesCp/Cpk trending
Production scheduling impactNoNoYes
Purchasing triggersNoNoYes
Financial reportingNoNoYes

ERP Integration Patterns

The integration between IoT platform and ERP is where factory floor data becomes business intelligence:

Pattern 1: Event-Driven Integration

IoT platform publishes events. ERP subscribes and creates business objects.

IoT EventERP ActionLatency Requirement
Machine stopped (unplanned)Create maintenance request<1 minute
Temperature excursionCreate quality hold on in-process batch<5 minutes
Tool life reachedCreate purchase requisition for replacement<1 hour
Cycle count mismatchCreate inventory adjustment request<1 hour
OEE below thresholdFlag production order for review<15 minutes
Vibration anomaly detectedSchedule predictive maintenance inspection<4 hours

Pattern 2: Batch Data Sync

Aggregated data transferred to ERP on a schedule for reporting and planning:

Data TypeSync FrequencyERP Use
Shift production countsEnd of shiftOEE reporting, schedule compliance
Energy consumption per machineHourlyCost allocation, sustainability reporting
Quality measurement dataPer batch/lotSPC trending, process capability
Machine utilization summaryDailyCapacity planning, maintenance planning
Environmental monitoring averagesHourlyCompliance documentation

Pattern 3: Bidirectional Integration

ERP sends instructions to the factory floor:

ERP TriggerIoT/Machine Action
New manufacturing order releasedDownload work order to machine terminal
Recipe/parameter change (ECN)Update machine setpoints
Quality holdDisplay hold notice at workstation, prevent material movement
Maintenance scheduledDisplay upcoming maintenance at machine dashboard
Rush order prioritizationUpdate production sequence on line display

Odoo's REST API enables all three integration patterns. For manufacturing-specific IoT integration with Odoo, contact ECOSIRE.


Network Infrastructure Requirements

Industrial Network Design

RequirementSpecificationRationale
Bandwidth100 Mbps backbone, 10 Mbps per cellHigh-frequency sensor data from multiple machines
Latency<10ms within cell, <50ms to serverEdge processing and safety applications
Reliability99.99% uptime (8.6 minutes downtime/year)Sensor gaps create blind spots
SegmentationSeparate OT and IT VLANsSecurity (prevent IT attacks reaching OT)
RedundancyRing topology or dual uplinksNo single point of failure
WirelessWi-Fi 6 or 5G private networkMobile equipment, AGVs, handheld devices
EnvironmentIndustrial switches (IP67, -40C to 75C)Dust, vibration, temperature extremes

Cybersecurity for OT Networks

ControlImplementationStandard Reference
Network segmentationDMZ between IT and OT, firewall rulesIEC 62443, NIST 800-82
Access controlRole-based access to IoT platforms and devicesIEC 62443-3-3
EncryptionTLS for MQTT, VPN for remote accessIEC 62443-4-2
MonitoringOT network traffic analysis, anomaly detectionNIST CSF
PatchingScheduled firmware updates during maintenance windowsIEC 62443-2-3
Incident responseOT-specific incident response planNIST 800-82

ROI of Factory Floor IoT

Investment CategoryCost (100-machine facility)
Sensors and installation$200K-400K
Edge computing hardware$50K-100K
Network infrastructure$75K-150K
IoT platform (software)$50K-100K/year
ERP integration$75K-150K
Total Year 1$450K-900K
BenefitAnnual ValueConfidence
Unplanned downtime reduction (30-50%)$300K-800KHigh
Energy optimization (10-15%)$100K-300KMedium
Quality improvement (first pass yield)$200K-500KMedium-High
Maintenance optimization$150K-400KHigh
Throughput improvement$200K-600KMedium
Total Annual Benefit$950K-2.6M

Payback period: 6-14 months.


Getting Started

  1. Identify your top 5 failure modes: What unplanned events cost you the most? Match sensors to those specific failure modes.

  2. Start with one production cell: Deploy 20-50 sensors on a single cell. Prove value before scaling.

  3. Choose MQTT: Unless you have specific OPC-UA requirements, MQTT provides the simplest path to scalable IoT deployment.

  4. Integrate with ERP immediately: Do not build dashboards first. Connect IoT events to ERP actions (maintenance requests, quality holds) from day one.

  5. Build your integration with Odoo: ECOSIRE builds IoT-to-ERP integration pipelines that transform sensor data into maintenance work orders, quality holds, and production intelligence.

See also: Industry 4.0 Implementation Guide | Smart Factory Architecture | Predictive Maintenance Implementation


How many sensors does a typical factory need?

Sensor count depends on manufacturing type and monitoring objectives. A rule of thumb is 5-15 sensors per critical machine. A 100-machine factory typically deploys 500-1,500 sensors in the initial phase, expanding to 2,000-5,000 as use cases prove out. Start with the machines that have the highest unplanned downtime cost and expand based on demonstrated value.

Can existing legacy machines be retrofitted with IoT sensors?

Yes. Retrofit sensors (clamp-on vibration, non-contact temperature, split-core current) can be installed on virtually any machine without modification. For machines with PLC controls, OPC-UA or Modbus gateways can extract existing control data without touching the PLC program. Retrofit IoT is one of the fastest-ROI investments because it extends the useful life of existing equipment while providing modern monitoring capabilities.

What is the difference between MQTT and OPC-UA for manufacturing?

MQTT is a lightweight messaging protocol ideal for sensor telemetry -- high volume, low overhead, simple to implement. OPC-UA is a more comprehensive protocol designed specifically for industrial automation with built-in data modeling, security, and discovery. In practice, many factories use both: MQTT for sensor-to-edge communication and OPC-UA for PLC/SCADA-to-platform communication. They complement rather than compete.

E

Written by

ECOSIRE Team

Technical Writing

The ECOSIRE technical writing team covers Odoo ERP, Shopify eCommerce, AI agents, Power BI analytics, GoHighLevel automation, and enterprise software best practices. Our guides help businesses make informed technology decisions.

ECOSIRE

Transform Your Business with Odoo ERP

Expert Odoo implementation, customization, and support to streamline your operations.