Use Case #01: Data Collection
Welcome to the first Coreflux Use Case.?
Since we develop software solutions for the Industry 4.0 paradigm, it’s only fitting that we start with the most basic topic of IIoT: Data Collection.
Every manufacturer wants to increase their own production and quality. In order to achieve this, they need data and data analysis. In this Use Case, we're going to:?
From there, it's possible to analyze the production output.
We’re using a simple Siemens S7 1200 that is simulating some production. Each?time we get a green light it's an unit output of simulated production, like filling bottles.
For the Unified Name Space we have:
For that end, in the “Line1” we're simulating a Siemens PLC with an S7-1200.
And for simulating the production of the new bottle, we're gathering the Output Q0.1.
All good? Let's dive in.
The Coreflux Hub is free to download and use
It lets you install a local broker, which is also free to use. Connect to it and inside we'll install an asset.
Go into the Flux Asset Store, find the one we want and install it. We're looking for the S7 asset.
Give it a proper name. In this case it's "Line1_S7Connection".
Click the "options" button to change its configuration:
Now for PLC parameters:
Now click on Tags:
Now we can check if the Topic is published in our Broker, on MQTT Explorer. And here it is:
We have the Debug Topic for that line and the Production. So far, everything is set-up correctly. Plant1, Filling, Line1, then the Debug Topic associated with the proper machine, then Production and the Status of the Output changing from "True" to "False"
Next step: Configuration of the storage.
This example was created in Microsoft SQL. It's a local database according to our Unified Name Space.
We have "Plant1" and then Production Data with the table and its fields for Identification, the time - that we are going to define as UTC - the Plant ID, the Area, the Machine and the State of the production that we are receiving.
Let's go back to Coreflux and integrate the respective Microsoft SQL asset. Go into the Asset Store again, find the MSSQL Asset and install it.
领英推荐
And now let's configure it, starting with the name: Line1_MSSQLConnection
Configuration:?
Tags:?
Press play to start the Asset.
Check for feedback in MQTT Explorer, and check the database:
As you can see, Events are being registered in real time, each time that the variable is changing from "false" to "true" and back. This simple example allows you to check if the machine is stopped, for how long it stopped, so that you can start to check its availability, and lets you begin to process the information that is relevant to your integration.
Hopefully you found this valuable, whether you're taking the first steps in IIoT or elevating your game to master the Industry 4.0 with Coreflux solutions.
If you read this far, here’s a reward:
Get the S7 + MSSQL assets for free by joining the Coreflux Discord.
Just go to the Vouchers-and-Deals channel and tell us you read this Use Case article. You’re welcome.
See you in the next Use Case.
_________________________________
Use Case: Data collection and storage using Unified Name Space ( UNS ) for tag management
Target Audience: Manufacture industry, IIoT Integrator and support Engineering
Technology used: Coreflux Edge Broker, Siemens S72MQTT Coreflux asset ( Siemens to MQTT ), MSSQL2MQTT Coreflux asset ( MSSQL to MQTT ), Microsoft SQL Management Studio
If you're interested in all things IIoT, follow for more:
Coreflux, IoT, Innovation, Digital Transformation, iiot platform, iiot, edge, analytics, connectivity, industry 4.0, device management, network management, customer success, iiot, i4.0, documentation, growth, industry, DataHub, Data Pipeline, digital twin, digital twin technology, online broker, cloud broker, mqtt, mqtt broker, online data, mqtt data, cloud database, mqtt, tutorials, Linux, Daemon Service, free trial, online mqtt, cloud mqtt, online mqtt broker, cloud mqtt broker
#Coreflux #IoT #Innovation #DigitalTransformation #iiotplatform #iiot #edge #analytics #connectivity #industry40 #devicemanagement #networkmanagement #customersuccess #iiot #i40 #documentation #growth #industry #DataHub #DataPipeline #digitaltwin #digitaltwintechnology #aicreativity #onlinebroker #cloudbroker #mqtt #mqttbroker #onlinedata #mqttdata #clouddatabase #IoTIntegration #Digitalization #commandline #usecase #datacollection