question

joebb92 avatar image
0 Likes"
joebb92 asked joebb92 commented

Picking by label and time

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

FlexSim 23.0.0
processflowglobal tablepull from listpickingsql queries
picking-model.fsm (50.4 KiB)
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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered joebb92 commented

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.

· 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.

joebb92 avatar image joebb92 commented ·

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

0 Likes 0 ·