question

gust-flex avatar image
0 Likes"
gust-flex asked Felix Möhlmann commented

Create a source only if item leaves a specific slot

Hello,

I'm trying to create a source only if an item leaves the third level. Or if it is possible with slotnr/baynr it will work for me too.

1712593017192.png

Can anyone help?

FlexSim 23.2.1
racksource
1712593017192.png (179.9 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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered gust-flex commented

Listen to the "On Slot Exit" event in an Event-Triggered Source and specify the level ID which the slot must have in order for a token to be created. Then create an item with that token in Process Flow.
(You can assign the exiting item to a label on the token to copy its label and possibly assign them to a new item later. And what you show in your screenshot is technically the 4th level - the 1st level is on the ground.)

1712595432818.png


1712595432818.png (15.2 KiB)
· 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.

gust-flex avatar image gust-flex commented ·

Hi @Felix Möhlmann. My source doesn't make a token when I used your method.

1712644832784.png

I want the source to create a token when there is an item placed on the top level.

0 Likes 0 ·
1712644832784.png (335.8 KiB)
Felix Möhlmann avatar image Felix Möhlmann gust-flex commented ·

Sorry, I was wrong about the levelID. Gravity Flow Racks start counting at 0 by default, so the top level's ID is 3 in your case.

capture1.png

1 Like 1 ·
capture1.png (3.7 KiB)