question

gilbert jerald avatar image
0 Likes"
gilbert jerald asked Joerg Vogel edited

How to eliminate interrupts of two transporter ?

Hello friends,

We've built a model in which two item types are generated in the source and are transported by two transporters to the processors and are then placed in stored base on their item types. The problem we are facing is that a particular transporter interrupts the task of another transporter to complete the job. (For example : if a transporter load an item from queue then that particular transporter should load and unload the item in each processors and finally it should unload it in the respective store and then it should start to load the item from queue, this process should goes on continuously until the model stops )but here before transporter B finished his work, transport A interrupts and do the work of transporter B. How can we avoid this? i have attached the model for your reference 123.fsm.

Thank you

Choose One
transporter interrupts
123.fsm (24.3 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.

Sam Stubbs avatar image Sam Stubbs ♦ commented ·

This is an old question isn't it? Wasn't this question asked back in August sometime?

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel edited

Dispatcher > Pass To > Port By Expression, insert the source code instead of the number 1:

getitemtype(gettaskinvolved(tasksequence,2,1))

The "Pass To" function expects a number of the output the Tasksequence should be passed. I have chosen the itemtype of the item in the transport tasksequence. The command "gettaskinvolved" returns the reference of the 2nd task first parameter. The second task is in the standard transport tasksequence "TASKTYPE_FRLOAD". The first parameter is the item to load. The Parameter "tasksequence" is taken from the source code editor of this function.

The standard transport tasksequence consists of:

  1. Travel to the load station
  2. Load the item from a Fixed Resource ( the load station)
  3. The Break task, which looks for more items to load in the taskexecuters Break To function, if any transport capacity is left.
  4. Travel to the unload station (sometimes in the manual named as destination)
  5. Unload the item to a Fixed Resource (the unload station)
· 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.

gilbert jerald avatar image gilbert jerald commented ·

@Jörg Vogel

Thank you for your answer

0 Likes 0 ·