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!
Solved! Go to Solution.
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
elseif buffer5.occupied and @.cont.name = buffer5.cont.name then
--and so on
--at the end of the decision look for an empty buffer
elseif buffer4.empty then
--and so on
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
elseif buffer5.occupied and @.cont.name = buffer5.cont.name
elseif buffer6.occupied and @.cont.name = buffer6.cont.name
elseif buffer7.occupied and @.cont.name = buffer7.cont.name
var i: integer
for i:=1 to 6