Pull items to same array

Pull items to same array

w.santosCP5GC
Explorer Explorer
1,650 Views
4 Replies
Message 1 of 5

Pull items to same array

w.santosCP5GC
Explorer
Explorer

[ FlexSim 18.2.3 ]

Hello!

I have a picking model, where the operator has an order, with the quantities in a Global Table. The operator must search for the items in the racks and unload them in a queue. But no model, the items placed in the row are not being assembled in the same array.


Armazem via Process Flow.fsm

0 Likes
Accepted solutions (1)
1,651 Views
4 Replies
Replies (4)
Message 2 of 5

FelixMoehlmann
Mentor
Mentor
Accepted solution

Each pull activity is set to assign the pulled values to the same label, overriding the previous label value in the process. Set them to "Insert at Front of" to add to the array label. Note that the last pulled value will be the first value in the array. So if the order is important, you should load the items in descending order or reverse the array before loading them.

1702280036193.png

1702280136463.png

The require number is set to use the quantity from the first row in each pull activity. I guess this should be the row determined by the "linha" label instead. You can also just enter requestnum to use the number from the request field again.

1702280048198.png

Message 3 of 5

w.santosCP5GC
Explorer
Explorer

Thank you very much!


Yesterday I had done something similar by creating a label in the array (Items) passing the pulled values. I didn't understand how the "Insert at Front of" option worked. Thanks for the tip!


Another help on this same model is the following. I created Pull from list blocks, for each row of the Global Table, and then filtered the query for each type of item type.

1702300827766.png1702300857506.png


I was unable to create a valid query using the Label Line.

I tried to construct it this way "WHERE Type == token.labels["Linha"]", but it didn't work.

How could I construct this query?

0 Likes
Message 4 of 5

jason_lightfoot_adsk
Autodesk
Autodesk
You can refer to labels directly but only by referencing the puller.​

So:

WHERE Type=puller.Llnha   // you can use a single or double = in queries
​​​
0 Likes
Message 5 of 5

w.santosCP5GC
Explorer
Explorer

Oh, this worked perfectly.

Thanks!

0 Likes