question

Afthab L avatar image
0 Likes"
Afthab L asked Felix Möhlmann edited

Pulling x total pieces per hour from multiple racks


Hi,

I have a floor storage system which requires pulling 3 pieces (or any arbitrary amount) per hour. Does anyone know how exactly I would go about doing that just using the 3D model.


1685509306572.png

Pulling x items from any rack per hour.fsm


Thank you

FlexSim 23.1.2
rackpulling
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 Felix Möhlmann edited

A simple solution would be to add a label to the pulling Floor Storage that keeps track of how many items it has already pulled. This would get incremented in the Pull Requirement, if it returns a 1 (pulls an item). When it reaches the threshold the input is closed.

To continue pulling more items after an hour has passed, the Floor Storage sends a message to itself each hour. In the On Message trigger the counter label is reset, the input is opened again and the next message is scheduled.

In the attached model the number of items (3) is written directly into the code, but you chould of course read it from somewhere else to be able to change it more easily.

pulling-x-items-from-any-rack-per-hour-fm.fsm

You could use a similar system of regular messages to pull a single item every X minutes by closing the input after each pull.


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

Afthab L avatar image Afthab L commented ·
Thank you! This works like I wanted but is there a way to make the pulling of items dispersed throughout the hour as opposed to all at once when that clock strikes that 60 minutes?


Thank you so much!

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Afthab L commented ·

As I wrote, you can reduce the threshold to 1 (always close the input alter pulling an item) and then also reduce the message interval accordingly (for example every 20min for 3 items per hour).

pulling-x-items-from-any-rack-per-hour-fm_1.fsm

0 Likes 0 ·