Picking by label and time

Picking by label and time

JoeBB92
Not applicable
56 Views
2 Replies
Message 1 of 3

Picking by label and time

JoeBB92
Not applicable

[ FlexSim 23.0.0 ]

Hi, I created a simple picking model in which there are 3 types of products. There is a sequence of orders for specific product types at specific times (GlobalTable1 and Process Flow Source). How can I make it so the forklift only picks up the specified product types. From what I have tried, I think I should add a query in the "pull from list" task, because using "WHERE Type == 2" as a query makes the forklift to only pick up the green boxes. Is there any way in which I can program a query to make the forklift choose the types with the order specified in GlobalTable1? Thanks in advance.

Picking Model.fsm

0 Likes
Accepted solutions (1)
57 Views
2 Replies
Replies (2)
Message 2 of 3

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

Yes- you need to reference the Type label on the token instead of writing '2'.

Now - when there's a query expression like WHERE Type= something , you can't reference token directly you have to use the keyword puller instead - and you've already got that set to be the token. So you can just use puller.Type.

We encourage students to search the documentation for guidance and in this case you can find more information about these types of query expressions here.

0 Likes
Message 3 of 3

JoeBB92
Not applicable

Dear Jason, thank you so much. I was finally able to complete this model with your advice. Kind regards!

0 Likes