I'm trying to get MU's out of the Store but I'm having problem with writing the method. I wrote one and added it in 'Exit Control' of the single proc I connected next to the store but it's not working. Please help me guys.
there is little bit complex example in the Collection, which can be open via the Start Page of Plant Simulation: Category: Discrete material flow, Topic: Store, Warehouse control.
Please see the following simple program:
local MUobject:object; for local j := 1 to MyStore.numMU loop MUobject := MyStore.MU(j); if MUobject.name ="A" then MUobject.move(SingleProc); end; exitloop; next;
Watch Replays of Previous Topics