Skip to content
IoTronix Solution

Machine Monitoring for Old Machines Without a New PLC

Published · 7 min read · IoTronix Solution

In short

You can monitor an old machine without a new PLC. If the controller has a port, read it over Modbus, OPC UA or Euromap. If not, fit clip-on sensors for cycle count, run and stop, motor current and temperature. Euromap 63 exchanges text files, while Euromap 77 runs on OPC UA [1]. Modbus RTU runs on RS-485 cable, while Modbus TCP runs over Ethernet on port 502 [3] [4].

Two ways to get data from an old machine

There are two ways. Read the controller the machine already has, or fit our own sensors on the outside of the machine. Either way, a machine monitoring system gets the same three answers from each machine: is it running, how many parts has it made, and when did it stop. Most factories use both.

Way 1: read the controller

If the machine has a PLC or controller with a communication port, we fit a small gateway in the electrical cabinet. It reads values the controller already holds: cycle count, run and stop status, alarms, set temperatures. Nothing is reprogrammed. The gateway only reads.

The connections we work with: Modbus RTU and Modbus TCP, OPC UA, MQTT, Mitsubishi, Siemens and Omron PLCs, Euromap 63 and 77 on injection moulding machines, CAN Bus, LoRaWAN and RS-485.

Way 2: fit clip-on sensors

Many machines in Malaysian factories run on relay logic or a locked controller. For some, the controller maker no longer gives support. For these machines, we do not use the controller. We fit our own sensors on the outside: a cycle counter, a run and stop signal, a current clamp on the motor cable and a temperature probe. No change to how the machine runs, and no new PLC.

This way, a hydraulic press, an extrusion line and an injection moulder of very different ages show on the same dashboard. One reads its controller, the others read clip-on sensors, and the owner sees all three on his phone.

Euromap 63 vs 77: which one your injection moulder uses

Euromap 63 sends data as text files. Euromap 77 is the newer interface, built on OPC UA [1]. Euromap publishes interface standards for plastics and rubber machinery. These two matter when you want data from an injection moulding machine.

Euromap 63 defines a data exchange interface between injection moulding machines and a central computer. It is based on the transfer of text files, which the OPC Foundation itself calls not state of the art [1].

Euromap 77 is the newer interface, built on OPC UA [1]. It carries machine status and configuration, process and job parameters, and configuration data sets [1]. A central computer can set operating parameters and monitor process data, but the standard gives no direct control or safety functions [1]. The first version was released on 4 May 2018, and Release 1.01 is dated 1 June 2020 [2].

Euromap 63Euromap 77
How data movesText files [1]OPC UA [1]
What it carriesData exchange between the machine and a central computer [1]Status, configuration, process and job parameters [1]
ReleasedThe older standard [1]First version 4 May 2018, Release 1.01 on 1 June 2020 [2]
Question for your machine makerIs the Euromap 63 option fitted and switched on?Is the Euromap 77 option fitted and switched on?

What this means for your factory: if your moulder has either interface fitted, we read cycle and alarm data straight from it. If neither is fitted, or the option was never bought with the machine, clip-on sensors give you run and stop status and cycle count instead.

Modbus RTU vs Modbus TCP, and what RS-485 is

Modbus RTU runs on a serial cable such as RS-485. Modbus TCP carries the same messages over Ethernet [3][4]. Many temperature controllers, power meters, inverters and PLCs use Modbus. It comes in two forms. The form decides what cable and gateway you need.

Modbus RTU runs on a serial line. One master asks, and up to 247 slave devices answer, each with its own address from 1 to 247 [3]. Slaves never talk unless asked, and never talk to each other [3]. Every Modbus serial device must support RTU mode, and RTU is the default [3].

RS-485 is the cable standard Modbus RTU uses: a two-wire balanced pair that runs from device to device along one trunk cable [3]. The specification always allows 32 devices on one cable without a repeater, and a cable up to 1,000 m at 9,600 baud with AWG26 or thicker wire [3].

Modbus TCP carries the same messages over Ethernet, sent to port 502 [4]. The serial slave address is replaced by a Unit Identifier, so one gateway with one IP address can represent several serial devices behind it [4]. That is how an old RS-485 line joins the factory network: a gateway converts the RS-485 side to Ethernet [5].

Modbus RTUModbus TCP
CableRS-485 two-wire pair [3]Ethernet [4]
Who talksOne master, up to 247 slaves [3]Clients connect to port 502 [4]
Cable lengthUp to 1,000 m at 9,600 baud [3]Set by your factory network
Error checkCRC in every frame [3]Length field in the header plus CRC-32 on Ethernet [4]
Where you find itOlder panels, meters, temperature controllersNewer PLCs and machines already on Ethernet

