IoT integration is the ability to make new IoT and SaaS instruments work together with the data collection, analysis and process management systems a company already runs, and it is what makes an industrial digital transformation smooth and low-risk rather than a disruptive replacement. This article walks through the main integration patterns (master/slave, platform-to-SAP webhooks, SCADA-to-platform triggers and asynchronous message-based communication) with practical examples of each. The popularity of the “Internet of Things” is increasing day by day since it is one of the most effective instruments of digital transformation in the industry, also followed by IoT integration. Undoubtedly, it is obvious that we need to use these solutions, but adding these instruments directly to our system is not as easy as it seems. Companies already have many data collection, analysis, and process tracking tools. It is quite challenging and impossible at some scales to abandon these systems in one day and switch to platforms and applications offered by new technologies. During the digital transformation period, hybrid models and old and new systems need to work together to make the transition smooth and risk-free. Therefore, it is expected that IoT/SaaS solutions will be able to act together with these systems. At this point, the most important topic is “merging”, in other words, “ability of integration”.Sure, there is no one-size-fits-all solution for all the scenarios. The technical skills of your business, the methods offered by the IoT/SaaS solutions you provide, and the integration options of the system you currently use are the determining factors of the transformation strategy. How the integration will take place mostly depends on how the data communication is going to take place. In other words, the question is where does the data flow from and to where? In addition, where the data is processed is another determining factor. While expressing the integrations, we will continue by saying “SCADA” to the data collection / visualization system you already have, and “SAP” to the process/resource management systems.

One-Way IoT Integration

Master/Slave

Master/slave is a communication model for hardware devices in which one device has one-way control over one or more devices. This is usually used in the field of electronic hardware where one device acts as a controller while other devices are those that are controlled. Let’s say you bought a temperature IoT sensor. The system you are currently using also allows device identification with Modbus/TCP protocol.

Scada System Entegration

In this scenario, the integrated system is responsible for the management of the device. In other words, how often the measurement will be taken, where the measurement will be displayed/stored, all these tasks are the tasks of the system in which you integrate the sensor. At this point, the Master-Slave structure is one of the most frequently used integration methods. Of course, in order to make this integration, the integration method offered by the sensor and the methods of the SCADA system you use must match. It may be preferable if your concern is only data collection, monitoring, and basic alarm structures. On the other hand, IoT sensors that are getting smarter by the day require much more complex managerial skills. For example, it is unlikely that you will integrate wireless sensors into your system with this method.

Platform -> SAP (WebHook)

Let’s explain this scenario with an example: You bought an IoT pressure sensor and there is a SaaS platform that comes with this device. You perform device management, configuration and measurement strategies through this software. Your expectation from the platform is to enable you to monitor the pressure values and to create a work order in your internal system by giving an alarm when it reaches a certain threshold value.

cbm cloud app chart

Several integration strategies can be implemented at this stage; You can create an integration point in the SAP system to which alarm data can be forwarded. When the alarm occurs, the platform can send this request to the Web-Service (middleware) you have located and save it in the SAP database. If you can perform the data analysis in your own system, you can also write a middleware software to integrate the sensor directly into your system, process the data there and interact with your SAP system accordingly. Presumably your service will interact with the sensors via MQTT/HTTP or any other protocol popular in the IoT world.

Scada -> Platform

In some cases, you want your system to interact with the platform. For instance, you have positioned a vibration sensor on a press on the production line. You want the press to take a measurement on the time it hits. Since your existing system produces the “Press” command, you want to send this information to the sensor and enable it to take measurements. If you have a Master-Slave application, it will be very easy to transmit this order, but it is important to remember that it will still be your responsibility to store, process and analyze the collected data. It should not be forgotten that the main reason for integration is to make your existing system smarter by supplying the workforce through external solutions.

cbm cloud app entegration

On the other hand, you can forward this order using one of the integration points of the platform you are using. Most of the time this event is triggered by an HTTP Rest API endpoint. The platform can also initiate the measurement process by transmitting this request to the sensor. You can do this with a small HTTP Request that you add to your PLC system.

