question

Fernando H4 avatar image
0 Likes"
Fernando H4 asked Fernando H4 commented

Send to Port by item value

Simulação PFL.fsmHi, i am still beginnig in flexsim and i am trying to use the "send by case" picklist, usin the item value. In the queue "Tubo 30 cm" i created the label "tubo30" by percentage, with the values 1 and 2. In the Queue "Tubo 20cm" i created the label "tubo20", with the values 3 and and 4. When the items arrive at the processor "Lixamento" it was supossed to send the items to specific ports according to their values.

- item value ==1 - output port 2 ("Estoque 30 cm sem Verniz")

- item value ==2 - output port 1 ("Envernização")

- item value ==3 - output port 3 ("Estoque 20 cm sem Verniz")

- item value ==4 - output port 1 ("Envernização")

Thank you,

FlexSim 20.1.0
flexsim 20.1.0send to port
1595815317790.png (23.5 KiB)
simulacao-pfl.fsm (421.1 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

Sebastian Hemmann avatar image
2 Likes"
Sebastian Hemmann answered Fernando H4 commented

As far as I see it in your model the only problem is that you´ve named the labels different. Give them the same name and than add this Name in the Pickoption:

this should solve it.


picture-sh.png (298.1 KiB)
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

@sebastian.hemmann

I am not sure if item.value works. value is a property. Perhaps a different name like mylabel.

1 Like 1 ·
Monika Sokół avatar image Monika Sokół Joerg Vogel commented ·

@sebastian.hemmann

@joerg.vogel is right. You should use a different label name.

1 Like 1 ·
Fernando H4 avatar image Fernando H4 commented ·

Thank you all for the help!

0 Likes 0 ·