Trying to learn how to write a code to make a specific exit.
I have an tablefile which includes one MU that is complete (Korrekt) , and one that is not (Feil). They are supposed to be sendt out with a small percent being incomplete, and exiting in a Drain, and the completed one is supposed to continue in the production.
The codes I have tried doesn't seem to work, so I'm guessing I have missed something, but I have no idea what
Adding a copy of the file to help understand the setup.
I have only tried to make a Method to the first SingleProc, not the other two.
The tablefile to this station is the first one; TableFile
Best Regards The one who has no idea what she is doing
Solved! Go to Solution.
You can use the exit-strategy MU-attribute. In your case: make sure that Attribute type is set to string (you have set it to boolean). The click Open list and fill in the first row Name, Korrekt, 1 (or whatever successor number applies in your case). In the second row you can leave the first cell empty, but do fill in Feil, 1 in the other cells.
What will happen then is the following:
Hi again, experiencing a new problem. It seems the assembly station will only recieve the main part. I've placed a buffer in front, trying to see if that would help in getting all the parts in the assembly, but with no such luck.
Do you have any pointers as to how I can distribute all the parts from the different conveyors to the assembly?
Will add the new version of the plant
assembly table for MUTypes: the main part is defined with the predecessor number. It must not be defined in the assembly table. In the assembly table you must define the MU names for the mounting parts not the class, in your case "Korrekt" or "Komplett".
MU Attribute table of the buffer: in the first column the attribute (e.g. "Name" ) and in the second the value of the attribute ("Korrekt" or Komplett"). You cannot use the classname.
I would connect Line51 directly to the assembly11 and define this predecessor number for the main part. Then define in the assembly for the assembly table "Predecessors" and in the table 2 parts from the predecessor number of the buffer. And in the buffer remove the exit strategy "MU attribute" because there is only 1 successor.