Asynchronous IoT Integration

Thanks to message-based communication, it is possible to communicate two-way and asynchronously. You can think of it as a chat application. Both the output of the data from the SCADA system to the platform and the transmission of data from the platform to the sensor or to the SCADA system can be performed asynchronously. For this, it is useful to take a look at message-based communication. In message-based applications, there is a message queue in the middle of the communication, this queue is managed by an external actor (broker). Parties wishing to communicate communicate with each other through this channel. In this way, they can communicate without knowing each other’s access points. Since the data will be stored in the queue, data integrity is also preserved. Thanks to the message queues, making a two-way integration becomes very easy. The team integrated with the platform does not need to write a Web-Service or open a port to the internet.

Example:

As an example, you have positioned your IoT sensors on various electric motors. You want the sensors to take measurements only when you want them to. You will immediately provide the alarms and reports generated by the platform and display them in your own system.

Asynchronous Integration

You start the measurement processes on your own system. In addition, you are sending various data to the platform you are integrated with. For example, instantaneous rotation speed, oil information, machine model, last maintenance date. You send the measurement order and additional parameters to the queue via the integration leg, the platform receives the message in the queue and starts the measurement process, collects the data after the measurement via the sensor. It performs analysis and alarm checks using the additional parameters and measurement data you send. It puts the reports and notifications it produces in the queue. The integration service receives the message in the queue and performs the relevant actions in SCADA and SAP systems.

Asynchronous Integration

Conclusion

It is very critical that the instruments you will use in Industrial Digital Transformation are integratable. You do not want to choose a closed box system and undermine your digital transformation process by keeping it dependent on a brand or a system. Having a digital transformation team and IT staff will speed up these processes. If you do not have such departments, it is very important that you work with service providers who work with you in this process. At Sensemore, we attach great importance to this issue. We try to keep almost all of our products integrated with external systems, and to support our customers’ processes by diversifying their integration options. Moreover, we do this with completely open source code. If you are wondering about the integration options Sensemore offers, you can take a look at Sensemore Documentation. And you can contact us at any time.

Sensemore LAKE takes this further than a data export: its MCP server lets the AI assistant a team already uses read the trends and spectra directly.

Frequently asked questions

Why is IoT integration important in industrial digital transformation?

Companies already run many data collection, analysis and process tracking tools, and abandoning them overnight is impractical or impossible at scale. During the transition, hybrid models in which old and new systems work together keep the change smooth and low-risk, so IoT and SaaS solutions must be able to integrate with existing SCADA and SAP-type systems.

What is master/slave integration for IoT sensors?

Master/slave is a communication model in which one device has one-way control over one or more others. The existing system, for example SCADA over Modbus/TCP, manages the sensor: how often it measures and where data is displayed or stored. It suits basic data collection, monitoring and alarms, but it is unlikely to work for wireless sensors and smarter devices that need more complex management.

How can an IoT platform send alarms into SAP or another internal system?

The platform can forward alarm data through a webhook to an integration point such as a web service or middleware that you host, which then stores it in the SAP database and can create a work order. Alternatively, you can write middleware that talks to the sensor directly over MQTT, HTTP or another IoT protocol, process the data yourself and interact with SAP from there.

How can SCADA or a PLC trigger a measurement on an IoT sensor?

When the existing system produces an event, such as a press command, it can send that signal to the sensor so a measurement is taken at the right moment. With a master/slave setup this is straightforward but you remain responsible for storing and analysing the data; otherwise, the PLC can call the platform's HTTP REST API endpoint with a small request and the platform starts the measurement.

What is asynchronous, message-based IoT integration?

In message-based communication a broker manages a message queue between the parties, so SCADA, the platform and sensors can exchange data in both directions without knowing each other's access points. Data integrity is preserved because messages are stored in the queue, and the integrating team does not need to write a web service or open a port to the internet.