question

Jack G avatar image
0 Likes"
Jack G asked Emily Hardy commented

Hold specific itemtypes in rack until minimum quantity reached

Hello,

My aim is to hold specific itemtypes (1-3) in a rack until minimum quantity reached (specific to each itemtype) then send this onward to a queue.

E.g. Hold items in a rack until 12 is reached then send onward.

Many thanks,

Jack

FlexSim 2016 update 2

FlexSim 16.2.2
holditembatch itemdo not releaseitemtypes in rack
· 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.

Emily Hardy avatar image Emily Hardy ♦ commented ·

@Jack G, did either of these answers resolve your question?

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

First you can keep all items in the rack by the picklist option " Do Not Release Items" in the Flow tab Send To function. Now it is on you to release the items individually. The command that do that is "releaseitem(obj item, output port number). You need to identify the items in the rack you are going to release if your condition is fulfilled. Classically you are counting the different types in labels by incrementing them when an item enters like @Daniel C suggested. Further you can put the reference to the items on a list or into table. You release the items by the above mentioned command in a loop and use the references from the table or the list by pulling the list entries or you look for the right references in the rack directly by a query over the object. The last approach is well documented in the manual SQL section. Please come back if you get into trouble realizing you approach and ask new questions.

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

Joerg Vogel avatar image Joerg Vogel commented ·

Here is an example by using a query, a temporary table to store the result from the query and release the target quantity set in another table.release-rack-item-quantity-v16.fsm

0 Likes 0 ·
Daniel C avatar image
2 Likes"
Daniel C answered

Does all the items go in the same Queue? You can add a Global Variable that will count the specific items entrys to the queue and open the output when the desire number is reached. On exit you should decrease the variable to be able to do it again

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.