question

Ankith T avatar image
0 Likes"
Ankith T asked Jeanette F commented

how to get the number of contents on a separator using custom code

When a rack full of parts, lets say a rack has 10 parts in it. when the rack enters the separator, i would like to know the number of contents in the rack so that if the content reaches certain number such as 2 or 3, i would like to send another rack to the separator.

FlexSim 21.1.5
rackseparatorcustom codeitems
· 3
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

Jeanette F avatar image
0 Likes"
Jeanette F answered Jeanette F commented

Hello @Ankith T,

You can have an on entry trigger that looks like this. Line 5 is the code to see how many items are on the pallet.

1683669457709.png

seperator entry trigger.fsm


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