My source is producing parts continueously.
I would like to sequently pack (grouping) them according to customer-order list (see the excel file on the right of the picture below). You can see that each pack has different number of part.
I am thinking of using that assembly station to pack them. How should I set up the assembly station?
To solve your simulation problem I would suggest to use the TransferStation. Attached you will find a small demo model loading pallets with a random number of products. There is a second sensor define right in front of the sensor created by the transfger station, which sets the number of parts to load at the transfer station.
Hope this will help you.
of course, there is also a solution for the Assembly object.
You can set the assembly table in an entrance control of the Assembly, if you select the checkbox Before action on tab Controls. This setting ensures that the changed assembly table is valid for the current main MU. You need a Variable of type integer with initial value 0 which is the current row of the table of your excel data. This is the program of the entrance control. Please note that you need a second predecessor of the Assembly.
AssyList := Assembly.AssemblyList;
Variable := Variable + 1;
AssyList[2,1] := ExcelData[1,Variable];
Assembly.AssemblyList := AssyList;