question

Roos_UTI avatar image
0 Likes"
Roos_UTI asked Roos_UTI commented

Box scanning capacity: max amount for box scanner/sorting (1 box/sec)

Hi,

Can I set a maximum amount on a DP (box sorting).

The actual scanner can only proces 360 items/hour, so it needs 1 second per box.

When there is more than 1 box per second the box should not be sorted.



FlexSim 24.1.0
decision points
· 4
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 Roos_UTI commented

@Joerg Vogel mostly answered this in this comment. Though I think rather than resetting the ability to scan in a fixed interval, it should be based on the item since the last scan. Otherwise two items following each other closely could both the scanned when the reset cycle lines up correctly.

In the attached model, I set a label on the DP to the current time after an item is scanned (color changes and item is send to respective conveyor). Whenever an item arrives, the trigger code first checks this label and if the difference between it and the current model time is less than one second, ends the code execution before any of the other things happen by returning a 0 (Code Snippet).

scan-rate-limit-fm.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.