Hallo,
aktuell arbeite ich an einem Modell welches durch eine Pull-Steuerung aus einem Puffer Aufträge (10 Arten: MixType: A-J) gemäß einer Sequenz zieht und auf 3 Arbeitsstationen verteilt.
Nun möchte ich die Aufträge täglich in einem Puffer (oder einem Lager) auflaufen lassen und nacheinander abarbeiten, so dass ich wenig rüsten muss. Die Pull-Steuerung soll demnach die Aufträge priorisieren.
Mein Modell habe ich gemäß des Pull-Bsp. erstellt, bin mir aber nicht sicher ob es richtig arbeitet.
Wäre super wenn ich Hilfe bekommen kann!
Vielen Dank.
Code der Pullsteuerung im Puffer:
-- The inbound buffer pulls new lots according to the actual mix
is
BlockTable :table;
type :string;
do
BlockTable.create;
-- creates the structure for the local variable
-- BlockTable, which is of the type table
Mixdefiner.fwBlockList(BlockTable);
-- copies the forward blocking list in
-- the local table BlockTable
type := mixOnPressLine;
-- copies the mix related to the MU that is currently running on the press line to the variable "type"
if BlockTable.findAttr("formulation", type) then
-- checks, if a part with the same mix exists in the table BlockTable
?.unblock(BlockTable[1,BlockTable.cursorY]);
-- unblock the part with the same mix
-- BlockTable.cursorY returns the row number where the part was found in the "findAttr" command above
else
if BlockTable.yDim>0 then
-- checks, if at least one part is in the table
?.unblock(BlockTable[1,1]);
-- unblock the first part
end;
end;
end;
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP