question

Paul M3 avatar image
0 Likes"
Paul M3 asked Paul M3 commented

Time and label at global table after pack

Hello everybody,

I would like to write time and label on entry in a global table.

Problem is, I use pack mode at a combiner. 8 pieces of item2 were packed in 1 piece of item1. Only item2 has the label so on entry, I would like to have the 8 times with the 8 labels. I need it to calculate the throughput time (measure time after giving the label at the beginning of the process (allready works) and measure time on entry final queue, later I would like to subract the times of the same labels). Is writing to a table in this way even possible or do I need to find an other way to calculate the throughput time of packed items?

Thanks in advance!

FlexSim 18.1.2
global tablelabelstimepack
· 2
5 |100000

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

Sebastian Hemmann avatar image Sebastian Hemmann commented ·

Hi @Paul M3, I think we need some more information to give you a good answer.

First: it is easy to reference to the items on a palet and figure out what their labels values are (see "Rank","First","Last" in the user manual), but it depends on, if it is always exactly 8 items or if this number can change. In both ways I would prefer a small script in the on Entry trigger to do what you are looking for.

Second: if you only want to calculate throughput time it is another question, if the global table is needed, or if you want to use a statistics collector or a process flow to measure this.

Maybe you could share your model with us!?

0 Likes 0 ·
Paul M3 avatar image Paul M3 Sebastian Hemmann commented ·

2020.fsm

The beginning of the time is set after the "Trenner". We would like to collect the end of the time at the last queue. But that doesnt work. We checked the timecollection at the queue after the "Heißsiegelmaschine" and realized the problem with the pack-mode.

0 Likes 0 ·
2020.fsm (670.7 KiB)

1 Answer

·
Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Paul M3 commented

I put the label names and values into an array by querying the label subnode of the items packed on the pallet. This array is pushed to an array on a pallet label.

write-label-nodes-name-value-as-array.fsm


· 2
5 |100000

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

Paul M3 avatar image Paul M3 commented ·

Thanks for your answer, we will check it next week!

1 Like 1 ·
Paul M3 avatar image Paul M3 commented ·

We found an other solution, thanks to everybody for the 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.