Optimization Guide

IIoT for Job Shops: Getting Data Out of Legacy Machines

By Manjunath S Tuppad, Industrial Automation Expert |

MST Automation's direct answer: You don't need to buy brand new CNCs to join Industry 4.0. By wiring a low-cost IIoT edge gateway (or simple micro-PLC) directly to a legacy machine's physical relay outputs (like the "Cycle Start" light or "Alarm" buzzer), you can push real-time machine uptime, part counts, and OEE data to a dashboard on your phone.

The "Black Box" Problem

In many SME machine shops, the owner has no idea if the night shift was actually turning chips or just standing around talking. The only measurement of productivity is walking out to the shipping dock in the morning to count parts in a bin. Legacy machines (pre-2010s) lack Ethernet ports and protocols like MTConnect or OPC-UA to transmit data.

The Hardware Hack: Tapping into the Relays

Instead of trying to speak digital code to an ancient Fanuc OT controller, automation engineers performing a CNC retrofit use "discrete" electrical tapping. We install a small IIoT gateway device inside the electrical cabinet. We run physical wires from this device to key signal points:

  • Spindle Load Meter: If the spindle is drawing heavy amps, the machine is cutting metal (creating value).
  • Stack Light (Green/Red): If the green light relay is pulled in, the machine is in cycle. If the red light relay triggers, the machine is faulted.
  • M-Code Relays: We can intercept the M30 (End of Program) signal to accurately count every completed cycle.

Turning Voltage into Visuals

The IIoT gateway takes these simple 24V on/off signals and bridges them to your factory Wi-Fi, sending the data via MQTT to a cloud server or local PC. Suddenly, you have a beautiful dashboard on your management TV displaying Spindle Utilization % across your entire, aging fleet.

When owners realize that their "busy" shop only has an actual spindle utilization time of 35%, it fundamentally changes how they price jobs and manage operators.

Bring Your Machines Online