question

Settawut S avatar image
0 Likes"
Settawut S asked Parker S commented

Combine by type

Hi,

How to set up combiner to batch item by a label like for the first one arrival is type 1 combiner need to collect type 1 for 8 pieces and then release it to collect the second arrival like type 3 combiner will combine only type 3. Like put the item into the box and the first one that put in the box is type 1 the box will collect only type 1 and then release it to collect a new item.

test.fsm

Thank you

FlexSim 21.1.1
flexsim 21.1.1
untitled-2.jpg (32.8 KiB)
test.fsm (19.3 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

Parker S avatar image
0 Likes"
Parker S answered Parker S commented

@Settawut S

You can do this by creating a label on the Combiner that stores the current Type of the item that it's collecting. I've set it to an initial value of 1, so it will start collecting item.Type = 1 first.

The pull requirement will match the current.currentType label.

The label will update after processing by looking at the "Type" label on the first item in the queue.

The settings are shown below:


1618420248536.png (90.9 KiB)
· 7
5 |100000

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

Settawut S avatar image Settawut S commented ·

How do you set a pull requirement?

Thank you very much.

0 Likes 0 ·
Parker S avatar image Parker S ♦ Settawut S commented ·

Use these settings:

This way, the combiner will only pull items that have matching labels.

1 Like 1 ·
1618429868279.png (26.9 KiB)
Settawut S avatar image Settawut S Parker S ♦ commented ·

I have already tried your setting but it doesn't work. Could you please see my work?

test3.fsm

Thank you

0 Likes 0 ·
test3.fsm (72.1 KiB)
Show more comments