cancel
Showing results for 
Search instead for 
Did you mean: 

Moving Mus wrt time

Experimenter
Experimenter

Hi,

 

My question is following,  I have assembly of 2 different types of Mus.

I need to pull them through using a single proc at the following speicific times.(or any other suggestions)

 

i.e., Mu Assembly A between 18:00 and 21:00 hours

       Mu Assembly B between  8:00- 10:30 hours

 

After the single proc it goes  through other flow materials and perfomes different  functions like dismantle  and assemble at the end of the process again.

 

Thanks in advance.

 

 

1 REPLY

Re: Moving Mus wrt time

Phenom
Phenom

you can use a generator that is called a method in an interval of e.g. one minute. In the method you can check, if the successor is free, if it is the right time, parts available and so on. Then you can move the right kind of parts.

 

e.g.

 

is
do
  --check time
   if timeOfDay(eventController.absSimTime) >=(18*3600) and
      timeOfDay(eventController.absSimTime) <(21*3600) and
      succObject.empty and AssemblyABuffer.occupied then
     AssemblyABuffer.cont.move(succObject);
  elseif   ....


  end;

end;

times you need to set as seconds.

 


Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net