question

luis-rodrigues avatar image
0 Likes"
luis-rodrigues asked luis-rodrigues commented

Load empty tables

Hi. Now I'm working on another feature of my model in which I want to load empty boxes to be load with the material that comes from the palletizer. I was able to do this for the palletizer02 but I wanted to make it global to the model, I'm having difficulties assigning labels to the "items" in the transport operations.

ml00-to-ml04 - mesas vazias.fsm

FlexSim 24.1.0
labels
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
0 Likes"
Felix Möhlmann answered luis-rodrigues commented

First off, I would assign all the needed references to token labels before the relevant section of the Process Flow (palletizer and table queue). The "Empty_Tables" queue pushes its items to a list, so you should pull them from there. Since the child tokens only access labels on the parent, you can add each item to the front of a (array-)label, meaning the item to load is always going to be the one at the first index of the array.

When unloading, assign each child token an index label that then determines which item is unloaded.

ml00-to-ml04-mesas-vazias-fm.fsm


· 5
5 |100000

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

luis-rodrigues avatar image luis-rodrigues commented ·

Thank you for your answer. I just have a simple question, what should I put in "Object(s)" to make it work also with the ML04 (Tables04 and Palletizer04)? I tried different things but none of it worked.

1.png

2.png

0 Likes 0 ·
1.png (26.9 KiB)
2.png (18.2 KiB)
Felix Möhlmann avatar image Felix Möhlmann luis-rodrigues commented ·
"token.TablesQueue.first" and "token.Palletizer.first". "first" is a shorter version of writing ".subnodes[1]" and will return the first subnode (item) of the object.
0 Likes 0 ·
luis-rodrigues avatar image luis-rodrigues Felix Möhlmann commented ·

Thank you that worked perfectly. Right now I have just a problem with the transporter23.

How can I solve this type of problems? What do they mean about "profiling the task"?

1.png

ml00 to ml04.fsm

0 Likes 0 ·
1.png (26.6 KiB)
ml00-to-ml04.fsm (97.1 KiB)
Show more comments