Skip to main content

Tag Configuration

The Launchpad OEE project requires each line to be set up as an instance of the LineConfig UDT, with that instance connected to your devices to pull outfeed, reject, and line status information.

Device Connection

At least one device connection is required to control the line inputs from a real device. There are three line inputs: line state, production counter, and reject counter.

Creating Lines

Each line is an instance of the LineConfig UDT. All lines must be created in one folder referred to as the Base Tag Folder.

  1. First create a new tag folder. In this example, we are setting up the Folsom site and storing our OEE tags in a Production folder.

    New Folder

  2. Now that the folder is created, we can add new instances of the LineConfig UDT to that folder for each line. See Creating an Instance for more instructions.

    • Using this example, we will right-click the Production folder, then select New Tag > Data Type Instance. Navigate from the Exchange folder to Launchpad > OEE and select the LineConfig UDT. The new instance will be created and the Tag Editor will open. We will now configure the line.

    New Tags

Line Configuration

  1. Enter a Name.

    • Name the New Instance with your line name. In this example, our line is named South.

      Tag Edit

  2. Map the Inputs

    • Each line has up to three inputs, all located in the LineConfig/Plc folder. By default these are OPC tags, but they can be changed if needed. In this step you will map the Production Counter, Reject Counter, and State to your PLC.

      UDT PLC Folder

  3. Set the Production Counter

    • The ProductionCounter needs to increase by 1 each time a unit is completed, so it must be mapped to your line PLC in such a way that the value increases by 1 for each unit produced.

      If your assembly line is configured to have multiple units completed for each signal on this tag, you can use the Config/OutfeedFactor Memory tag to account for that. By default, the OutfeedFactor tag is set to 1, so an increase of 1 on the ProductionCounter tag is recorded as 1 completed unit. Changing this value will multiply the ProductionCounter by that value for the OEE calculations.

  4. Set the Reject Counter

    • The RejectCounter needs to increase by 1 each time a unit is rejected for Quality issues, so must be mapped to your line PLC in such a way that the value increases by 1 for each unit rejected.

      If your assembly line is configured to have multiple units rejected for each signal on this tag, you can use the Config/RejectFactor Memory tag to account for that. By default, the RejectFactor tag is set to 1, so an increase of 1 on the RejectCounter tag is recorded as 1 completed unit. Changing this value will multiply the RejectCounter by that value for the OEE calculations.

  5. Verify the PLC State

    • The logic in the OEE and Production calculations use the following states:

      • 0: Off/Idle
      • 1: Running
      • 2: Faulted

      If your PLC states vary from this list, you will need to use Derived tags to map the states to the expected ones.

  6. Save the tag and verify mapped values are working.

  7. Change the Enabled tag to True to start calculating OEE and production values and recording them to the database.

Mapping Examples

The following three examples portray how the various tags can be mapped and edited.

  1. Production Counter

    In this example, we will map the Production Counter in the South instance of the LineConfig UDT directly to the tag address for the case counter.

    Production Tag

  2. Reject Counter

    In this example, we do not need a reject counter tag, so we will change the tag type to Memory with a value of zero.

    Reject Memory Tag

  3. State

    Finally, we will map the State in the South instance of the LineConfig UDT directly to the tag address for the line state.

    Production Tag

    When all configuration is completed, we will click OK to save the changes and verify that the mapped values in the Plc folder are updating as expected.

    UDT testing

    When we are sure that the new instance is working as expected, we will change the Enabled tag to True in order to start calculating the OEE and Production values and recording them to the database.

Base Tag Folder Update

Any time the Base Tag Folder is changed, you'll need to update the oee script. To do this, navigate to the exchange/launchpad/oee script in the Project Browser and click to open it.

Project Scripts

Update the Base Tag Folder value to match the folder you created and save the project. From the example above, we would make the new value "[default]Folsom/Production".

Set Folder

Line Refresh

Any time a new line is configured or the line configuration has be edited, you'll need to to refresh the line display on the Settings screen. Red overlays will appear on the screen to indicate the project needs to be refreshed. Click the Refresh icon next to the Line selection dropdown to initiate a tag browse on the Base Tag Folder, which will populate the line list correctly.

Line Refresh