DEV Community

Cover image for Non-Invasive Hardware Retrofit for Legacy CNC Machines & Screw Compressors (MAM-860): Calculating OEE
Thảo Đinh
Thảo Đinh

Posted on Edited on

Non-Invasive Hardware Retrofit for Legacy CNC Machines & Screw Compressors (MAM-860): Calculating OEE

Technical Summary & Key Specifications for Manufacturing Execution (MES) & Automation Engineers:

  • The #1 Bottleneck in Factory Digitization (OEE / MES / EMS): Over 70% of shop-floor machines (legacy Fanuc/Mitsubishi CNCs, mechanical stamping presses, injection molding machines) have locked PLC passwords or no Ethernet/OPC UA ports, and plant maintenance teams strictly forbid modifying internal PLC ladder logic.
  • The Non-Invasive Hardware Retrofit Approach: Combining split-core current transformers (CTs) on spindle/main power leads with 2.5kV optically isolated digital inputs (DL-M400, DL-P300) and hidden RS485 Modbus ports on screw compressor controllers (MAM-860/880) captures 100% accurate Machine State, Cycle Time, Part Count, and kWh/part in 30 minutes per machine with zero PLC downtime.

When software teams set out to deploy an Overall Equipment Effectiveness (OEE) or Factory Energy Management System (EMS), the biggest roadblock is rarely the cloud dashboard. It is the reality of the factory floor: a mixed fleet of 50+ CNC lathes, stamping presses, injection molders, and air compressors built between 2004 and 2024.

Schematics are missing, PLC passwords are locked by OEM vendors, and the Maintenance Manager lays down one non-negotiable rule: "Install whatever sensors you want, but do not cut a single control wire or touch the PLC program."

Legacy CNC Milling Machines Requiring Non-Invasive OEE Hardware Retrofit
Figure 1: Legacy CRT-era CNC machines with no Ethernet or OPC UA interface, retrofitted using non-invasive current and optical I/O modules

At DeviceLab, we engineered a dedicated IoT hardware retrofit solution for industrial machinery specifically for this scenario. Here is how to extract deterministic OEE and energy telemetry from legacy machines in under 30 minutes per cabinet.


1. Retrofitting Legacy CNCs, Stamping Presses & Injection Molding Machines (DL-M400)

To calculate real-time OEE (Availability × Performance × Quality) without PLC access, you only need four physical signals tapped non-invasively inside the electrical cabinet:

[Legacy CNC / Injection Molding Electrical Cabinet]
   ├── 1. Main & Spindle Power Phase Wire ──► Clamp Split-Core CT (No wire cutting) ──┐
   ├── 2. 3-Color Tower Light (R/Y/G 24V) ──► Parallel Tap via 2.5kV Opto-Isolator  ├──► [DL-M400 Machine Retrofit IoT Module]
   └── 3. Chuck Clamp / Mold Close Relay  ──► Hardware-Debounced Cycle Counter      ──┘              │
                                                                                                     ▼ (RS485 / 4G / Wi-Fi / LAN)
                                                                                         [MES / OEE & Energy Dashboard]
Enter fullscreen mode Exit fullscreen mode

3-Color Tower Light and Mold Cycle Tapping on Injection Molding Machine
Figure 2: Combining tower-light status signals with spindle current thresholds separates true active cutting time from idle operator wait time

Why Tower Lights Alone Give False OEE (And How Current Thresholding Fixes It):

Many basic OEE retrofits only monitor the Green stack light. However, operators frequently leave the machine powered on in manual/idle mode with the green light illuminated while waiting for raw material.
By clamping a split-core CT around the spindle or hydraulic pump phase wire and feeding it into the DL-M400 machine monitoring module, the firmware classifies machine state deterministically:

  • I < 1.5A: Stopped / Powered Down
  • 1.5A <= I < 8.0A: Idle / Standby (No Load)
  • I >= 8.0A: Active Cutting / Molding (Under Load)

Meanwhile, tapping an optically isolated Digital Input (2.5kVrms, 12–24VDC wet contact with hardware RC debounce filtering) in parallel with the mold-close relay or part-ejector solenoid logs exact Cycle Time (ms) and Part Count without false triggers from contactor bounce.


2. Polling Native Modbus RTU Telemetry on MAM-860 / MAM-880 Screw Air Compressors

Compressed air systems typically account for 25% to 40% of a factory's total electricity bill. Across Southeast Asia, thousands of rotary screw air compressors (Fusheng, Pegasus, Compkorea, Hanshin, Kyungwon) run on Plutarch MAM-860, MAM-880, MAM-6080, or MAM-6090 controllers.

Screw Air Compressor System Architecture and Telemetry Points
Figure 3: Key pressure, exhaust temperature, and load/unload telemetry points on an industrial rotary screw compressor station

Most plant engineers do not realize that the rear terminal block of the MAM-860/880 already includes a native RS485 Modbus RTU port (labeled A+ / B- or COM1 / COM2). By enabling Computer Link / Slave Mode in the controller menu (common default passwords: 0101, 0201, or 1688), you can poll every critical operating parameter via Function Code 03:

Register Hex (Dec) Compressor Parameter Scaling Rule & Unit Predictive Maintenance & Energy Value
0x0064 (100) Discharge Air Pressure Raw / 100 → MPa (× 10 for Bar) Detect header pressure drops or over-pressurization waste
0x0065 (101) Airend Exhaust Temperature Raw - 50 (or direct °C by firmware) Trigger instant alert if temperature exceeds 95°C (oil varnish / rotor seizure risk)
0x0066 (102) Main Motor Phase A Current Raw / 10 → Amps (A) Track motor overload and contactor wear
0x0067 (103) System Status & Alarm Word Bitmask (Bit 0: Run, Bit 1: Load/Unload, Bit 5: High Temp) Calculate exact Load vs. Unload Running Ratio
0x0068–0x0069 Total Run Hours & Loaded Hours UInt32 → Hours Automate oil filter and separator replacement schedules

3. Correlating Compressor Load/Unload States with 3-Phase Power Metering (DL-P300)

When you combine MAM-860 status bits with our factory energy monitoring solution using the DL-P300 3-phase power telemetry module, hidden energy waste becomes immediately visible:

3-Phase CT Current Transformer and Isolated Modbus Power Meter Installation
Figure 4: Non-invasive 3-phase split-core CTs paired with a DIN-rail Modbus telemetry interface inside a factory sub-panel

When a screw compressor switches to Unload (Idling) mode with its intake valve closed, it produces zero compressed air while the main motor still consumes 30% to 35% of its rated full-load kW. Auditing this Unload kWh ratio across night shifts routinely helps factories save 15%–20% on compressor electricity costs simply by tuning pressure band interlocks.

We have published wiring diagrams, CT sizing guides, and MAM-860/880 Modbus register maps in our open GitHub repository:
👉 Machinery OEE & EMS Retrofit Examples: https://github.com/devicelabvn/machinery-oee-ems-retrofit-examples


✍️ **Author:* Dinh Manh Thao - Chief R&D Engineer at DeviceLab (ALPHA TECH INVESTMENT TECHNOLOGY CO., LTD - Tax ID: 0111171963 | R&D Lab: 32/4 Ha Tri 4, Ha Dong Ward, Hanoi, Vietnam | Official Website: https://devicelab.vn/en/ | WhatsApp/Zalo: +84 982 503 355).*


Related PLC Data Acquisition, Remote I/O & Factory OEE Guides

Top comments (0)