question

Steven Chen avatar image
0 Likes"
Steven Chen asked Adrian Haws commented

Load item while downstream blocked

Hello,

In a basic model with source, processor, sink, operator. After first item into processor, I want the operator to load second item and wait in front of processor, make the operator become something like queue, a buffer.

I have created one by using custom sequence, but it's not easy to do that. Is there a better way to approach that without writing code?

I think process flow will make work easier, still studying.

op-buffer.fsm

tasksequence
op-buffer.fsm (18.0 KiB)
5 |100000

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

1 Answer

Sam Stubbs avatar image
1 Like"
Sam Stubbs answered Adrian Haws commented

I think you'll find that this is much more easily achieved using Process Flow. Essentially you can create this by creating two Resources in the Process Flow (and assigning their Reference value to your Operator and Processor respectively.) Then utilize the travel, load and unload activities to time it the way you want. You can do this to create a wait period after picking up the item and carrying it to the processor, but before the processor is finished.

I've attached an example model below.

(If you choose not to use Process Flow, you will need to create and dispatch a custom tasksequence. The template for a custom tasksequence code can be found in the flow tab of your Source. In the Dropdown menu where you selected your Operator, you can select the Task Sequence Example_1. You can look at the code, and you will need to customize the Task Sequence commands here. Again, I think you'll find it simpler to use Process Flow, but both are options.)

waittimeexample.fsm


waitexample.gif (391.6 KiB)
waittimeexample.fsm (23.6 KiB)
· 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.

Steven Chen avatar image Steven Chen commented ·

That is awesome! Thank you!

0 Likes 0 ·