question

Griffin Burwell avatar image
0 Likes"
Griffin Burwell asked Griffin Burwell commented

Assign previously created single item label to combined item on a pallet

1693574062743.png

I have a process where a single item is assigned a label, makes it's way through the process, and then is assembled(combined) by stacking on a pallet. I want to maintain this original label("Size") throughout the entirety of the assembly process. Is there a way I can make this happen?

FlexSim 23.1.2
combinerassign labels3dmodel
1693574062743.png (497.5 KiB)
· 3
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 ·
Hello @Griffin Burwell,

Are you using the packing or joining method on the combiner? Are you asking if the label stays on the item after being packed or that the pallet should now hold the size label? If the pallet should hold the label size label is it supposed to be an array or a cumulative size value?

0 Likes 0 ·
Griffin Burwell avatar image Griffin Burwell Jeanette F ♦♦ commented ·
Hi Jeanette, I am using the packing method so I can visually see the two white parts on the bottom and top of the gray part, sitting on the pallet. What I want is for the pallet plus the packed items to hold the size value to allow for my decision logic as well as my port logic to be able to operate based on the "Size" of the item.
0 Likes 0 ·
Griffin Burwell avatar image Griffin Burwell Jeanette F ♦♦ commented ·
It should change for each pallet based on the size of the gray item being packed with the two white parts.
0 Likes 0 ·

1 Answer

·
Jeanette F avatar image
0 Likes"
Jeanette F answered Griffin Burwell commented

Hello @Griffin Burwell,

I am assuming the gray item with the size label on it comes in through its own port to the combiner. I added an on entry trigger to the combiner. It checks the port of the item entering and if its the port for the gray item then it sets the label on the pallet.

if(port == 2){
Object pallet = current.subnodes[1];
pallet.labels.assert("Size").value = item.Size;
}


Here is a sample model that demonstrates this.

Assign label on pallet in combiner.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.

Griffin Burwell avatar image Griffin Burwell commented ·
That is exactly what I have been wanting the model to do. Thank you for your help!
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.