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.

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.