question

Jeff Kaczmarczyk avatar image
0 Likes"
Jeff Kaczmarczyk asked Arun Kr answered

Pulling CT data sequentially from a global table

I have two production lines in the attached model. In the first line (top), all of the processors pull the process time data from a global table "CT" randomly. It seems to be working ok.

My question is...For the 2nd line in the model (bottom) I want to pull data from the "CT" global table sequentially. Row 2 first time, Row 3 for 2nd CT, Row 4 for 3rd CT, etc.

Any suggestion on how to do this?

falcon-makara6d-030517rev6.fsm

FlexSim 16.0.9
global table
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

Arun Kr avatar image
2 Likes"
Arun Kr answered

Hi @Jeff Kaczmarczyk,

I have not looked at your model, it's a general suggestion.

Create a global variable with on reset value as 2. Global variable value can be used to select the rows from the global table. Increment the value of the variable for pulling the subsequent rows. Finally when the last row is pulled set the global variable value as 2 and repeat the process.

Regards,

Arun KR

5 |100000

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