question

Luca S4 avatar image
0 Likes"
Luca S4 asked Joerg Vogel commented

How do i put labels on Items that were packed.

Good evening,

I want to put labels on the items inside of a pack, after the combiner packed them. If possible with a OnExit trigger at the combiner. The background is, that i want to put the time() not on the pallet itself to have it directly in the items. Is that possible without coding?

Thank you a lot in advance,

Luca S.

FlexSim 18.1.2
combineritemflexsim 18.1.2set labelexit trigger
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
1 Like"
Joerg Vogel answered Joerg Vogel commented

You need a source code in the on Exit trigger or a Process Flow that does the same:

for (int id = 1; id <= item.subnodes.length; id++)
    item.subnodes[id].labels.assert("extTim",time());
· 4
5 |100000

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

Luca S4 avatar image Luca S4 commented ·

Its working so far, thank you. How do i do this in a Process Flow?

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Luca S4 commented ·

Label_at_packed_item.fsm

it is an example. Maybe there are other methods or properties to get an index rather than with the source code variable creationRank

The model has been built in FlexSim 17.2 but should work in 18, too.

1 Like 1 ·
Luca S4 avatar image Luca S4 Joerg Vogel commented ·

label-at-packed-item.fsm

How do i adress the incrementation (Label in item called entTim) of the extTime and the Push Value (extTim after the incrementation) for the list correctly? I want to get a list with extTim-entTim (for every item without the pallet).

0 Likes 0 ·
Show more comments