question

Alexis Gerardo Navarro A. avatar image
0 Likes"
Alexis Gerardo Navarro A. asked Joseph Gillespie commented

How to assign a label to a rack of the first item that enters ?

I need to assign a label for a rack of the first item than enters , and later i need to send all the items with the same label to that rack.

FlexSim 19.1.1
labelsrackslabel assignment
· 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.

tannerp avatar image tannerp commented ·

Hi @Alexis Gerardo Navarro A.,

We are happy to help you with this question, but it would be beneficial if you were to create and upload an example model that we can work with. That way, we know more about the process you are modeling and our answer can be more detailed/accurate. Please comment back on this post with an uploaded example model.

For now, my first suggestion would be to use Process Flow, but you will have to describe more about what determines which items get sent to which racks in the first place.

Thanks!

0 Likes 0 ·
Alexis Gerardo Navarro A. avatar image Alexis Gerardo Navarro A. commented ·

rackssegregation.fsm

Hi @Tanner Poulton , thank you for your answer , here is a example model , I´m sendind a box to a rack , with the follow labels :

-TypeContainer

-SizeContainer

-Destination Sea Port

We expect to copy the labels of the box on the rack where it arrives.

0 Likes 0 ·

1 Answer

·
Jeff Nordgren avatar image
1 Like"
Jeff Nordgren answered tannerp edited

@Alexis Gerardo Navarro A.,

Attached is your model with the changes that I've made.

You didn't have any labels assigned to the flowitems going to the rack for the labels you mentioned in your reply. So, I just created random label values in the Sources so the flowitems would have those labels on them. Not sure where you want to assign the labels so I didn't know where you wanted them assigned.

I added labels and OnEntry code to Rack1. This code will copy the labels from the flowitem to the Rack ONLY when the first flowitem enters the Rack. All subsequent flowitems will be ignored.

Take a look at the model and see if this is what you had in mind. If it needs to be modified, please let use know more specific details of what is needed so that we can help you to get your model to work as you need it to work.

Thanks.

rackssegregation-jn1.fsm


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

tannerp avatar image tannerp commented ·

@Alexis Gerardo Navarro A.

I didn't see that @Jeff Nordgren had beat me to answering this question. We both did very similar things to achieve the same results. I think the most important thing is that you think through what works for you and what the next steps are, like where the objects go after the racks and how to reset the rack types.

Thanks for posting an example. I don't quite understand everything in your model, but I've attached an example model that you can review.

In the example model, there are two important key elements.

1) The racks have a label that is called "Type" (for demonstration purposes). This label is updated to be the "Type" of whatever the first item is to enter the rack.

2) In the EntradaExpo queue under the "Flow" tab, there's custom logic in the "Send To Port" parameter. This code takes the type of the item it is trying to send and checks each of the racks connected to the queue for a matching item type label. Then the item is sent to the matching rack.

Hopefully this makes sense and is helpful. Sorry, I didn't integrate your labels because I wasn't sure which ones were important in defining object location. This idea might get you started on implementing this in your model, though. For reference, I've attached an updated version of your model:

rack-match-type.fsm

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.