快速入門:嘗試以雲端式解決方案管理我的工業用 IoT 裝置Quickstart: Try a cloud-based solution to manage my industrial IoT devices

本快速入門會示範如何部署 Azure IoT 的連線工廠解決方案加速器,以執行雲端式監視和工業用 IoT 裝置的管理模擬。This quickstart shows you how to deploy the Azure IoT Connected Factory solution accelerator to run a cloud-based monitoring and management simulation for industrial IoT devices. 當您部署連線工廠的解決方案加速器時,它會預先填入可讓您逐步執行常見工業用 IoT 案例的模擬資源。When you deploy the Connected Factory solution accelerator, it's pre-populated with simulated resources that let you step through a common industrial IoT scenario. 有多個模擬工廠會連線至解決方案,並報告計算整體設備效率 (OEE) 和關鍵效能指標 (KPI) 所需的資料值。Several simulated factories are connected to the solution, they report the data values needed to compute overall equipment efficiency (OEE) and key performance indicators (KPIs). 本快速入門會示範如何使用解決方案儀表板來進行下列作業:This quickstart shows you how to use the solution dashboard to:

  • 監視工廠、生產線、工作站 OEE 和 KPI 值。Monitor factory, production lines, station OEE, and KPI values.
  • 分析這些裝置產生的遙測資料。Analyze the telemetry data generated from these devices.
  • 回應警示。Respond to alarms.

若要完成本快速入門,您需要有效的 Azure 訂用帳戶。To complete this quickstart, you need an active Azure subscription.

如果您沒有 Azure 訂用帳戶,請在開始前建立 免費帳戶If you don't have an Azure subscription, create a free account before you begin.

部署解決方案Deploy the solution

在將解決方案加速器部署到 Azure 訂用帳戶時,必須設定一些組態選項。When you deploy the solution accelerator to your Azure subscription, you must set some configuration options.

瀏覽至 Microsoft Azure IoT 解決方案加速器,並使用您的 Azure 帳戶認證登入。Navigate to Microsoft Azure IoT solution accelerators and sign in using your Azure account credentials.

按一下 [連線的處理站] 圖格。Click the Connected Factory tile. 在 [連線的處理站] 頁面上,按一下 [立即試用]:On the Connected Factory page, click Try Now:


在 [建立連線工廠解決方案] 頁面上,為您的連線工廠解決方案加速器,輸入唯一的解決方案名稱On the Create Connected Factory solution page, enter a unique Solution name for your Connected Factory solution accelerator. 此名稱是包含所有解決方案加速器資源的 Azure 資源群組名稱。This name is the name of the Azure resource group that contains all the solution accelerator resources. 本快速入門使用的名稱是 MyDemoConnectedFactoryThis quickstart uses the name MyDemoConnectedFactory.

選取您要用來部署解決方案加速器的 [訂用帳戶] 和 [區域]。Select the Subscription and Region you want to use to deploy the solution accelerator. 一般而言,您會選擇與您最接近的區域。Typically, you choose the region closest to you. 在本快速入門中,我們會使用 Visual Studio Enterprise美國東部For this quickstart, we're using Visual Studio Enterprise and East US. 您必須是訂用帳戶中的全域管理員或使用者You must be a global administrator or user in the subscription.

按一下 [建立] 以開始部署。Click Create to start your deployment. 此程序至少需要執行五分鐘:This process takes at least five minutes to run:


登入解決方案Sign in to the solution

當您完成部署至 Azure 訂用帳戶時,會看到解決方案圖格上的綠色核取記號和 [就緒]。When the deployment to your Azure subscription is complete, you see a green checkmark and Ready on the solution tile. 您現在可以登入連線工廠解決方案加速器的儀表板。You can now sign in to your Connected Factory solution accelerator dashboard.

在 [已佈建的解決方案] 頁面上,按一下新的連線處理器解決方案加速器:On the Provisioned solutions page, click your new Connected Factory solution accelerator:


您可以在出現的頁面中檢視有關連線工廠解決方案加速器的資訊。You can view information about your Connected Factory solution accelerator in the page that appears. 選擇 [移至解決方案加速器] 以檢視連線工廠解決方案加速器:Choose Go to your Solution accelerator to view your Connected Factory solution accelerator:


