question

TalHzf avatar image
0 Likes"
TalHzf asked TalHzf commented

Rework Flow

Hi all,

I have different Products , which should be processed with machine 1 or 2 or 3 and machine 4 for two time, It means the product which is produced from the first Machine should do the cycle:

Machine 1->Machine4 twice .

I have 14 different Items, 3 should be processed with Machine 1, 6 with machine 2 and 5 with the third Machine.

I can untill now do it for one Machine with one Label but not for all the items.

I don't know which condition to release the Products, that are worked twice.

The flow of every item is showen in the Photo.

Thank you for you Help.

ReworkPriorityTH.fsm


1670187770090.png


FlexSim 22.2.2
rework flowrework priority in queuerework process
1670187770090.png (21.5 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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered TalHzf commented

I would suggest to use a single "Type" labels for all items, since it's easier to send an item to different locations by label value than by the existance of labels. So source1 would assign the values 1-3, source2 4-9 and source3 10-14.

Similar to your table above, you can then create a single table that holds all the necessary information. Since items always use the same machine for step 1 and 3, that value only has to be given once. The rest of the columns are the processing times for each step. The example below only has example values for the times and the exact layout can of course differ.

1670226409775.png

To determine which value to use, create a "Step" label on the items, starting at 1. Then increment it by 1 in the machines' "On Process Finish" trigger. The processing time is then given by looking at the step+1 column.

1670226674790.png

This label can be used in the "Send to Port" option of machine 4 to determine whether the item is done or needs to be send back (step < 4). And Queue7 can read the correct output port from the first column of the table.


1670226409775.png (12.4 KiB)
1670226674790.png (7.6 KiB)
· 5
5 |100000

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

TalHzf avatar image TalHzf commented ·

Hi @Felix Möhlmann ,

Thank you so much for Your Answer.

I tried it, But I don't know something is going wrong in the machine 4 and the queue7.

I don't know how to send from the queue 7 to the other machines for the second Work

reworkPriority Mod.fsm

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann TalHzf commented ·
I'm actually somewhat surprised no error is generated from the label assignments in the "On Process Finish" triggers, since you are adding a number to text.

You need to properly refer to the label value (compare the expression in the "Column" field in the second screenshot of my original answer). Or you just use the "Increment Value" option.

Machine4 is currently always sending the items to Queue7. You want to use "Conditional Port" and check if the step label is smaller than 3.

For the Send to Port option of Queue7 you can use the Global Table Lookup, since the machine number is present in the first column.

0 Likes 0 ·
TalHzf avatar image TalHzf Felix Möhlmann commented ·

Hi @Felix Möhlmann ,

Thank you, I really don't get what you mean.

How can I Add the increment Option?

Can you please send me your Modell. I would be thankful.

Thank you so much

0 Likes 0 ·
Show more comments