Routing a bottom pallet based on label of stacked pallet

Routing a bottom pallet based on label of stacked pallet

hanus_adamZMDNC
Participant Participant
211 Views
2 Replies
Message 1 of 3

Routing a bottom pallet based on label of stacked pallet

hanus_adamZMDNC
Participant
Participant

Hello,

I have a question and would really appreciate your help.

I need to send a pallet with the label "initialMaster" which is located below another pallet containing material. The pallet with material has a label called "sectorWH" with values from 1–5.

I would like to use the value of sectorWH to decide which output the pallet with initialMaster should go to:

  • sectors 1–3 → current.outObjects[2]

  • sectors 4–5 → current.outObjects[1]

Is there a way to do this? On the conveyor, the order from bottom to top is the initialMaster pallet and above it the material pallet with the sectorWH label.

 

Thank you very much for your help.

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

FelixMoehlmann
Collaborator
Collaborator
Accepted solution

You can access objects inside other objects as subnodes. The routing can be achieved by using a Port By Case option and using "item.first.labelName" instead of "item.labelName" as the case function.

https://docs.flexsim.com/en/26.0/Reference/CodingInFlexSim/BasicModelingFunctions/BasicModelingFunct... 

0 Likes
Message 3 of 3

hanus_adamZMDNC
Participant
Participant

Thank you so much 🙂

0 Likes