question

Sandeep Kumar I avatar image
0 Likes"
Sandeep Kumar I asked Mikołaj L answered

Assigning the label to combiner Pallet based on input part type value

In my use case, I am trying to assign a label value to the pallet in the combiner if any of the incoming parts to the combiner are defective(defining item.Type == 2 as defective part). So that I identify my pallet as "pallet with defective parts".

I have attached a sample model here. The combiner combines 5 different parts on to the pallet. The pallet should be assigned a label value ( say item.def == 1) if any of the incoming parts are defective ( item.Type == 2).

Thank you in advance.

Attachment

labeltypetopallet.fsm

FlexSim 18.1.2
combinerlabels
screenshot.jpg (335.4 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.

Jeff Nordgren avatar image
0 Likes"
Jeff Nordgren answered

@Sandeep Kumar I,

Attached is your model with the changes that I've made. I added code to the OnEntry trigger of the Combiner so that any flowitem coming in that has a Type = 2 value, it will set the "Defects" pallet label to 1. Otherwise the Defects pallet label will be 0.

Look at the model and see if this solution or something similar will work for your application.

Thanks.

labeltypetopallet-jn1.fsm


5 |100000

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

Mikołaj L avatar image
0 Likes"
Mikołaj L answered

@Jeff Nordgren

The file cannot be opened... Can you send it again?

Thanks!

5 |100000

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

Sandeep Kumar I avatar image
0 Likes"
Sandeep Kumar I answered

@Jeff Nordgren: Thanks for your help. Works perfect.

Best,

Sandeep

5 |100000

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

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.