How-To Guides
Analytics Guides

Use the Production Time and Cycle Time Ratio KPI

7min

The Production Time and Cycle Time Ratio KPI mainly deals with production time and the ideal production cycle.

You can utilize this KPI to monitor the production cycle time compared to an ideal production cycle time and keep a record of how long it takes to complete the production cycle with a total number of manufactured units in that cycle.

For this KPI, two input definitions are required: manufactureStart and manufactureEnd

These are event triggers that are activated at the start and end of the manufacturing cycle.

User Scenario

Review the following scenario for the production time and cycle time ratio KPI processor. Then, using an input processor, you will simulate PLC data and calculate the cycle time ratio and production time.

In a manufacturing plant, the Production Time/Cycle Time Ratio KPI can be used to keep track of the time it takes to complete production. A production manager can use the KPI to ensure that the time taken to finish manufacturing aligns with the set benchmarks used to compare the actual production cycle time to the ideal standard. This can help the team identify areas for improvement and make the production process more efficient.

Step 1: Add a Device

Follow the steps to Connect a Device and configure the following parameters:

  • Device Type: Simulator
  • Driver Name: Generator
  • Enable Alias Topics: Select the checkbox.

Step 2: Add Tags

After connecting the device, add the following tag. See Add Tags to learn more.

Tag 1: manufactureS

  • Name: Select S - Random value generator.
  • Value Type: Select float64.
  • Polling Interval: Enter 1.
  • Tag Name: Enter manufactureS.

Tag 2: manufactureE

  • Name: Select S - Random value generator.
  • Value Type: Select float64.
  • Polling Interval: Enter 1.
  • Tag Name: Enter manufactureE.

Step 3: Create Analytics Flow

You can now create the analytics flows using data from the device and tag you previously created.

To create an analytics flow with the Production Time and Cycle Time Ratio function:

  1. In Manufacturing Connect Edge, navigate to Analytics.
  2. On the analytics canvas, click Add processor. The Create a processor dialog box displays.

    The Add processor option
    The Add processor option
    
  3. Select DataHub Subscribe.
  4. In the Topic field, click the Search icon, select the device you previously created, and then select the alias topic for the tag1: manufactureS.

    Create a Processor dialog box
    Create a Processor dialog box
    
  5. Click Save.
  6. Repeat steps 2-5 to add another DataHub Subscribe processor for the manufactureE tag.

    Canvas flow with two DataHub Subscribe processor
    Canvas flow with two DataHub Subscribe processor
    
  7. Click Add processor again and select the Production Time and Cycle Time Ratio processor. The following information defines this function:
    • Manufacture Start From & Manufacture Start To: If your input changes Manufacture Start From value to Manufacture Start To value, it will trigger the start of the manufacturing cycle.
    • Manufacture End From & Manufacture End To: If your input changes Manufacture End From value to Manufacture End To value, it will trigger the end of the manufacturing cycle.
    • Ideal Cycle Time: Enter the standard production cycle time in seconds.
    • Time Interval: If the tag publishes at the expected interval, it is better to disable this timer by entering 0 in the field.
    • Click Save.

      Edit a Processor dialog box
      Edit a Processor dialog box
      
  8. Connect the DataHub Subscribe processor (tag: manufactureS) to the Production Time and Cycle Time Ratio processor with a wire. Use the Events connection and enter a definition of manufactureStart for the connection.
  9. Repeat step 8 for tag: manufactureE and enter a definition of manufactureEnd for the connection.
  10. On the analytics canvas, click Save.

The configured analytics flows should look like the following:

Completed Flow Canvas
Completed Flow Canvas


Step 4: View Output of Processor

Click the View icon in the Production Time and Cycle Time Ratio processor to view the output values.

In the output, you will find the total count of manufactured units along with the production time and the ratio of the current cycle time to the production time.

Output of Production Time and Cycle Time Ratio processor
Output of Production Time and Cycle Time Ratio processor