Asset maintenance scenario (preview)
[This article is prerelease documentation and is subject to change.]
The asset maintenance scenario lets you use sensor data to create counter records. Counter records track the use of a machine asset and are used as input to generate the maintenance schedule for machine assets.
The following video shows how to set up and try out the asset maintenance scenario using standard demo data. The remaining sections in this article provide the same instructions in a text-based format.
If you want to use a demo system to test the asset maintenance scenario, use a system where the demo data is installed, select the USMF legal entity (company), and prepare the additional demo data as described in this section. If you're using your own sensors and data, you can skip this section.
In this section, you will set up the AK-101, Air knife asset in demo data as an example. You will then see how upcoming maintenance work can be predicted based on sensor signals that measure the number of hours that the air knife has been running. You will also set up a maintenance plan where the air knife must be maintained every 10,000 hours.
If you want to try this scenario without using a physical sensor, you can set up a simulator to generate the required signals. Learn more in Set up a simulated sensor for testing.
Follow these steps to create an asset counter to track production hours.
Go to Asset management > Setup > Asset types > Counters.
On the Action Pane, select New to create a counter.
On the header, set the following values:
- Counter: ProductionHr
- Name: Production hours
On the General FastTab, set the following values:
- Unit: hr
- Update: Manual
- Total aggregate: Sum
On the Asset types FastTab, select Add line.
On the new line, set the Asset type field to Air knife.
Follow these steps to create a maintenance plan for the asset.
Go to Asset management > Setup > Preventive maintenance > Maintenance plan.
On the Action Pane, select New to create a maintenance plan.
On the header, set the following values:
- Maintenance plan: AirKnife
- Name: Plan for air knives
On the Details FastTab, set the following values:
- Plan date: Enter today's date.
- Active: Yes
On the Lines FastTab, select Add asset counter line to add a line to the grid. Then set the following values for it:
- Work order description: Maintenance for air knife
- Maintenance job type: Preventive
- Interval type: Repeated from last work order
- Period frequency: 10000
- Counter: ProductionHr
Follow these steps to set up the asset maintenance scenario in Supply Chain Management.
Go to Asset management > Setup > Sensor Data Intelligence > Scenarios.
In the Asset maintenance scenario box, select Configure to open the setup wizard for this scenario.
On the Sensors page, select New to add a sensor to the grid. Then set the following fields for it:
- Sensor ID – Enter the ID of the sensor that you're using. (If you're using the Raspberry PI Azure IoT Online Simulator and have set it up as described in Set up a simulated sensor for testing, enter AssetMaintenance.)
- Sensor description – Enter a description of the sensor.
Repeat the previous step for each additional sensor that you want to add now. You can come back and add more sensors at any time.
Select Next.
On the Business record mapping page, in the Sensors section, select the record for one of the sensors that you just added.
In the Business record mapping section, select New to add a row to the grid.
On the new row, the Business record type field should automatically be set to Assets(EntAssetObjectTable). Set the Business record field to the resource that you're using the selected sensor to monitor. (If you're using the demo data that you created earlier in this article, set it to AK-101, AK-101 Air Knife for Line 1.)
Immediately after you select a business record type for the row that you added in the previous step, a second row is automatically added to the grid. On this row, the Business record type field should be set to Counters(EntAssetCounterType). Set the Business record field to the asset counter that you're updating based on signals from the selected sensor. (If you're using the demo data that you created earlier in this article, set it to ProductionHr, Production hours.)
Select Next.
On the Activate sensors page, in the grid, select the sensor that you added, and then select Activate. For each activated sensor in the grid, a check mark appears in the Active column.
Select Finish.
After the data is prepared, and the asset maintenance scenario is configured and activated, you can see how records for an asset counter are inserted based on sensor data.
- Go to Asset management > Assets > All assets.
- Find and select the asset that you want to inspect. (If you're using the demo data that you created earlier in this article, select AK-101.)
- On the Action Pane, on the Asset tab, in the Preventive group, select Counters to open the page for counter records for asset AK-101.
Note
The counter records are configured by default to be inserted every three hours, which means sensor data will be aggregated at that interval. You can change the interval by editing the query in the Azure Stream Analytics component.
After you enable the asset maintenance scenario and set up the maintenance plan, you can run the maintenance schedule to generate maintenance work orders. For more information about how to work with preventive maintenance, see Preventive maintenance overview.