Rework Flow

Rework Flow

TalHzf
Not applicable
1,202 Views
6 Replies
Message 1 of 7

Rework Flow

TalHzf
Not applicable

[ FlexSim 22.2.2 ]

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


0 Likes
Accepted solutions (1)
1,203 Views
6 Replies
Replies (6)
Message 2 of 7

moehlmann_fe
Collaborator
Collaborator
Accepted solution

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.

0 Likes
Message 3 of 7

TalHzf
Not applicable

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
Message 4 of 7

moehlmann_fe
Collaborator
Collaborator
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
Message 5 of 7

TalHzf
Not applicable

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
Message 6 of 7

moehlmann_fe
Collaborator
Collaborator

What I was trying to say is that you have to read the value of the label and add one to it, not just type the name.

1670326260760.png

The Increment option can be found at the bottom of the "Data" options.

1670326316291.png

Using it is pretty straightforward.

1670326361737.png

The Send to Port on Machine4 would look like this.

1670326436034.png

And the one on Queue7 like this.

1670326484396.png

reworkpriority-mod(1).fsm

0 Likes
Message 7 of 7

TalHzf
Not applicable
Hi @Felix Möhlmann ,

Thank you so much.

0 Likes