question

Lukas Buchta avatar image
0 Likes"
Lukas Buchta asked Lukas Buchta commented

Crane unload on queue by label

Hello,

in my model i have palletizer. On the line are 9 types of boxes and I would like to trough the Global table decide: 1) Number of boxes of each type will be created

2) each box type should by unloaded by crane on specific queue. For example Item.type value 1 should be unloaded by crane on queue 12 (in my model its queue "A1").

global-list.jpg

layout_origin_autosave.fsm

I don't know how the crane can unload box by label on specified queue by global table.unload.jpgThank you very much.


FlexSim 22.1.4
proces flowcranequeue unload
global-list.jpg (21.5 KiB)
unload.jpg (30.7 KiB)
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Lukas Buchta, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. 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.

1 Like 1 ·

1 Answer

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Lukas Buchta commented

You need a way to get a reference to the queue through the global table. Either add another column that contains pointers to the target queues or rename the queues so you can use the name in the row header to find the specific object in the model.

1681281347703.png

// Use Row Header As Object Name
int row = Table("type box").getRowByKey(token.Product.Type, "TYPE"); return Model.find(Table("type box").getRowHeader(row)); // Use Pointer Value In Table return Table("type box").getValueByKey(token.Product.Type, "Queue", "TYPE");

layout-origin-autosave_1.fsm


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

Lukas Buchta avatar image Lukas Buchta commented ·
Thank you @Felix Möhlmann for your asnwer, that was what i was looking for.
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.