How to connect a PLC to the internet without changing its program

Fit a read-only gateway on the PLC's existing Ethernet or serial port. The gateway sends the readings out over MQTT [6]. The PLC program is never changed.

  1. Find the port: an Ethernet socket or a serial terminal on the PLC or its communication card.
  2. Fit a gateway in the cabinet. It reads the PLC over Modbus, OPC UA, or the native connection of a Mitsubishi, Siemens or Omron PLC.
  3. Map the addresses: which register holds the part count, which bit means running. This comes from the PLC program or the machine maker's manual.
  4. Send readings out. The gateway publishes them over MQTT, a lightweight publish and subscribe messaging transport [6]. Where there is no cable or Wi-Fi, LoRaWAN, a low power wide area network specification [7], can carry small readings.
  5. Open the dashboard on your phone.

What to check on your machine before a site visit

Spend ten minutes taking photos with your phone. This saves a second site visit. For each machine you want on the dashboard, check:

  • Machine make, model and year, from the nameplate.
  • Controller brand and model: Mitsubishi, Siemens, Omron or other. Photograph the PLC label inside the cabinet.
  • Ports on the controller: Ethernet socket, RS-485 terminal, or a Euromap socket on an injection moulder.
  • Whether the Euromap 63 or 77 option is fitted, from the machine menu or the original quotation.
  • Who holds the PLC program or password: your maintenance team, the machine maker, or nobody.
  • Space in the cabinet for a gateway, and access to the motor cable for a current clamp.
  • Network at the machine: a LAN cable, Wi-Fi signal on your phone, or neither.
  • The three numbers you want first, for example run hours, part count and stop reasons.

If the answers are "unknown" and "nobody", that is normal for older machines. Clip-on sensors are built for exactly that case.

Three client projects, three different connections

These are project scopes from our client list, not results.

  • Oriental Nichinan Design Engineering (Teck See Plastic Group): machine condition data was needed from equipment with no off-the-shelf connectivity. We designed and built a custom gateway for machine condition monitoring on injection moulding, over RS-485.
  • Daikin Malaysia: machine and conveyor data sat inside PLCs with no logging or history. We set up data collection from the Omron PLC and conveyor condition logging.
  • Perfomax (Singapore): engine data had to come off vessels, where cabling and connectivity are hard. We built a custom CAN Bus to LoRaWAN gateway and a vessel engine performance dashboard.

How much it costs to start

Machine monitoring dashboards cost RM500 a month with unlimited users. Connection hardware depends on what your machines already have, so we quote it after a free site visit. Every project starts with the free 30-minute Factory Paperwork Check.

See what data your old machines can give you

Book the free 30-minute Factory Paperwork Check. We look at your machines and processes on site, then quote the connection hardware after the visit.

Questions

Can I monitor a machine that has no PLC?

Yes. We clip sensors onto the outside of the machine for cycle count, run and stop, motor current and temperature, with no change to how it runs.

What is the difference between Euromap 63 and Euromap 77?

Euromap 63 exchanges data with a central computer through text files [1]. Euromap 77 runs on OPC UA and carries status, configuration, process and job parameters [1]. Euromap 77 was first released on 4 May 2018 [2].

What is the difference between Modbus RTU and Modbus TCP?

Modbus RTU runs over a serial line such as RS-485, with one master and up to 247 slave devices [3]. Modbus TCP sends the same messages over Ethernet to port 502 [4].

Will connecting change how my machine runs?

No. The gateway only reads values the controller already holds, and clip-on sensors sit on the outside of the machine, so nothing is reprogrammed.

How do I connect a PLC to the internet?

Fit a gateway that reads the PLC through its Ethernet or serial port. The gateway sends the readings over MQTT to a dashboard [6]. Set it to read only, and never expose the PLC itself to the internet.

Do I need a full control-room system to monitor machines?

Usually no. SCADA is built to supervise and control a whole process from a control room. If you mainly need run and stop status, part counts and downtime on your phone, machine dashboards cover that monitoring part.

Sources

  1. [1]OPC Foundation. EUROMAP 77: Data exchange interface between injection moulding machines and MES
  2. [2]EUROMAP. EUROMAP 77: IMM to MES, 2020-06-01
  3. [3]Modbus Organization. MODBUS over Serial Line Specification and Implementation Guide V1.02, 2006-12-20
  4. [4]Modbus Organization. MODBUS Messaging on TCP/IP Implementation Guide V1.0b, 2006-10-24
  5. [5]Modbus Organization. FAQ
  6. [6]MQTT.org. MQTT: The Standard for IoT Messaging
  7. [7]LoRa Alliance. About LoRaWAN