Skip to content

Alternating Entities

LegacyHow this worked in the previous version

When you want entities entering an activity from different locations to alternate (take turns).

Alternating Entities

The following model object can be found in the model objects directory:

  • Flow Control - Alternating Entities
  • Ease of Use: Easy
  • Ease of Modification: Easy
  • Open Your Model: Open your model or create a new blank model.

  • Insert the Model Object into Your Model

  • Locate the model object Alternating Entities and select the insert button.

  • Move the cursor to the point of insertion and left mouse-click. The upper left corner of the model object will be inserted at the location of the mouse-click.

  • Connect to Your Model

  • **Connect **the left end of each route to the location in your model for each source of entities.

Alternating Entities

  1. Connect the right end of each route to the location where you want the alternating entities to be processed.

Alternating Entities

This model object uses gates to control which entity is allowed to move forward. Each entity will alternate because of the action logic in each entry route into the activity.

Alternating Entities

  • Completion: The model object is now integrated into your model, you should now be able to save and then simulate the model.
  • v_Gate1: The gate controlling when the ITEM entity can enter, 1 = ok to enter.
  • v_Gate2: The gate controlling when the ITEM2 entity can enter, 1 = ok to enter.