按一下 [接受] 來接受使用權限要求,瀏覽器中隨即會顯示連線工廠解決方案儀表板。Click Accept to accept the permissions request, the Connected Factory solution dashboard displays in your browser. 其中會顯示一組模擬工廠、生產線和工作站。It shows a set of simulated factories, production lines, and stations.

檢視儀表板View the dashboard

預設檢視是「儀表板」。The default view is the dashboard. 若要瀏覽至入口網站的其他區域,請使用頁面左側的功能表:To navigate to other areas of the portal, use the menu on the left-hand side of the page:

解決方案儀表板Solution dashboard

您可以使用儀表板來管理您的工業用 IoT 裝置。You use the dashboard to manage your industrial IoT devices. 連線工廠會使用階層來顯示全體工廠組態。Connected Factory uses a hierarchy to show a global factory configuration. 階層的最上層是包含一或多個處理站的企業。The top level of the hierarchy is the enterprise that contains one or more factories. 每個處理站都包含產品線,而每個生產線分別由站台組成。Each factory contains production lines, and each production line is made up of stations. 在每一層級上,您都可以檢視 OEE 和 KPI、針對遙測發佈新節點及回應警示。At each level you can view OEE and KPIs, publish new nodes for telemetry, and respond to alarms.

在儀表板上,您可以看到:On the dashboard you can see:

整體設備效率Overall equipment efficiency

整體設備效率面板可針對整個企業或您所檢視的工廠/生產線/工作區顯示 OEE 值。The Overall Equipment Efficiency panel shows the OEE values for the whole enterprise, or the factory/production line/station you're viewing. 此值會從站區檢視彙總至企業層級。This value is aggregated from the station view to the enterprise level. 您可以進一步分析 OEE 數字及其組成元素。The OEE figure and its constituent elements can be further analyzed.

整體設備效率Overall equipment efficiency

OEE 會使用生產相關作業參數來評比製造程序的效率。OEE rates the efficiency of the manufacturing process using production-related operational parameters. OEE 業界標準量值,計算方式是將可用率、效能率和品質率相乘:OEE = 可用性 x 效能 x 品質。OEE is an industry standard measure calculated by multiplying the availability rate, performance rate, and quality rate: OEE = availability x performance x quality.

您可以進一步分析階層資料中任何層級的 OEE。You can further analyze the OEE for any level in the hierarchy data. 請按一下 OEE、可用性、效能或品質百分比刻度盤。Click either the OEE, availability, performance, or quality percentage dial. 內容面板會隨即出現,並顯示不同時間範圍的資料視覺效果:A context panel appears with visualizations showing data over different timescales:

整體設備效率的詳細資料Overall equipment efficiency detail

您可以按一下圖表,以進行進一步的資料分析。You can click on a chart to do further analysis of the data.

關鍵效能指標Key performance indicators

關鍵效能指標面板會顯示每小時所產生的單位數,以及整個企業或您所檢視的工廠/生產線/工作站所用能源 (kWh)。The Key Performance Indicators panel displays the number of units produced per hour and energy (kWh) used by the whole enterprise or by the factory/production line/station you're viewing. 這些值會從站區檢視彙總至企業層級。These values are aggregated from a station view to the enterprise level.

關鍵效能指標Key performance indicators

您可以進一步分析階層資料中任何層級的 KPI。You can further analyze the KPIs for any level in the hierarchy data. 請按一下 OEE、可用性、效能或品質百分比刻度盤。Click either the OEE, availability, performance, or quality percentage dial. 內容面板會隨即出現,並顯示不同時間範圍的資料視覺效果:A context panel appears with visualizations showing data over different timescales:

KPI 詳細資料KPI detail

您可以按一下圖表,以進行進一步的資料分析。You can click on a chart to do further analysis of the data.

工廠位置Factory Locations

