I have packing stations on the both sides of the line. If is packing completed, the MU is moved onto Line. At the end of the line, there is a weighing-machine.
If is weighing-machine working, I need to stop Line, but the packing stations must be working. And there is a problem: If the Line is stopped, the MU in the Packing station cannot be moved onto Line.
I created a simple model.
How can I solve it?
I found easy solution . In method "moving" i put there a condition:
if Line.stopped=true then Line.stopped:=false; ?.cont.move(Line, 2); Line.stopped:=true; else ?.cont.move(Line, 2); end;
and it's working