question

Joey Kincaid avatar image
0 Likes"
Joey Kincaid asked Eric M answered

Assigning a Token Resource value to a Flow Item

I am trying to assign a label to my flow item that can then be refenced at a station on the conveyor to stop the flow item. I am having trouble figuring out how to reference the token label value when applying the label to the flow item.

The general goal is that 4 items will enter the room and each stop at 1 of the stations to be worked on by operators within the room at the same time before continuing down the line.

I have added in simulation that I am attempting to make for reference.

The Photo Eye called "Belt Entrance" is the one that I am attempting to add the label to the flow item with using the trigger "On Uncover" Event

4 station stop.fsm

FlexSim 21.1.2
labelflexsim 21.1.2tokenconveyor stationflow item
4-station-stop.fsm (293.3 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

Eric M avatar image
0 Likes"
Eric M answered

Hi @Joey Kincaid, I added an "assign labels" activity in process flow that will assign the slot label to the item when the conveyor stops at Station1. This seemed more simple to me since the token already has a reference to the item (but there's no reference on the item to the token, so the previous trigger didn't recognize it). I also added a 'send item' event to the Station1 trigger that sends the item to the slot based on the new label. The last thing I changed was the "process condition" on the Slots (using the eyedropper) since the label is a pointer and not a string.

You also might want to add some logic that doesn't let items into the work area if the Slots before their destination are covered which you could probably do with the photo eye.

4-station-stop-em.fsm


4-station-stop-em.fsm (296.0 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.