KEPServerEX is one of the Kepware product that extends the connectivity solutions which support IoT and are ready for the organization and enterprise use. KEPServerEX is one of the OPC servers. To collect field devices data up to the OPC server, KEPServerEX is needed. It supports many channels such as ABB Totalflow, Mitsubishi FX, ODBC Client, Modbus TCP/IP, etc.

Anyone might wonder how we can send these data to other servers or webpages? How we can set up the IoT project with the Modbus protocol? This article has a solution. After reading this article, you will be able to develop a third-party application that uses the RESTful API to communicate with the KEPServerEX.

Whatever data that can be connected to the KEPServerEX, that data can also be sent to your third-party application too. — phakhawatchu

Let’s prepare some of the programs before we start.

  1. KEPServerEX 6.x (Download Demo from here >> https://www.kepware.com/en-us/products/kepserverex/)
  2. Node.js (Download from here >> https://nodejs.org/en/download/)

KEPServerEX Configuration:

Firstly, prepare the channel for connecting the field devices. Here I use the Simulation Examples channel which is already prepared by the default.

Image for post

Figure 1 — The Function controller inside the Simulation Examples channel

Secondly, please make sure that the Configuration API is already setup. If not, please follows the instructions below.

  1. Enable the Configuration API by right-clicking on the **Administration **icon located in the system tray and select Settings. Then go to Configuration API Service and follow the setup in Figure 2 below.
  2. Click on the “http://127.0.0.1:57412/config" in the View in browser
  3. A web browser that displays the documentation for the Configuration API will open. Then the setting on Configuration API is finished.

#servers #kepware #development #nodejs #api

The Development of Node.JS Server to Communicate With KEPServerEX Via Configuration API
4.90 GEEK