Flowitem only goes to one conveyor

Flowitem only goes to one conveyor

glenys_c
Not applicable
31 Views
8 Replies
Message 1 of 9

Flowitem only goes to one conveyor

glenys_c
Not applicable

[ FlexSim 20.2.1 ]

Hello, I currently have 1 conveyor that sends flowitems to 2 other conveyors. However, flowitems only goes to conveyor1 even though conveyor2 is empty. Have attached a picture for better reference. I am unable to attach my file as it exceeds the allowable upload size please do let me know if you would like for me to email it instead. Thank you!

35930-1610609577946.png

0 Likes
Accepted solutions (1)
32 Views
8 Replies
Replies (8)
Message 2 of 9

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution
In the DP onArrival you're probably referring to a centerObject or outObject connection on the DP that doesn't exist. You can see that in the system console. Check your connections and if needed add a breakpoint to the onArrival trigger and step through your code.
0 Likes
Message 3 of 9

glenys_c
Not applicable

Hi Jason @jason.lightfoot, there is no error on the system console now. However, the flowitems are still only going to the same conveyor only.

35976-screenshot-981.png

0 Likes
Message 4 of 9

joerg_vogel_HsH
Mentor
Mentor

I suggest a different layout. One single straight conveyor from multiprocessor to combiner packaging72. A side transfer normal attached conveyor for the diversion to the other combiner.

The decision point logic looks only for items which are leaving the first straight conveyor and if the condition is true, then the item is sent to a decision point on the normal attached conveyor,

The deciding decision point on the first conveyor is quite a bit in a distance to the side transfer, not near to the point of exiting. The connected decision point is quite in the middle on his conveyor.

If you need your design for special circumstances, you haven’t described, then it would be a nice move to attach a model, otherwise we guess what might gone wrong, until by chance we find the right answer for you.

Message 5 of 9

SCHamoen
Advisor
Advisor

@Glenys C It is very difficult to see what is wrong without the model. But give the fact that the problem is just in this last part can you just copy this last part in a new model and make a small model that way and upload that. That would give us the chance to tell you what is wrong.

Message 6 of 9

glenys_c
Not applicable

Hi @steven.hamoen, I have copied the last part in a new model and have attached the file below. Thank you!

Conveyor (1).fsm

0 Likes
Message 7 of 9

glenys_c
Not applicable

Hi @Jörg Vogel, I tried to implement your approach (hopefully I understood you correctly and did it right) but the results are still the same, the flow items only go to one conveyor.

36038-1610945727287.png

0 Likes
Message 8 of 9

SCHamoen
Advisor
Advisor

Hi @Glenys C You had 2 problems. The first is that placing the first decision point the way you did it, is very complex. To be able for a box to go straight on the exit has to be a small bit further down the long conveyor than the entry. And the decision point has to be put just in the middle. Which is complex. So I just placed the first decision point on the conveyor after the machine. The other thing is that you didn't have any logic on the decision point to determine that it had to go straight. If you look at the properties and open the Decision Point Type field you will get a new gui with triggers and there I entered on the arrival trigger code that let's 50% go on and 50% go to the right. Hope this helps.

conveyor1_TAL.fsm

0 Likes
Message 9 of 9

glenys_c
Not applicable

Hi @steven.hamoen, thank you so much! It works really well now. Thank you for explaining the errors as well and your taken approach, really appreciate it. Thank you!

0 Likes