question

christoph gruber avatar image
0 Likes"
christoph gruber asked christoph gruber commented

sorting items (articles) from a conveyor by a joblist

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


FlexSim 20.1.2
conveyorflexsim 20.1.2global list
testmodel.fsm (114.4 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

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered christoph gruber commented

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.

· 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.

christoph gruber avatar image christoph gruber commented ·

thanks a lot Jörg!

0 Likes 0 ·

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.