question

Rohan Vaidya avatar image
0 Likes"
Rohan Vaidya asked Jacob Gillespie edited

Flow Control and Routing for Parallel Stations

I have 3 parallel processes named UAP 1, UAP 2, and UAP 3 (See image circled in red)

Requirement:

I want the flow items to stop at the decision point DP_UAP_Entry (See image Circled in black) when all the 3 UAPs are occupied. Whenever any of the process releases an item, I want the flow item to go to that process.

Current Logic:

  • -I have defined a global variable which increment every time an item passes through decision point DP 35 (Circled in blue). I decrement the counter at the end of all 3 processes (DP 60).
  • -Once the counter reaches above 3, I stop the items at DP_UAP_Entry. After the flow items are stopped they need to be released when the process releases an item. But I need to know how to release a flow item once the counter goes below 3?

Please attach your solution if possible! Thank you.

Choose One
decision pointsparallel flowflow contro
· 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.

Rohan Vaidya avatar image Rohan Vaidya commented ·
0 Likes 0 ·

1 Answer

·
Jacob Gillespie avatar image
3 Likes"
Jacob Gillespie answered Jacob Gillespie edited

You could start the stopped item using this from DP60:

treenode decisionpoint = node("DP_UAP_Entry", model());
treenode stopped = conveyorinfo(NULL, CONV_INFO_GET_ACTIVE_ITEM, decisionpoint);
conveyorresumeitem(stopped);

Also DP60 doesn't get any items from Conveyor110 you need to move it farther along the conveyor.

Take a look at the attached model and the changes I made to DP60.

3971-module-line-v3-trial-autosave-edit.fsm


5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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