Cancel
Showing results for 
Search instead for 
Did you mean: 

transporter control

Creator
Creator

hello everyone,

I have a problem dealing with the transporter control. I want to use the transporter (Number of transporters is adjustable) to load the parts from different puffers (Buffer1,2,3) and unload them to other puffers (Buffer 4 to 7). Since the load capacity is 6 parts each transporter, the whole batch is 200,100,50 each. How can I simulate this behavior: for example, if the first part a is unloaded to Buffer4, than the whole 200 part of a  should be transported to Buffer 4. The reason is to minimize the set-up time in the SingleProc4 to SingleProc7, so the whole batch should not be broken. I have tried sorter and sensor control, but they do not work so well.

 

THANK YOU very much in advance for any ideas and support!

 

Best regards!

Dan

 

12 REPLIES

Re: transporter control

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
if a buffer is occupied, you can read the name of one of the parts with e.g.:

buffer1.cont.name --> make your decision
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: transporter control

Experimenter
Experimenter
Hi Dan,

There are many ways to do this.

1. Move the mus on a Container and move the container on the transporter.
For eg: move 200 mus on container and move the container on transporter.

2. To use less computer memory simply create an attribute with “batchSize” for each container. Put the value of each batch in the attribute and at the time of movement u can create the mus based on the batch size for that particular container.

I hope i answered your question.

Re: transporter control

Creator
Creator

Hello Steffen,

thank you for your quick reply and suggestion.I just noticed that I didn't upload my model picture successfully. I attached my model file this time. Could you please explain a little bit more. I am a beginner of this program, so I still can´t solve this problem.

Thank you so much.

Dan 

Re: transporter control

Experimenter
Experimenter
Right now i dont have access to my computer. I will try to answer this as and when i get hold of it. Sorry to keep you waiting.

Regards
Sachin Tandulkar

Re: transporter control

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

I cannot edit your model (you are using a non-commercial license)

first: have a look in the help, there is a setting for the sensors, Active --> Only if destination

if you set a destination for the sensors near the buffers and set the right destination in the transporter, the transporter will trigger only the right sensor

 

if you load the parts from the enttrance buffers you need to make the decision, where to transport: (after loading the transporter)

 

if buffer4.occupied and @.cont.name = buffer4.cont.name  then

  @.destination:=buffer4

elseif buffer5.occupied and @.cont.name = buffer5.cont.name  then

@.destination:=buffer5

--and so on

--at the end of the decision look for an empty buffer

elseif buffer4.empty then

@.destination:=buffer4

--and so on

end

 

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

Re: transporter control

Creator
Creator

Thank you, Steffen, I tried your suggestions so (see picture), and added the code to assign the right destination to the sensor, but it seems no destination is assigned and so no MUs is unloaded to the buffer

Upload methode code:

if buffer4.occupied and @.cont.name = buffer4.cont.name
@.destination:=buffer4
elseif buffer5.occupied and @.cont.name = buffer5.cont.name
@.destination:=buffer5
elseif buffer6.occupied and @.cont.name = buffer6.cont.name
@.destination:=buffer6
elseif buffer7.occupied and @.cont.name = buffer7.cont.name
@.destination:=buffer7

elseif buffer4.empty
@.destination:=buffer4
elseif buffer5.empty
@.destination:=buffer5
elseif buffer6.empty
@.destination:=buffer6
elseif buffer7.empty
@.destination:=buffer7
end

var i: integer
if Buffer4.full=false
for i:=1 to 6
if@.cont.void=false
@.cont.move(Buffer4)
end
next
else@.move
end

 

Re: transporter control

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
in the field destination you need to insert the buffers (buffer4, buffer5...)
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: transporter control

Creator
Creator

here the updated model file 

thank you!

Re: transporter control

Creator
Creator

hello Steffen,

I have tried that. But it still doesn't work. Could you please check is there anything wrong with my updated model again? I am sorry for being not able to understand it so well. Thany you again!