How to prevent overflow in downstream queue by using flexcript to create TS

How to prevent overflow in downstream queue by using flexcript to create TS

bing_syuan_l
Not applicable
22 Views
1 Reply
Message 1 of 2

How to prevent overflow in downstream queue by using flexcript to create TS

bing_syuan_l
Not applicable

[ FlexSim 18.2.3 ]

tasksequence-problem.fsmHi everyone

In the beginning, I don't want to transfer the pallet to the downstream queue upon the empty arrived.

The pallet should be moved to the downstream queue by operator after the box be placed on.

therefore, I creat a Tasksequence to operator by flexscript after robot has finished the transport.

But the downstream queue's max content is 1, It's will be overflowed.

Is there a idea to avoid this condition happend?

Thank you

0 Likes
Accepted solutions (1)
23 Views
1 Reply
Reply (1)
Message 2 of 2

tanner_p
Not applicable
Accepted solution

This condition can be avoided using normal Process Flow activities (rather than custom code). The insertion of a Decide activity after the Load activity can check the contents of the queue that will receive the item and if there is not space for the item, the item will not be unloaded. Otherwise, there's not a clear-cut way to abruptly change the task sequence created through Custom Code, as it becomes more convoluted.

I've updated your model to include an example of the logic I've described. Hopefully this helps.

ts-problem-help.fsm

0 Likes