Cancel
Showing results for 
Search instead for 
Did you mean: 

unloading transporter

Builder
Builder

i have a transporter on a track,on the middle end of the track i have a sensor which triggers a method moving the content of transporter to a buffer.but instead of moving all the content of the transporter it only moves one.

 

method which i have used is

 

@.cont.move(buffer); 

 

its not working .how can i move all the content of the transporter to the buffer.???

4 REPLIES

Re: unloading transporter

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

try a loop for moving all MUs

while @.occupied loop
  @.cont.move(buffer); 
wait(0.001);
if buffer.full then
exitloop;
debug;--buffer is full, avoid endless loop
end;
end;

 

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

Re: unloading transporter

Builder
Builder

Hi Steffen_B

its not working,its again moving only one container out of the transporter.what coulb be wrong??

Re: unloading transporter

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

cont returns only one MU. The buffer needs enough free capacity and the procTime of the buffer should be zero, and use the Buffer instead of the PlaceBuffer.

 

You can also use the transferstation for unloading the transporter.

Can you post your method?

 

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

Re: unloading transporter

Builder
Builder

Thanks a lot .its working now.