question

yesid anacona avatar image
0 Likes"
yesid anacona asked Jeff Nordgren answered

How to combine for different quantities for each type of article?

global-table.fsm

I need to combine the type of article A 2 articles, the B 3 articles, and so with the others as shown in the table. thanks

Choose One
combiner
captura.jpg (17.3 KiB)
global-table.fsm (18.7 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

·
Jeff Nordgren avatar image
1 Like"
Jeff Nordgren answered
@yesid anacona

Attached is your model with the changes that I've made.

I changed Source1 so that the number of flowitems created matches a multiple of the "COMBINER" quantity in GlobalTable1. Otherwise, it would be waiting for more flowitems to come that would not be coming.

In the Combiner1 Properties window in the Process Time field, I changed the code so that it would use the "time" column in GlobalTable1 for the process time of the flowitems on the pallet.

Then, in the OnEntry trigger of Combiner1, I added code that changes the number of flowitems combined based on the "COMBINER" field in GlobalTable1 and the itemtype (A,B,C, etc.) of the flowitems on the pallet.

Take a look at the model and see if it is doing what you are needing it to do.

global-table-jn1.fsm


global-table-jn1.fsm (121.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.

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.