question

Daniel Saravia avatar image
0 Likes"
Daniel Saravia asked Joerg Vogel answered

How to point to a item inside a container from a list?

Hi,

I have PF called "Granite Process" where a pallet with an item t is staged on a queue. The pallets inside the queue are sent to a list ("Granite Jobs"). I am having problems trying to load only the item (box) with a crane in my process flow I don't know how to address it. When I pull the token from the list I assign token.cart. then I have to move the pallet to a another queue then load only the item (box). I have another PF called "Raptor Process" where I was able to make it work. Thanks!

OM Countertops Parctice 7_autosave.fsm


FlexSim 22.0.0
proces flow
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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Daniel Saravia commented

If it is a global list you can add a field which evaluates the subnodes of your pallet (list value as an array value.subnodes.toArray()). If you explicitly pull your field name from your list you get the array as a pull result. Then you can address your items from your pallet from this array.

But you can do the same if you pull just the pallet from your list and let it stay on it. Then you can evaluate the subnodes of your pulled pallet reference and use the subnodes for your task.

If you want to identify empty pallets on your list, then add a field which evaluates dynamically the value.subnodes.length. You can pull empty pallets from your list.

https://docs.flexsim.com/en/22.0/ConnectingFlows/Lists/WorkingWithLists/#fields

5 |100000

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