question

Amy M3 avatar image
0 Likes"
Amy M3 asked Amy M3 commented

Sending item on conveyor in process flow

I'm having trouble routing pallets on my conveyors. The black pallets should go towards location combiner 11 before continuing down the main conveyor line. If combiner 11 is satisfied, there must be one more pallet on conveyor StraightConveyor_4488_4 and then it should move down the main conveyor toward line 22 (red arrow on pic). In the pic, the pallet should be moving but won't. It seems if I use a decision point, it has to be right before i get to the entry for the conveyor to combiner 11 or it won't turn in. I tried moving this to process flow but I cannot get the send item to do anything although the token does go through the activity (circled below the part that is not working).


Model - https://nestle-my.sharepoint.com/:u:/p/amy_miles_purina/EYXOK5LVG9dOqtZvYftIrP8BZC77UJpyLweE8PmkfIPAcQ?e=ZCmyzW

1636062346949.png1636062756001.png

FlexSim 21.2.3
send to on conveyor
1636062346949.png (321.3 KiB)
1636062756001.png (60.9 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Amy M3 commented

The issue is that you are (unnecessarily) stopping the items again before the token enters into either of the "Wait for Event" activities. In FlexSim an object needs to be "resumed" as many times as it was stopped before it actually starts going again. So if the token falls through one of the decides and is stopped again, a single resume doesn't suffice.

Simply remove those two custom code activities (the items are still stopped from the first one after the source) and your logic should work.

1636109815330.png


1636109815330.png (33.4 KiB)
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Amy M3 avatar image Amy M3 commented ·

Thanks Felix, i took those out but it's still not executing the send correctly. I don't think it likes the decision point to be right at the transfer, but that's where the pallet gets held in real life. If i put a decision point on prev conveyor, it works until i need to hold a pallet at the transfer, then it won't go into the line when it's open (at time 1644.23). I don't really think i need the first decision point since process flow should be doing the send but I can't get it to to turn into the line without it. MOdel - https://nestle-my.sharepoint.com/:u:/p/amy_miles_purina/EWvQCN2xt5pCltie0WFJO_UBgOD8a9xAA2-RShv8gHaCAw?e=SRx7xW



1636119860622.png

0 Likes 0 ·
1636119860622.png (480.8 KiB)
Felix Möhlmann avatar image Felix Möhlmann Amy M3 commented ·

Sorry, I thought the pallet not contiuing was the only issue. It is indeed the case, that an item can only be redirected to a different conveyor before the leading edge of that item has passed the conveyor transfer.

In this case you could work around it by always sending the item to combiner11 with the previous decision point. The logic can then redirect them to move straight instead, as that transfer is not reached by the time the process flow is triggered.

1636124228184.png

0 Likes 0 ·
1636124228184.png (210.3 KiB)
Amy M3 avatar image Amy M3 Felix Möhlmann commented ·
Thanks Felix! Ryan was able to create a custom code that is much easier than what I was trying to do so it's working now.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.