How does this apply to the Industrial Internet of Things? The JSON format for data transfer is so universal that IO-Link modules host it on a web server. This server is accessible by entering the IP address of the module. The module data can be seen in JSON format by modifying the IP address and adding “/dprop.jsn” into the URL of a web browser (i.e. 192.168.0.1/dprop.jsn). You should see something similar to the image on the right.
The “dprop” stands for data propagation or simply the movement of data from one source to multiple sources. This data is delivered with a standard request-response system. Say you’re writing some software that uses the sensor data as variables. All that’s needed to get that sensor data is a few lines of code that send a request to the module which in turn responds with your data.
How does this differ from the Industrial Internet of Things (IIoT) application frameworks from my past blogs? Previously, we discussed using OPC UA software to subscribe to PLC data and forwarding this data to a SQL database. From there, the application would query SQL for the data and render it appropriately for the user experience. Using JSON objects, we entirely eliminate the need for SQL or OPC UA software by accessing the data directly from the module. This not only makes the application independent from the PLC but also uses much less network traffic. However, using JSON objects, we can only subscribe to data from IO Link devices.
All acronyms aside, there are a million different ways to structure an IIoT application. The best fitting architecture depends on the environment. Systems with standard input/output will most likely need some form of communication with the controller. IO-Link systems will streamline this process by allowing the user to directly access the module’s IO Link data. How you go about building your application is entirely up to you. In the end, however, having this information readily available via the Industrial Internet of Things will be more beneficial than you could have ever imagined.
To learn more about IIoT visit www.balluff.us.
3 Replies to “JSON Objects and How They Can Streamline an IIoT Application”
Great job Pat! Helps demystify our ability to ‘enable’ Industry 4.0 and the IIoT !