question

Seven avatar image
0 Likes"
Seven asked Jason Lightfoot commented

How can I take a certain number of boxes from a pallet according to their label?

Hello, I have a model in which a rack has pallets with boxes destined for 75 different clients. Additionally, I have a record of customer orders. I am trying to have a forklift load x number of boxes for a customer at a certain time based on the order record.

orders-history.png

pull_box_by_label.fsm

FlexSim 23.2.2
pickingpallet rackpick by label
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @Seven, was Jason Lightfoot'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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

One way would be to record the item on the pallet in a list when it enters the racks. Add the Client label as a list field and pull where cliente matches your Orders. Use a process flow to create the orders for picking.

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

Seven avatar image Seven commented ·

Hello Jason, thanks for your response, is there a tutorial to do this? I was reading how lists work in flexsim but I don't really understand how to connect everything to a process flow.

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

There may be examples but I can describe the steps for a process flow - if you know some Flexscript you could push the item to a list in the onEntry trigger of the racks without using process flow for that part.


  • Use an event triggered source to listen to the entry and label the generated token with the pallet (and optionally bay and level?).
  • Use a Run subflow activity to create a token for each box in a subflow that pushes the box to a global list. The number of tokens to create will be the number of subnodes of the pallet. You can find the expressions for that on the forum or in the online help.
  • To generate order token you can either use a token to read each row of the order table and create tokens with labels from the columns or you can put the Orders table in a scheduled source - again examples for that are on this site.
0 Likes 0 ·