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 trendlog.io 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||trendlog.io Data forwarder TDF-02|
The trendlog.io 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 trendlog.io 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 trendlog.io Data Forwarder including the trendlog.io write key (Setting up the trendlog.io 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 trendlog.io Data Forwarder and forwarded to the trendlog.io cloud solution.
At this point, we restart the trendlog.io Data Forwarder with the new settings and it will start reading the values from the PLC and forward the values to the trendlog.io cloud solution.
Then, login to the trendlog.io 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 trendlog.io solution.
We encourage you to sign up to our platform as you can get a closer look at some examples of the way we visualize data from various places and units. You can sign up on the front page and it's completely FREE!
The trendlog.io team