mu (material flow objects)

Syntax

<Path>.mu([Index:integer]) → object

The method mu accesses all MUs whose booking point is located on the object designated by <Path>.

Parameter

When you enter the optional parameter Index of data type integer, Plant Simulation accesses the MU designated by the parameter of data type integer. For a parameter greater than the number of parts booked on the object, Plant Simulation returns VOID. When you do not enter the optional parameter, Plant Simulation accesses the first MU.

Note:

For the object Buffer Plant Simulation accesses the MUs in the Buffer in the order in which they entered the Buffer, independent of the Buffer type (Stack or Queue) you selected. The method mu does not refer to the storage place of the MU in the Buffer, but is just a counter for the MUs located in the Buffer. To access the next MU, which will exit the Buffer according to the buffer type Stack or Queue, use the method Cont.

Return Value

The return value has the data type object.

Example

var i : integer
-- accesses all MUs
for i := 1 to ParallelStation.numMu 
  print ParallelStation.mu(i).name
next

Related Topics

Contents

muPart