The real-world headache: Mitsubishi, Siemens, Modbus and Fanuc CNC protocols mixed on one line. The TSingley DAQ engine turns 'protocol hell' into plug-and-play with 5-protocol simulation, register planning, live debugging and a clean data flow into MES-LINE.
The Real Pain: Protocol Hell
A single factory line often runs Mitsubishi PLCs, Siemens S7, Modbus devices, Mitsubishi CNCs and Fanuc CNCs side by side — each speaking a different language:
- Mitsubishi MC: Ethernet, but CNC MC ≠ PLC MC — same vendor, completely different address spaces and instruction sets
- Siemens S7: TCP direct, with its own DB blocks and bit/word addressing
- Modbus: TCP/RTU variants; register addresses (40001/30001) convert per protocol family
- Fanuc FOCAS: needs a dedicated SDK for proprietary data like tool offsets and spindle load
Worse, many CNC protocol documents are not public (Mitsubishi requires an application; Fanuc requires buying the SDK) — on-site debugging often means trial-and-error against docs and packet captures.
The TSingley DAQ Engine: One Engine, Many Protocol Drivers
MES-LINE's DAQ engine ships multi-protocol drivers and turns protocol hell into plug-and-play with four steps: simulation → planning → live → data flow:
5-protocol simulation → register planning → sim/live dual mode → DAQ polling → MES-LINE data flow
(no hardware needed) (offline verification) (develop on sim, integrate live) (4 data classes stored)Step 1: Protocol Simulation (Develop Without Hardware)
The DAQ engine ships a 5-protocol simulation platform (Mitsubishi MC / Siemens S7 / Modbus TCP / Modbus RTU / generic serial), solving 'the equipment hasn't arrived, how do we write code?':
- Simulation needs no real PLC; a mock driver auto-connects, and the CPU model changes automatically when you switch protocol
- RUN/STOP control (with visual feedback), batch writes (e.g. D100=100), clock sync
- Clean UI: top bar [⚡Sim|🔌Live] [Protocol▼], left panel for run control, right panel with live device monitoring
Developers tune the UI and logic in simulation, then switch to live in one click for integration — development never blocks on hardware.
Step 2: Register Planning (Verify Offline, Avoid Pitfalls)
The debug tool supports register scheme planning:
- Protocol-agnostic templates: the same template (e.g. cleaning line) auto-generates different address tables per protocol (Mitsubishi → D0/D1..., Modbus → 40001/30001...)
- Group collapse, double-click inline editing, address format validation (checks validity per protocol)
- CSV import/export: paste CSV or upload a file, auto-detect Chinese/English column names, import preview + dedupe highlight
- Scheme management: new / add from library / save as custom template; built-in templates are protected
Key value: the register map is planned, verified and exported offline — no on-site trial-and-error against real devices.
Step 3: Live Debugging (Real Device Communication)
At integration time, switch to live mode with two link types:
- TCP protocols (Mitsubishi MC / Siemens S7 / Modbus TCP): enter IP → connect → device monitor refreshes in real time
- Serial protocols (Modbus RTU / generic serial): configure COM / baud / parity / data bits / stop bits / slave ID → connect, with a serial terminal for HEX/ASCII send-receive
Read, write, RUN/STOP and force ON/OFF are all supported; scheme ↔ monitor linkage (selecting a scheme auto-fills the address bar).
On-site tip: CNC protocols (Mitsubishi CNC MC / Fanuc FOCAS) differ from PLC protocols — Mitsubishi CNC reads machining state/alarms/program number/tool life/coordinates/override; Fanuc FOCAS additionally reads tool offsets and spindle load. Confirm the exact CNC model (Mitsubishi M70/M80/E80, Fanuc 0i-F/30i-B) and whether Ethernet is enabled.
Step 4: Data into MES-LINE (The Flow to Line Control)
Once verified, the register scheme attaches to a device instance; the DAQ engine manages instances by equipment UUID, polls the PLC and stores data in four classes:
DAQ Engine polls PLC
├─ Status → equipment_status (snapshot) + machine_events (log)
├─ Process PV→ process_values (time series) — sensor readings (temp/pressure/level)
├─ Alarms → alarm_records + alarm_engine (limit/fault events)
└─ Process SV← recipe hub push (setpoints/specs, recipe activation writes sv_records)The four data classes (local SQLite in MES-LINE) → scheduled report to ONLINE plant-wide management → OEE/CPK analytics. That is the complete path from 'PLC register' to 'HMI real-time monitoring + plant-wide reports'.
A Real Example: Mixed Mitsubishi + Fanuc CNC Line
A customer line mixes Mitsubishi CNCs and Fanuc CNCs:
- The DAQ engine adds two CNC drivers: Mitsubishi CNC MC + Fanuc FOCAS
- Both protocols unify into the MES-LINE data model — work-order binding, OEE calculation and alarm reporting never care about protocol
- Collected: machining state, alarms, program number, tool life, coordinates, override (both); tool offsets, spindle load (Fanuc-specific)
Conclusion: the purpose of protocol conversion is not 'conversion' — it is making upper-layer applications blind to protocol differences. MES-LINE unifies devices of different protocols into one data model, and OEE, work-order and quality analytics all run on that model.
The Protocol Hell Can Be Walked Through
Multi-brand machines, multiple protocols, undocumented APIs — this is the reality for every manufacturer. The DAQ engine's four-step methodology (simulate → plan → connect → data flow) walks the path: development without hardware, registers verified offline, live connection tunes on the spot.
Which brands run on your line, and which protocol-integration pains have you hit? Talk to us, or see more cases on our website.
