Follow us on LinkedIn to explore and our data platform - Click here

How to turn an OMRON PLC into an IoT device

In this post we will demonstrate how easy it is to turn a PLC, in this case an OMRON PLC into an IoT device, so that internal values can be read and displayed from everywhere as long as there is a connection to the internet.

The Data Forwarder supports, among many communications protocols, the OMRON's FinsTcp protocol which is an ethernet based tcp/ip protocol.

The PLC we are using in this example is the small and compact OMRON SYSMAC CP1L with an ethernet option board installed.


OMRON CP1L plc Data forwarder TDF-02


The Data Forwarder is set up and connected to the internet through the LAN1 port. LAN2 port is connected to the PLC with an ethernet cable directly or through an ethernet switch.

Locate the values in the PLC that should be shared through the Data Forwarder. This could be production information like: number of produced units, the amount of running time and stop time, power, gas, heat consumption and so on. In this example the data is of the type WORD and is located in the DM area from address 1 and 10 words long.
The connection information is set up in the Data Forwarder including the write key (Setting up the Data Forwarder will be demonstrated in another How To-blog). The Data Forwarder is set up to log the current value every hour for all the values that is read by the Data Forwarder and forwarded to the cloud solution.

At this point, we restart the Data Forwarder with the new settings and it will start reading the values from the PLC and forward the values to the cloud solution.

Then, login to the account to watch the values from the PLC.
The values can be organised in Trendviews that is a chart showing the progress of the value over time or it can be set up to show the current value that is updated every minute or when the value changes.

The Trendviews can be organised on Trendboards (Dashboard) to give you "the big picture".

That's it. It's easy to turn a PLC into an IoT device with the solution.

The team