cancel
Showing results for 
Search instead for 
Did you mean: 

Control Buffer Entrance

Creator
Creator

Hi everyone, 

 

I need your help on a Simtalk logic. In a methodW, which is control for BufferW, I want to check every MU that is in the bufferW and move them accordingly. With the logic I created now it only checks new MU that entered the bufferW, not the previous ones that are stored there.

 

I am also not sure if this method should be entrance or exit control.

 

Setup: 

 

MU.Order Attributes: (Duedate, Processdate and etc)

MethodW Smiley SadControl for BufferW)

BufferW: where orders are stored till they are picked up (capacity -1)

CountWOrder: variable which counts numMu in bufferW

 

Thanks in advance. 

 

 

 

 

 

 

2 REPLIES

Re: Control Buffer Entrance

Phenom
Phenom

how to scan the contents of a buffer was already posted in detail by Peter  (BufferW.ContentsList(ContList);....)((http://community.plm.automation.siemens.com/t5/Plant-Simulation-Forum/Pulling-MU-s-from-buffer-depen...)

 

Preferably  methodW should be triggered by bufferW.entranceControl.

bufferW exit should be locked in this case

 

Re: Control Buffer Entrance

Creator
Creator

Hi,

 

I saw the reply after I posted it, sorry for inconvenience.