Select a Task executer from a global list?

Select a Task executer from a global list?

zach_b
Not applicable
60 Views
1 Reply
Message 1 of 2

Select a Task executer from a global list?

zach_b
Not applicable

[ FlexSim 18.0.0 ]

Hello,

I am trying to populate a list of assigned task executers as well as start and end locations for my items created in Process flow. Then I want to use that token data to tell the item where to be placed in the model space. I could potentially have 100 different token.Types, robots and start and end locations, so I wanted to make it using a Global List. I have the Process Flow and Model setup, but I am newer to Flexsim so I just don't know all of the correct syntax to be used in Process Flow. If someone could look at my model and see what I am doing wrong I would appreciate it. transporting-tote-full-of-boxes-lists.fsm

Thanks!

@Regan Blackett

0 Likes
Accepted solutions (1)
61 Views
1 Reply
Reply (1)
Message 2 of 2

kari_payton
Not applicable
Accepted solution

@Zach B I couldn't figure out your exact problem but maybe this will help you.

To add task executor to a list I put a sample model. You can acquire them from a resource then push to a list. te-from-list.fsm

To make a reference to start and end locations:

1. In the toolbox create a global table. Here you can add pointers to the starting/ending locations and task executors.

2. In process flow there are a few options to create a different tokens with different labels. The principle is to have the token label reference the cell on the table using the function Table("TableName")[Row][Column]. The way I set it up is using a block called "Create Tokens" to create 10 tokens. Then for each token there's a label "rowNum" with the creationRank value. This means whatever order it was created in that will reference to its row number. Then in the assign label box, make labels for each token that references the table. So in this example for token 1, use Table("GlobalTable1")[token.rowNum][1] to get the StartLoc.

3. Then you can create the object and add add the labels from the token or add it directly using Table("TableName")[Row][Column]. From there if you push the item to a list it will have the labels on the items.

10523-push.png

Hope this gives some ideas how to create your process flow. transportwithtablelist.fsm