Fill two buffer processes after another

Hi there;

I am not sure if I am stupid, but I cannot figure out how I can fill up one buffer and after it is full store the rest of the products in another buffer…

I tried to block the second process (PN_Puffer_VG) with a property condition and like in the picture with get and wait for property but both didn’t work. I was looking at the statistics - PartsEntered from the main buffer where after 6 parts entered the main buffer the other one should get active - I have no idea why thats not working. Is there a problem because I am checking on a statistics value? Where else can I get the amount of parts that entered the buffer?

Is there another way, for example within the flow editor to achive my goal of filling the buffer after another?

Thanks a lot for helping!

All the best,
Patrick

You could have both buffers active all the time in different processes, then have those processes as alternatives in a flow step. That way products will always prioritize going to the first buffer. The first buffer needs to have the parallel input count set to size of the buffer so it accepts all incoming products until all slots are reserved.

However, I assume you probably want to empty the buffers too later and then this arrangement might cause issues. The buffer statement supports stopping accepting products but won’t stop executing until all products have been sent out.

Hi Tsy,
thanks a lot for you response. True, with the parallel input set to 6 the first buffer is filled first.

But I already figured out a way it works. I have no idea why property coniditon or waitProperty doesn’t work. However, if I check the the property within an if-statement it works or at least it reacts to the condition.

Thanks a lot!

Some properties don’t raise value change events and thus they won’t work with those statements that rely on events. I think there are only a few such properties in VC, though.