sorting items (articles) from a conveyor by a joblist

sorting items (articles) from a conveyor by a joblist

christoph_gruber
Not applicable
12 Views
2 Replies
Message 1 of 3

sorting items (articles) from a conveyor by a joblist

christoph_gruber
Not applicable

[ FlexSim 20.1.2 ]

Good day, I have the following problem.

In PF I generate a Joblist (gerneral list) with the different articles (1-5) on an Array. On a conveyor system the articles are circling. I have two DPs on the convevors. On one DP (DP2) I define the Job (at the moment manuel) on a Lable. On another DP (DP1) I will sort the right articles from the job on DP2 to the outgoing conveyor. I have a problem with the "pull from list" on DP1 arrivaltrigger. What´s wrong in my query? Thanks for helping me.

please see the model attached


testmodel.fsm


0 Likes
Accepted solutions (1)
13 Views
2 Replies
Replies (2)
Message 2 of 3

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

Query

WHERE value = Puller.Article

value is a reference to the entry of the list. You want to compare item.Article with value of your list. But you can only parse item as a Puller into query clause.

On Pulled

if (numFulfilled == numRequired) {
   treenode newDest =current.outObjects[1];
   Conveyor.sendItem(item, newDest);   
}

You need a senditem action, too.

0 Likes
Message 3 of 3

christoph_gruber
Not applicable

thanks a lot Jörg!

0 Likes