Cancel
Showing results for 
Search instead for 
Did you mean: 

Make the workers rest in workpool until a condition comes true

Pioneer
Pioneer

Hello, I have two workers which in the start of the simulation carry parts from a part of the factory to an assemblystation. When they finish with the parts of that part of the factory the have to go to other part o the factory to carry parts to the same assemblystation.

 

The parts of the second part of the factory have to take a lot of time to be ready so I want to say the workers to take a rest (but without losing the service,like in the break of a shiftcalendar) when they finish with the materials of the first part of the factory until a variable (boolean) say that the materials of the second part of the factory are ready to take.

 

Thanks

1 REPLY 1

Re: Make the workers rest in workpool until a condition comes true

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi Santiago94,
you want to start a carry operation if a Variable object of type boolean is true.
But that seems to be simple: You use the following exit control of the object, where the carry operation is defined.

waituntil variable prio 1;
@.move;

Regards,

Peter