question

Daniel Saravia avatar image
0 Likes"
Daniel Saravia asked Felix Möhlmann answered

how to set an internal label to keep track of wait time on items?

Hello,

I have assigned a label called "Wait" to items entering a rack. This label allow me to keep track of the time spent in every single step in my process. But those items are inside a container (pallet) I don't know how to differentiate the item (box) from the container (pallet) when they enter together in queue (CPU drop). I have created a global table that collects the duration between the item entering the rack and the item entering the drop location. I will use this same logic to keep collecting time during my processes.


Thanks!


@Ryan Clark

TX Picking Final.fsm

FlexSim 21.2.2
processflowtimetablesflexsim 21.2.2
tx-picking-final.fsm (129.5 KiB)
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

Items inside a container object are referenced as "subnodes" of that container. In the entry trigger of the queue "item" refers to the pallet, "item.subnodes[1]" would be the first box on the pallet, "item.subnodes[2]" the second and so on.

If you know that there are always going to be the same number of items on the pallet, you can simply add the same trigger option multiple times and increment the subnode index in each.

1631175027564.png

If the amount of items can, you can enclose the code in a loop (either "for" or "while"). (The "scroll" icon left of the "delete" icon of the trigger opens the code window)

1631175219585.png

Everything inbetween the marked lines is the default pick option code for adding an entry to a global table.

tx-picking-final_autosave.fsm


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.