Cancel
Showing results for 
Search instead for 
Did you mean: 

Line method

Pioneer
Pioneer

I want to program the following situation.

 

I have a line and a machine. The machine just start working when 10MUs are accumulated at the end of the line and should stop when less then 10 MUs are accumulated at the end of the line.

 

I'm new to this program. Can you help me please?

 

Thanks.

 

João 

5 REPLIES

Re: Line method

Legend
Legend

João:

 

Please see the attached model.  The machine pulls the next MU off of the Line for processing when there are at least 10 MUs on the Line.  This logic can be found in the method PullNext which is set as the Pull Control for Machine.

 

Maybe this approach will meet your needs.

 

 

Re: Line method

Pioneer
Pioneer

Thank you very much for your help ! 

Re: Line method

Pioneer
Pioneer

In my case I want to that in a ParallelProc and I want the ParallelProc to work if there's 10 or more MU's waiting in the line. I should do more one Method for that right? 

 

is

do If Line.NumMU <10 then

    ParallelProc.pause = true 

end

   

Re: Line method

Legend
Legend

Yes, you can use the pause attribute to interrupt the processing.

 

Attached is a new version of the example, this time using a ParallelProc.  The method PauseMachine pauses the machine whenever the number of loads goes to 10 or fewer.  And teh machine cannot pull the next load if it is paused.

Re: Line method

Pioneer
Pioneer

Thank you ! It was very helpful!