question

J avatar image
0 Likes"
J asked Paula LG commented

How to track from-to of flowitem

The process is below:

1. Source1 -> Queue1 -> Queue2 (Label 1)

2. Source2 -> Queue1 -> Queue3 (Label 2)

1708326976312.png

Is there any way to create a global table as below?

1708327291050.png

FlexSim 24.0.1
tablestracking flowitem
1708326976312.png (50.8 KiB)
1708327291050.png (6.1 KiB)
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @J, was Paula LG's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Paula LG avatar image
0 Likes"
Paula LG answered Paula LG commented

Hi J,

A way of doing that is using an "On Entry" trigger for all the queues. Inside the trigger, you have to choose "Data → Add Row and Data to Global Table" and configure it like this:

1708331972221.png

You should also set the table so that all the rows are deleted On Reset.

I attach a small model to better illustrate how all of that works: 24.0 Track FromTo.fsm

I hope it helps!


1708331972221.png (34.7 KiB)
· 10
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

Here's an alternive technique using and stats collector and object process flow (to save you having to copy/manage entry triggers, and to save data space).

FromToTrackerProcFlow_StatsCollector.fsm

0 Likes 0 ·
J avatar image J commented ·

Hi Paula,


I used your method. But it didn't work if I check the use transport and choose push to list for using the AGV process flow on StationA. The system console shows "Array index out of bounds at MODEL:/A>variables/entrytrigger" as below. Is there any other way to solve this problem?

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ J commented ·
Can you attach your model?
0 Likes 0 ·
J avatar image J Jeanette F ♦♦ commented ·

Yes, here is the model.
from to log.fsm

0 Likes 0 ·
from-to-log.fsm (113.5 KiB)
Show more comments

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.