question

gust-flex avatar image
0 Likes"
gust-flex asked gust-flex commented

Merge two objects on table and move table

Hello, I am trying to simulate an assembly line where the operator first does a pre-assembly on the table. Here he is going to take 2 products from the rack and place them on top of each other. But my "Find Item" is not working. (In the uploaded file I put it as "anny item" but i want to change that).

If I set the SQL to "WHERE product == $1.HandlingType" the code doesn't work....


- also why are the objects not placed on the table but floating?

- I would also like to move the table (in reality there are wheels underneath and the operator moves this table) Is this possible to simulate?

- I also struggle with the stacking of the boxes in the tote on the AGV. I want them to stack next to each other in stead of on each other.

Can someone help me? Thank you in advance!

test_AGV_assemblyline.fsm

FlexSim 23.2.1
finditemfloatingmove table
· 1
5 |100000

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

gust-flex avatar image gust-flex commented ·

The question of the objects floating on a table is solved thanks to the post "packing on narrow table with proces flow?" I aven't figured out the other questions...

0 Likes 0 ·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered gust-flex commented

- I assume you are talking about the "samenvoegen WPO1" flow in regards to the Find Item activity. The tokens there do not have a label called "HandlingType", so it first needs to be added before the query is run.

- You can have the operator load the table and move to specific coordinates with it, then move the table back into the model and set its location (all values here are placeholders)

1711535665826.png

- The boxes are unloaded into the AGV, which will stack any items it contains on top of each other (tote -> box -> box -> ...). Unload the boxes into the tote. They will then be placed according to the stacking logic of the tote. (Since the AGV is assigned to the label "pallet" and the tote is the first/only item in the AGV you can use "token.pallet.first" to refer to the tote).


1711535665826.png (38.4 KiB)
· 7
5 |100000

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

gust-flex avatar image gust-flex commented ·

Hi @Felix Möhlmann , thanks for the answers. But I still can't find the solution for my first question with the "FindItem". Maybe this testfile can help.

Actually I want to pick up the item with the right value and than I want to merge 2 items together on the table. Can you help me?

1711542795286.png

test_pick_item_from_rack.fsm

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann gust-flex commented ·

Now "token.blok" which you use to assign the "HandlingType" label does not exist. (The error message that appears when you run the model tells you this.)

It sounds like what you want to do is: Take any item from the rack and move it to the table, then take a second, matching item and combine the two.

For that it doesn't really make sense to use an Event-Triggered Source, since you will end up with one token per item that enters the rack. Which will ultimately leave half the tokens unable to find a match.

A single persistent token might make more sense.

test-pick-item-from-rack_1.fsm

0 Likes 0 ·
gust-flex avatar image gust-flex Felix Möhlmann commented ·
Actually I don't want to take "Any Item". If you look at the rack I ordered it on "ProductType", so now I want to take an Item with the corresponding ProductType value but I don't know how to write the query...
0 Likes 0 ·
Show more comments
gust-flex avatar image
0 Likes"
gust-flex answered gust-flex commented

@Felix Möhlmann how can I make it possible to pick up 32 orange items (without unloading it on the table) and move to the second table and destroy all 32 items?

· 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.

Felix Möhlmann avatar image Felix Möhlmann commented ·

A good method to do the same process (find and load item) x number of times is to use a SubFlow. In the Run Sub Flow activity, you can specify how often the subflow should be completed before the token can continue.

The settings on the activities in the attached example are such that you end up with an array label (Items) on the main token that contains all loaded items, which you can use to further manipulate (in this case destroy) the items.

1711644812222.png

1711644833950.png

test-pick-item-from-rack-4).fsm

0 Likes 0 ·
gust-flex avatar image gust-flex Felix Möhlmann commented ·
Thanks!
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.