The following configuration will demonstrate how you can set up a Traveler that will display a calculated value of many sorts.  Currently available functions of the Calc Name Value are Count, Sum, Min, Max, and Avg. 

This example will focus on the Sum function.  We will use it to do two things; Sum parts going through an Equipment Instance, and Sum materials consumed.  The only pre-requisite is that you have some Part Instances and at least one Equipment instance.

Configuring Step Definition For The Main Flow

  • Create a New Step Definition - This Step Definition will be used in the Main Flow.  It will also contain the Equipment NV that will run the Equipment Flow that we will create later on.

Name: Oven Selection

Operation Number: LVButton15x14Sequencer Auto-Generate Icon

Revision : LVButton15x14Sequencer Auto-Generate Icon

Name Value 1

Adding a New Name Value Pairto this step definition

Name: Epoxy Consumption [mL]

Value Type: Number

Clear Value On Move: True (checked)

Name Value 2

Name: Select Serialized Oven

Value Type: Equipment

Required To Complete Step: True (checked)

Equipment Flow Definition: We will define this later, after we complete it.

Configuring Main Flow Definition

Name: Oven Run (calc)

Operation Number: LVButton15x14Sequencer Auto-Generate Icon

Revision : LVButton15x14Sequencer Auto-Generate Icon

Flow Definition Type: Use Part

Equipment State When Active: WIP

Equipment State When Done: RMI

Flow Steps Tab

Add Step: Oven Selection

 

Configuring your Equipment Step Definition

  • Create a New Step Definitions - This Step Definition will be used on our Equipment Flow Definition.  It will also contain the key NV's that we will be using to keep a running Sum NV Calculation of consumed materials, and of parts ran through the Equipment.

Name: Oven Run Step (calc function)

Operation Number: LVButton15x14Sequencer Auto-Generate Icon

Revision : LVButton15x14Sequencer Auto-Generate Icon

  • Adding a New Name Value Pair to this Step Definition - The following NV's will need to be added and configured.  We will add a couple additional NV's for Oven Run Count, Parts Through Oven, and a basic Oven Temp NV.

Name Value 1

Name: Oven Temp [C]

Value Type: Number

Name Value 2

Name: Oven Run Count

Value Type: Counter

Name Value 3

Name: Parts Ran Through Oven

Value Type: Calc

Pre-Defined Variable Name
-- Previous Value -- PREV
-- Current Part Qty -- PARTQTY

 

String Formula: [PREV] + PRSUM([PARTQTY])

Name Value 4

Name: Total Epoxy Consumed [ml]

Value Type: Calc

Variable NV Variable Name
Epoxy Consumption [mL] EPCON

 

Pre-Defined Variable Name
-- Previous Value -- PREV

 

String Formula: [PREV] + PRSUM([EPCON])

Configuring your Equipment Flow Definition

  • Create a New Flow Definition - This Flow Definition will be used on a Equipment type NV.  It will hold the steps that are required for the Oven Instance we will be using.

Name: Oven EQ Flow (calc)

Flow Definition Number: LVButton15x14Sequencer Auto-Generate Icon

Revision : LVButton15x14Sequencer Auto-Generate Icon

Flow Definition Type: Use Equipment

Equipment State When Active: Production

Equipment State When Done: Standby

Flow Steps Tab

Add Step: Oven Run Step (calc function

Flow Status: Move from Pending to Active

Complete Equipment NV Configuration

  • Open NV - Previously, we were unable to complete the Equipment Flow used on the Equipment NV because the Flow had not been configured.  Now that we just completed it, we can go back and add it to the Equipment NV.

Name: Select Serialized Oven

Equipment Flow Definition: We will define this later, after we complete it.

 

You have now just completed the excersize of configuring a Flow that has a Calculated NV.

Useful Links