Azure IoT Suite preconfigured solutions combine multiple Azure IoT services to deliver end-to-end solutions that implement common IoT business scenarios. The connected factory preconfigured solution connects to and monitors your industrial devices. You can use the solution to analyze the stream of data from your devices and to drive operational productivity and profitability.
This tutorial shows you how to provision the connected factory preconfigured solution. It also walks you through the basic features of the preconfigured solution. You can access many of these features from the solution dashboard that deploys as part of the preconfigured solution:
To complete this tutorial, you need an active Azure subscription.
If you don’t have an account, you can create a free trial account in just a couple of minutes. For details, see Azure Free Trial.
Provision the solution
- Log on to azureiotsuite.com using your Azure account credentials, and click "+" to create a solution.
- Click Select on the Connected factory tile.
- Enter a Solution name for your connected factory preconfigured solution.
- Select the Subscription and Region you want to use to provision the solution.
- Click Create Solution to begin the provisioning process. This process typically takes several minutes to run.
While you wait for the provisioning process to complete
- Click the tile for your solution with Provisioning status.
- Notice the Provisioning states as Azure services are deployed in your Azure subscription.
- Once provisioning completes, the status changes to Ready.
- Click the tile to see the details of your solution in the right-hand pane.
If you encounter issues deploying the preconfigured solution, review Permissions on the azureiotsuite.com site and the Connected factory FAQ. If the issues persist, create a service ticket on the portal.
Are there details you'd expect to see that aren't listed for your solution? Give us feature suggestions on User Voice.
When you deploy the connected factory preconfigured solution, it is prepopulated with resources that enable you to step through a common industrial scenario. In this scenario, several factories connected to the solution report the data values required to compute overall equipment efficiency (OEE) and key performance indicators (KPIs). The following sections show you how to:
- Monitor factory, production lines, station OEE, and KPI values
- Analyze the telemetry data generated from these devices using Azure Time Series Insights
- Act on alerts to fix issues
A key feature of this scenario is that you can perform all these actions remotely from the solution dashboard. You do not need physical access to the devices.
View the solution dashboard
The solution dashboard enables you to manage the deployed solution. It is a hierarchical representation of a global factory configuration. For example, you can view OEE and KPIs, publish new nodes for telemetry and action alerts.
When the provisioning is complete and the tile for your preconfigured solution indicates Ready, choose Launch to open your connected factory solution portal in a new tab.
By default, the solution portal shows the dashboard. To navigate to other areas of the portal, use the menu on the left-hand side of the page.
The dashboard displays the following information:
- A Factory list panel that shows the status, location, and current production configuration in the solution. When you first run the solution, there are a number of simulated devices. The production line simulation is composed of three real OPC UA servers per production line that perform simulated tasks and share data. For more information about OPC UA, see the Connected factory FAQ.
- A map that displays the location of each device connected to the solution. The solution can use the Bing Maps API to plot information on the map. If your subscription is enabled for Bing Maps Enterprise API, then this feature is used automatically. If not, see the FAQ to learn how to make the map dynamic.
- An Alerts panel that displays alerts generated when a telemetry or OEE/KPI value exceeds a specific threshold.
- An Overall Equipment Efficiency panel that shows the OEE values for the whole enterprise, or the factory/production line/station you are viewing. This value is aggregated from the station view to the enterprise level. The OEE figure and its constituent elements can be further analyzed.
- Key Performance Indicators panel that displays the number of units produced and energy used by the whole enterprise or the factory/production line/station you are viewing. These values are aggregated from a station view to the enterprise level.
The Factories panel shows you the geographical location of all the factories in the solution, their status, and current production configuration. From the locations list, you can navigate to the other levels in the solution hierarchy. The rows in the list are hyperlinks that link details of the production lines at that location. It is then possible to drill into the production line details and down to the station level view. You can also apply a filter to the list.
The Factory panel shows the factory list for this solution.
The factory list initially shows six factories created by the provisioning process. You can add additional simulated and physical devices to the solution.
To view the details of a factory, click the row in the factory list.
To view the details of a production line, click the row in the list.
To view the published OPC UA nodes of a station on the production line, click the row in the list.
To view details on a specific node in the station, click the row in the list. This action launches the context panel with Time Series Insights visualizations. Click these graphs to do further analysis in the Time Series Insights explorer environment.
If your subscription has access to the Bing Maps API, the Factories map shows you the geographical location and status of all the factories in the solution. To drill into the location details, click the locations displayed on the map.
The Alert panel shows you alerts generated due to a reported value or a calculated OEE/KPI value exceeding its configured threshold. This panel displays alerts at each level of the hierarchy, from the station level view to the global view. The alerts contain a description of the alert, date, time, location, and number of occurrences. You can gain insights in to the data that caused the alert using the Time Series Insights data. The Time Series Insights data is visualized in the alerts where applicable. If you are an Administrator, you can take default actions on the alerts such as:
- Close the alert.
- Acknowledge the alert.
Optionally, you can take more complex actions. For example, for the Pressure OPC UA Node of the Assembly you could:
- Show supporting information in a web page in a new browser window.
- Mitigate the cause of the alert by calling an OPC UA method on the device.
Suppress the availability of the default actions.
These alerts are generated by rules that are specified in a configuration file in the preconfigured solution. These rules can generate alerts when the OEE or KPI figures or OPC UA Node values are exceeding their configured threshold.
The Alerts panel shows the alerts generated in this solution.
To view the details of an alert, click the alert in the alerts panel.
To further analyze the alert data, click the graph in the alert panel to open the Time Series Insights explorer environment.
To address the alert, several actions are available in the alert panel. Choose the appropriate option for you and click the execute action command button.
View overall equipment efficiency
OEE rates the efficiency of the manufacturing process using a key production-related operational parameters. OEE is an industry standard measure calculated by multiplying the availability rate, performance rate, and quality rate: OEE = availability x performance x quality.
To view OEE for any level in the hierarchy, navigate to the specific view you require. The OEE for that view displays in the panel along with each of the elements that make up the OEE percentage.
To further analyze the OEE for any level in the hierarchy data, click either the OEE, availability, performance, or quality percentage. A context panel appears with Time Series Insights powered visualizations that shows data from the last hour, last 24 hours, and last 7 days.
To further analyze the alert data, click the graph in the alert panel. This action opens the Time Series Insights explorer environment.
View Key Performance Indicators
The solution provides two key performance indicators, units per hour and energy used in kWh.
To view units per hour or energy used for any level in the hierarchy, navigate to the specific view you require. The units per hour and energy used display in the panel.
To analyze units per hour or energy used for any level in the hierarchy further, click the gauge in the Key Performance Indicators panel. A context panel appears with Time Series Insights powered visualizations enabling you to view data from the last hour, the last 24 hours, and last 7 days.
In this scenario, you monitored your factories OEE and KPIs values, in the dashboard. You then used Time Series Insights to provide more information to help drill further into the telemetry data for OEE and KPIs to help with detecting anomalies. You also used the alert panel to view issues with your factories and you used the actions available to you to resolve the alert.
The following sections describe some additional features of the connected factory solution that are not described in the previous scenario.
Click the chevron to display a list of available filters in either the factory locations panel or the alerts panel.
The filters panel is displayed for you.
Choose the filter that you require. It is also possible to type free text into the filter fields.
The filter is then applied for you. The filter state is also shown in the dashboard via a funnel that displays in the factories and alerts tables.
An active filter does not affect the displayed OEE and KPI values, it only filters the list contents.
To clear a filter, click the funnel and click filter in the filter context panel. The text All is displayed in the factories and alerts tables.
Browse an OPC UA server
When you deploy the preconfigured solution, you automatically provision simulated OPC UA servers that you can browse via the solution browser. These servers are simulated OPC UA servers. Simulated servers make it easy for you to experiment with the preconfigured solution without the need to deploy real, physical servers. If you do want to connect a real OPC UA server to the solution, see the Connect your OPC UA device to the connected factory preconfigured solution tutorial.
Click the factory icon in the dashboard navigation bar.
Choose one of the servers from the preconfigured list. This list shows the servers that are deployed for you in the preconfigured solution.
Click Connect, a security dialog displays. For the simulation, it is safe to click Proceed
To expand any of the nodes in the server tree, click it. Nodes that are publishing telemetry have a tick mark beside them.
Right-click an item to read, write, publish, or call that node. The actions available to you depend on your permissions and the attributes of the node. The read option to displays a context panel showing the value of the specific node. The write option displays a context panel where you can enter a new value. The call option displays a node where you can enter the parameters for the call.
Publish a node
When you browse a simulated OPC UA server, you can also choose to publish new nodes. You can analyze the telemetry from these nodes in the solution. These simulated OPC UA servers make it easy to experiment with the preconfigured solution without deploying real, physical devices.
Browse to a node in the OPC UA server browser tree that you wish to publish.
Right-click the node.
A context panel appears which tells you that the publish has succeeded. The node appears in the station level view with a check mark beside it.
Command and control
The connected factory allows you command and control your industry devices directly from the cloud. You can use this feature to respond to alerts generated by the device. For example, you could send a command to the device from the cloud. You can find the available commands in the StationCommands node in the OPC UA servers browser tree. In this scenario, you open a pressure release valve on the assembly station of a production line in Munich. To use the command and control functionality, you must be in the Administrator role for the preconfigured solution deployment.
Browse to the StationCommands node in the OPC UA server browser tree.
Choose the command that you wish use.
Right-click the node.
A context panel appears informing you which method you are about to call and any parameter details is applicable.
The context panel is updated to inform you that the method call succeeded. You can verify the call succeeded by reading the value of the pressure node that updated as a result of the call.
Behind the scenes
When you deploy a preconfigured solution, the deployment process creates multiple resources in the Azure subscription you selected. You can view these resources in the Azure portal. The deployment process creates a resource group with a name based on the name you choose for your preconfigured solution:
You can view the settings of each resource by selecting it in the list of resources in the resource group.
You can also view the source code for the preconfigured solution. The connected factory preconfigured solution source code is in the azure-iot-connected-factory GitHub repository:
When you are done, you can delete the preconfigured solution from your Azure subscription on the azureiotsuite.com site. This site enables you to easily delete all the resources that were provisioned when you created the preconfigured solution.
To ensure that you delete everything related to the preconfigured solution, delete it on the azureiotsuite.com site. Do not delete the resource group in the portal.
Now that you’ve deployed a working preconfigured solution, you can continue getting started with IoT Suite by reading the following articles: