question

Amit Kulkarni avatar image
0 Likes"
Amit Kulkarni asked Ben Wilson commented

Copy container labels to packed items after separator

In attached model, two pallets go through a combiner and are packed onto another pallet. The contained pallet of the combined pallet is then assigned a slot in the rack system. How do I correctly copy these labels to the packed pallets if they have to go through a separator as shown in the system, so that the individual pallets after the separator go to the location assigned to their container pallet?

Container_Label_to_Packed_Item.fsm

FlexSim 20.2.3
flexsim 20.2.3combiner separatorcopy labels
· 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.

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Joerg Vogel edited

You could put this in the processFinish trigger of the seperator if you alway know there are two pallets in the packed pallet.

  1. createcopy(item.attrs["labels"],item.first.as(Object).attrs["labels"],1,0,0,1);
  2. createcopy(item.attrs["labels"],item.last.as(Object).attrs["labels"],1,0,0,1);



1607383827353.png (8.3 KiB)
· 17
5 |100000

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