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

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

griffin_burw
Participant Participant
16 Views
5 Replies
Message 1 of 6

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

griffin_burw
Participant
Participant

[ FlexSim 23.1.2 ]

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?

0 Likes
Accepted solutions (1)
17 Views
5 Replies
Replies (5)
Message 2 of 6

Jeanette_Fullmer
Community Manager
Community Manager
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
Message 3 of 6

griffin_burw
Participant
Participant
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
Message 4 of 6

griffin_burw
Participant
Participant
It should change for each pallet based on the size of the gray item being packed with the two white parts.
0 Likes
Message 5 of 6

Jeanette_Fullmer
Community Manager
Community Manager
Accepted solution

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

0 Likes
Message 6 of 6

griffin_burw
Participant
Participant
That is exactly what I have been wanting the model to do. Thank you for your help!
0 Likes