[處理站位置] 面板,可顯示解決方案的狀態、位置和目前生產組態。A Factory locations panel that shows the status, location, and current production configuration in the solution. 當您第一次執行解決方案加速器時,儀表板會顯示一組模擬的工廠。When you first run the solution accelerator, the dashboard shows a simulated set of factories. 每個生產線模擬都是由執行模擬工作及共用資料的三部實際 OPC UA 伺服器所構成。Each production line simulation is made up of three real OPC UA servers that run simulated tasks and share data. 如需 OPC UA 的詳細資訊,請參閱連線工廠常見問題集For more information about OPC UA, see the Connected Factory FAQ:

工廠位置Factory locations

您可以瀏覽解決方案階層,並在每個層級上檢視 OEE 值和 KPI:You can navigate through the solution hierarchy and view OEE values and KPIs at each level:

  1. 在 [工廠位置] 中,按一下 [孟買]。In Factory Locations, click Mumbai. 您會看到此位置上的生產線。You see the production lines at this location.

  2. 按一下 [生產線 1]。Click Production Line 1. 您會看到此生產線上的工作站。You see the stations on this production line.

  3. 按一下 [封裝]。Click Packaging. 您會看到此工作站發佈的 OPC UA 節點。You see the OPC UA nodes published by this station.

  4. 按一下 [能源消耗]。Click EnergyConsumption. 您會看到以不同時間範圍呈現此值的一些圖表。You see some charts plotting this value over different timescales. 您可以按一下圖表,以進行進一步的資料分析。You can click on a chart to do further analysis of the data.

檢視能源消耗View energy consumption


如果您的訂用帳戶可存取 Bing 地圖服務 API,則「工廠」地圖會顯示解決方案中所有工廠的地理位置和狀態。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.



[警示] 面板會顯示當回報的值或計算的 OEE/KPI 值超過閾值時所產生的警示。The Alarms panel shows alarms generated when a reported value or a calculated OEE/KPI value goes over a threshold. 此面板會顯示階層中每個層級的警示 (從工作區層級到企業層級)。This panel displays alarms at each level of the hierarchy, from the station level to the enterprise. 每個警示都會包含描述、日期、時間、位置和發生次數:Each alarm includes a description, date, time, location, and number of occurrences:


您可以從儀表板分析造成警示的資料。You can analyze the data that caused the alarm from the dashboard. 如果您是系統管理員,您可以對警示採取預設動作,例如︰If you're an Administrator, you can take default actions on the alarms such as:

  • 關閉警示。Close the alarm.
  • 認知警示。Acknowledge the alarm.

按一下其中一個警示,在 [選擇動作] 下拉式清單中,選擇 [確認警示],然後按一下 [套用]:Click one of the alarms, in the Choose action drop-down, choose Acknowledge alert, and then click Apply:

確認警示Acknowledge alarm

若要進一步分析警示資料,請按一下警示面板上的圖表。To further analyze the alarm data, click the graph in the alarm panel.

這些警示是由解決方案加速器中的組態檔指定的規則所產生。These alarms are generated by rules that are specified in a configuration file in the solution accelerator. 當 OEE 或 KPI 數據或 OPC UA 節點值超過閾值時,這些規則即可產生警示。These rules can generate alarms when the OEE or KPI figures or OPC UA node values go over a threshold. 您可以設定此閾值。You can set this threshold value.

清除資源Clean up resources

如果您打算進一步探索,請讓連線工廠解決方案加速器維持部署。If you plan to explore further, leave the Connected Factory solution accelerator deployed.

如果您不再需要解決方案加速器,可加以選取,然後按一下 [刪除解決方案],從已佈建的解決方案頁面中加以刪除:If you no longer need the solution accelerator, delete it from the Provisioned solutions page by selecting it, and then clicking Delete Solution:


後續步驟Next steps

在本快速入門中,您已部署連線工廠解決方案加速器,並了解如何瀏覽您的工廠、生產線和工作站。In this quickstart, you deployed the Connected Factory solution accelerator and learned how to navigate through your factories, production lines, and stations. 您也看到了如何在階層中的每個層級上檢視 OEE 和 KPI 值,以及如何回應警示。You also saw how to view the OEE and KPI values at any level in the hierarchy, and how to respond to alarms.

若要了解如何使用儀表板中的其他功能,來管理您的工業用 IoT 裝置,請繼續閱讀下列使用說明指南:To learn how to use other features in the dashboard to manage your industrial IoT devices, continue to the following how-to guide: