cancel
Showing results for 
Search instead for 
Did you mean: 

Moving MU onto stopped Line

Creator
Creator

Hi.
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? 

1 REPLY

Re: Moving MU onto stopped Line

Creator
Creator

I found easy solution Smiley Very Happy. 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 Smiley Happy