question

gilbert jerald avatar image
0 Likes"
gilbert jerald asked Sam Stubbs answered

How to control the task sequence motion through process flow ?

in my operator will load 3 item in processor 9 . in my model you can notice that at time 100 th sec all boxes will be loaded by the operator on processor 9 except 1 or 2 box left in the queue 17 , which is not picked up by the operator to load on processor 9 , I know that this happens because i have use BATCH in my process flow model , but when i remove BATCH from the process flow model token enter unevenly between entry and exit zone because of this operator is not properly loading the boxes on the processor (Note:This happens when i remove the BATCH from process flow model. He just take a box and travel towards processor for loading it . But at the same time another token is created on LOAD so the operator again moves back to loading section without unload the item which he pick at first time )How to over come the problem such that operator should load 3 items on processor ,but at the same time he should not left any items on queue 17 , and once he picks the box from queue 17 he should unload it at processor 9 he should never come back without unloading it on processor

i have attach my model for your referencelink-process-flow-with-3d.fsm

Thank you

Choose One
task sequence
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Sam Stubbs avatar image Sam Stubbs ♦ commented ·

It looks like you didn't enter that field when you created your question. (For future reference please make sure you select which version of the software your model is using.)

0 Likes 0 ·
chooseversion.png (9.2 KiB)

1 Answer

Sam Stubbs avatar image
1 Like"
Sam Stubbs answered

When you use a load activity in Process flow, if you're using an array of values to be loaded, the Load activity by default just gets one (the first) item being referenced. In your case when you batch items the value is lost. So it's only pulling the first one, because that's the only token with a label value remaining.

What I would do, is have a Resource represent the Operator, acquire the Operator (this will keep the 3 tokens/items to one at a time for the Operator, as you were indicating was a problem) then you can remove the batch activity all together.

As a side note, your Process Flow logic is somewhat confusing, you're using a lot of custom code activities that I feel could be done much more simply by using other basic activities (such as setting labels) And you're sending tokens to the sink before they've released information which is causing them to stick in the sink. If you need help setting up the structure of your process flow, let us know.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.