question

Marcos MNA avatar image
0 Likes"
Marcos MNA asked Ben Wilson commented

Two Quality Controls in a process

Hi mates,

I want to create a process with 4 processors and 2 quality controls, 1 after the 2nd process and 1 at the end of the 4th process. How can I do to be able of detect "bad pieces" at those quality controls in order to send them to the 1st processor or to the 3rd depending on where this "bad piece" has been detected?

Thank you!

FlexSim 20.2.0
flexsim 20.2.0control pointsquality
· 1
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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel commented

Output ports are ordered by number. Send To Port function on Flow tab returns the number, where the item is going to leave the object. If you add a method to change this return value then you can send a part of your processed items to an output port which is connected to first or third processor. I suggest you set a label value at the items on Process Finish event trigger to distinguish which port the item is going to be released to, Send to Port function evaluates this label value and returns the output port number directly or by case.

· 2
5 |100000

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