question

Hoang Nk avatar image
0 Likes"
Hoang Nk asked Andrew O commented

Trouble with placing boxes on the Conveyor and moving to the Sink


Hello folks,

I'm running into a problem at the moment with the Conveyor. As can be seen from the below figure, I would like the car to travel to the upper conveyor and pick 1 box. Then it will travel to the lower conveyor and drop the box there. The box is then supposed to exit to Sink1.

My problem is at the lower conveyor where the box doesn't move and just stays there. I tried connecting Queue1 to the conveyor and dropped the box at Queue1, then the box was transferred right away to Sink1. However, in my model, I would not want to put a Queue in front of a conveyor to drop the box.

1673403342544.pngconveyor_test.fsm


Is there any way that could help me tackle this problem? I also tried using the Conveyor.sendItem() but it didn't do any good.

Regards,

Hoang

FlexSim 22.2.1
conveyor
1673403342544.png (72.0 KiB)
conveyor-test.fsm (45.1 KiB)
· 2
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

There seems to be a item flow connection missing from upper to lower conveyor. If you have build a flow connection you can place a decision point on first conveyor to send specific items to a then automatically created exit transfer. In this transfer you set an option to use a transport. But this description is part of manual sections about conveyor flow. Please read and adjust your model. If you have still specific problems about exit transfers then you are always welcome to ask questions

0 Likes 0 ·
Andrew O avatar image Andrew O commented ·

Hi @Hoang Nk, was one of Joerg Vogel's or Felix Möhlmann's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel edited

I don't understand, which item exactly do you want to extract from conveyor StraightConveyor1.

Object obj = conv.itemData[1].object;

itemData datatype is not an array. It expects a reference to an item. This is a treenode and not a number.

Your Process Flow creates tasksequences, which uses data at the moment that are present in your model. BUT those values might be not available anymore, when your created tasksequence gets into execution.

And currently there is not a mechanism present to insert a conveyor item just by code. You need always a sending 3d Object and an EntryTransfer at a conveyor. Internally the conveyor module resolves incoming items in an Entry Transfer to find a gap on conveyor for transport.

Assuming you want to transport only some items, I have repaired your model.

conveyor_exit_by_transport_randomly.fsm


5 |100000

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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

You need to unload the item into an Entry Transfer for it to properly register as being on the conveyor.

5 |100000

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

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.