question

Gideon avatar image
0 Likes"
Gideon asked Gideon commented

How to label different sources to different sinks

a1.fsm

Hi there!

How to use 4 sources to come out with 4 different products and going to 4 different sinks, via the cross belt sorter conveyor system?

Thank you

FlexSim 18.2.2
labels
picture1.png (688.9 KiB)
a1.fsm (42.2 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

·
gilbert jerald avatar image
0 Likes"
gilbert jerald answered Gideon commented

@Gideon

Hi,

Here's a model where I have changed getitemtype(involved) to getlabel(involved,"Type"). with this change the model function based on your constraint. In the updated FlexSim version, when we set an item type value to an item, the model does not return the item type value in getitemtype commend. we have to use getlabel commend to get the set item type value.

support-conveyor.fsm

Thanks


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

Gideon avatar image Gideon commented ·

Hi @gilbert jerald

Thank you for your reply.

However, the model is still doesn't work.

Is it on our source we also have to change the trigger On Creation from Set Item Type and Color to Set Label?

Or I rephrase my questions, how can I get each source to represent one color? For example, source 1 is blue, source 2 is green, source 3 is red, and source 4 is yellow.

And these respective items will flow to their respective sink.

Thank you Gilbert!

0 Likes 0 ·
gilbert jerald avatar image gilbert jerald Gideon commented ·

Hi Gideon

Following attachment, I have made some changes in on creation trigger in the "source" that create one color and one item type for each source.

support-conveyor-1.fsm

Thanks

0 Likes 0 ·
Gideon avatar image Gideon gilbert jerald commented ·

Thank you @gilbert jerald :)

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.