kkkk avatar image
kkkk asked Julie Weller commented

Global Table tracking which processor the item went

Hi! I will like to ask some questions about Global Tables.

From the comments in this link's question, I know more about Global Table, but still have some questions.

I've added two processors from the file below the comment of this link (0718_table_ex.fsm ). I will like to track which processor did the item went to ( Processor1, Processor2, or Processor3 ) through the Global Table ,and if the item was sent to the sink it will be removed from the Global Table. Not sure if it is possible to do so through Global Table, hope to get some suggestions! Thanks~

FlexSim 23.1.0
agvprocessorsglobal tables
· 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.

Julie Weller avatar image Julie Weller commented ·

Hi @kkkk, was Natalie White'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

Natalie White avatar image
Natalie White answered Jason Lightfoot edited

Hi @kkkk,

You can add a trigger to the Processors (on entry) that will add a row and data to a global table. However, the row and table does not get deleted. Other options include adding a trigger to push the item to a list (you could then pull from the list later on), or creating a statistics collector that listens to the entry and exit of the processors.

Here is a model demonstrating these methods:


global-table.fsm (26.3 KiB)
· 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.

kkkk avatar image kkkk commented ·

Hi @Natalie White ! Thank you so much for your reply, but I'm wondering if there's a way to record the destination before the task executer take the item. Because what I want to do now is to set the certain items be picked by an agv at once. Thank you for assistance!

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ kkkk commented ·

If you're going to use an AGV and the transport dispatcher option to PushToList where the list is AGVWork, then the destination will automatically be placed on the item based on the chosen port or pulled item as negotiated by the fixed resources' sendto/pull logic.

If you're customizing the transport dispatcher trigger logic then you'll see that the header contains the port and destination variables being read from passed paramters.

0 Likes 0 ·