question

Eric R4 avatar image
0 Likes"
Eric R4 asked Jason Lightfoot commented

Move Object General Help

move-object-flexsim-example-please-help.fsmHello,

I need some help. I made this very simple example (attached). I would like my Process Flow logic to transfer all 60 items from Queue1 to Queue2 via "Move Object". I have been messing with this, in my more complex model, for over an hour now. I've never used "Move Object" before. Please help! Only 1 item transfers at a time.

Regards,

Eric

FlexSim 19.1.1
move object
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

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered Jason Lightfoot commented

You were only moving the last item that entered the queue. because the OnEndCollecting event only passes in the last item as the Entering Item. You need to have each of the tokens you created move a different item. I did this in this model by making each token move the first item in Queue1:

moveall.fsm


moveall.fsm (24.0 KiB)
· 3
5 |100000

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

Eric R4 avatar image Eric R4 commented ·
@Matthew Gillespie

Thank You!

Eric

0 Likes 0 ·
hermione12 avatar image hermione12 Eric R4 commented ·
Hi @Matthew Gillespie , for the same logic, I want to move specific amount of items with Part_Number to next Queue. The quantity for the items to be moved will be given in global table. I do not want to move all the items instead specific quanitity of that part number(many part numbers exist) needs to be sent to the queue.
0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ hermione12 commented ·
Pull the parts you want from a list into an array and then you can just use one 'Move Object' activity to move them all using the array as the set of items.
0 Likes 0 ·