question

wonjo P avatar image
0 Likes"
wonjo P asked Sam Stubbs commented

How can I separate certain boxes of a tote?

190108-orderpicking.fsm

Hello, Dear.

I'm making a order picking model, I have a problem.

First of all, AGV load the certain tote that arrived Queue1 by sequence or random.

Also, Separator1 separate two things, one is the tote that has other boxes, another one is the certain boxes.

Thank you so much for your help.

FlexSim 19.0.0
agvseparatororder picking
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 Sam Stubbs commented

You move the boxes off the tote. You need a reference or pointer to the boxes, The boxes are the subnodes of the tote.

item.first// first box
item.subnodes[1] // first box
item.subnodes[2] // second box
item.subnodes[item.subnodes.length] // last box
item.last // last box

Move the fourth box of the item (tote) to an Object named as "myDestinationObject"

moveobject( item.subnodes[4], model().find("myDestinationObject")); 
· 2
5 |100000

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

wonjo P avatar image wonjo P commented ·

Thank you so much for help, sir. I understand a code. but I don't know where to write them. Where will I enter the code ?

0 Likes 0 ·
Sam Stubbs avatar image Sam Stubbs ♦ commented ·

I'm not entirely sure I understand what you are asking here. Is there any way you can clarify? If you want to use Jorg's code below, typically you will put those kinds of identifiers into Send to Port logic, or an On Load trigger on one of the AGVs, or in an On Entry trigger in the queue or Separator. Jorg's code will allow you to single out the box or tote you're looking for, but you'd need to write the sorting logic yourself, or use one of the drop down options for that. If that's not what you're looking for, then I'll need a little bit more clarity on what it is you are needing the model to do.

0 Likes 0 ·