Using the "ALL" Entity Type

The reserved word ALL may be entered as the processing entity if all entity types at that location have the same operation. ALL may also be used in the output field of the routing if all entity types at that location have the same routing. If a process record for a location using ALL as the entity follows several process records for the same location using specific entity names, and each process record has a defined routing, the ALL process is interpreted to mean ALL of the rest of the entities. The following examples show how ALL may be used in different situations.

1. All entities have a common operation and a common routing.

To define a common operation and routing for all entity types at a location, simply enter ALL for both the process entity name and the output entity name.

In the following example three entity types, EntA, EntB, and EntC, are all sent to a packing station for packaging. The packing time is .5 minutes and the entities move on to a shipping station. Though this is a simple example, it shows how one process and routing record is used for all entity types. In contrast, the previous operations at Loc1, Loc2, and Loc3 require separate process and routing records for EntA, EntB, and EntC.

Process Table

Entity

Location

Operation (min)

EntA

Loc1

WAIT N(5,.3)

EntB

Loc2

WAIT U(3,.2)

EntC

Loc3

WAIT T(3,5,9)

ALL

Packaging

WAIT .5

Routing Table

Blk

Output

Destination

Rule

Move Logic

1

EntA

Packaging

FIRST 1

MOVE FOR 1

1

EntB

Packaging

FIRST 1

MOVE FOR 1

1

EntC

Packaging

FIRST 1

MOVE FOR 1

1

ALL

Shipping

FIRST 1

MOVE FOR 1

2. All entities have common operations but individual routings.

To define common operations but individual routings, use ALL as the process entity and define the common process, but do not define any routings. Then define individual processes for each entity type at the common location, with a blank operation field and the desired routing.

Process Table

Entity

Location

Operation (min)

ALL

Packaging

WAIT .5

EntA

Packaging

 

EntB

Packaging

 

EntC

Packaging

 

Routing Table

Blk

Output

Destination

Rule

Move Logic

 

 

 

 

 

1

EntA

Ship1

FIRST 1

MOVE FOR 1

1

EntB

Ship2

FIRST 1

MOVE FOR 1

1

EntC

Ship3

FIRST 1

MOVE FOR 1

If only the destination is different, but move times and output quantities are identical, an alternative method is to assign each entity an attribute that corresponds to the destination's name-index number and then route with the LOC() function as shown in the following example.

Process Table

Entity

Location

Operation (min)

ALL

Packaging

WAIT .5

Routing Table

Blk

Output

Destination

Rule

Move Logic

1

ALL

Loc(Att1)

FIRST 1

MOVE FOR 1

 

3. All entities have a common routing but individual operations.

To define individual operations along with a common routing for all entity types at a location, define operations for each entity, but do not define any routings. Then define a process record for ALL at this location and define the common routing for all entity types.

Process Table

Entity

Location

Operation (min)

EntA

Loc1

WAIT .4

EntB

Loc1

WAIT .5

EntC

Loc1

WAIT .6

ALL

Loc1

 

Routing Table

Blk

Output

Destination

Rule

Move Logic

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

ALL

Packaging

FIRST 1

MOVE FOR 1

Alternatively, you can assign an attribute to each entity which represents the processing time or some other entity-specific parameter. Then use the attribute as the processing time, or call a subroutine and pass the attribute as a parameter for entity-specific processing.

In the following example, the test time for each entity type is different. This time is stored in an attribute, Oper_Time. The attribute is then listed on a line in the operation logic (with a WAIT statement) to signify an operation time. Once the test time for each entity is completed, the entities are all routed to a packaging location.

Process Table

Entity

Location

Operation (min)

ALL

Test

WAIT Oper_Time

Routing Table

Blk

Output

Destination

Rule

Move Logic

1

ALL

Packaging

FIRST 1

MOVE FOR 1