Push item to list, move with AGV and pull from the list

Push item to list, move with AGV and pull from the list

marko_g
Not applicable
26 Views
10 Replies
Message 1 of 11

Push item to list, move with AGV and pull from the list

marko_g
Not applicable

[ FlexSim 16.2.2 ]

I am trying to push an item to a list and later I am pulling the item with a WHERE clause? I make something totally wrong, because system not working. The item receive number at source, moved with AGV and on sing it is pull when the number match. E.g. From Queue 1 to Skladisce. Can someone look where is my mistake?

0 Likes
Accepted solutions (1)
27 Views
10 Replies
Replies (10)
Message 2 of 11

Matthew_Gillespie
Autodesk
Autodesk

Can you attach your model?



Matthew Gillespie
FlexSim Software Developer

0 Likes
Message 3 of 11

marko_g
Not applicable

medleagv-127pushpull-dvezanki-17-5-19.fsm

Sorry, att file. it is 16.2.2 version

Regards, Marko

0 Likes
Message 4 of 11

Matthew_Gillespie
Autodesk
Autodesk
Accepted solution

The items you're pushing to the list don't have a LoadType

19325-loadtype.png

Also, since it looks like each item can only have one LoadType, this where statement won't work.

"WHERE LoadType == 1 AND LoadType == 3 AND LoadType == 4"

That where statement means that the item has to be a type 1,3, and 4 all at the same time. If you want to pull all types 1, 3, and 4 you need to use ORs since the item can be a 1,3, or a 4.

"WHERE LoadType == 1 OR LoadType == 3 OR LoadType == 4"


Matthew Gillespie
FlexSim Software Developer

Message 5 of 11

marko_g
Not applicable

Thanks. So if i want to move with AGV from Queue D1, Queue D3 and Queue D4 to Queue R134, can this be solved with LoadType nr.?

How can I assign that box from Queue D1 receive LoadType 1?

Thanks for help.

0 Likes
Message 6 of 11

Matthew_Gillespie
Autodesk
Autodesk

Actually, since you're using the AGV template you don't need to use your own list. In the attached model I created port connections between Queues D1,D3,D4 and Queue R134. Then I changed the Send to Port on the D Queues to First Available. I also turned off the Pull Strategy on Queue R134.

agvwork.fsm



Matthew Gillespie
FlexSim Software Developer

0 Likes
Message 7 of 11

marko_g
Not applicable

But if i start this agvworks, no flowitems moves from D1,D3 and D4 to T134. AGV travel empty all the time. I also want to move some items from base floor to uper floor (via elevator) and move some items in the uper floor

0 Likes
Message 8 of 11

Matthew_Gillespie
Autodesk
Autodesk

It wasn't picking up from D1 because you didn't have a NextLookForWork connection to D1.

agvwork2.fsm

If you need help using the AGV Elevator please post a separate question detailing what you've tried and what you don't understand.



Matthew Gillespie
FlexSim Software Developer

0 Likes
Message 9 of 11

marko_g
Not applicable

Yes, sorry, my mistake. now it works perfect. But if i want also to move items from (koluti za zaluzije) to uper flor to koluti za zaluzije? Will in this case i need my list or is it OK just to make port conestion between this two source and sink?

0 Likes
Message 10 of 11

marko_g
Not applicable

@Matthew Gillespie

Hi, just want to make same as you in agvwork2.fsm in my original model with 2 floor, but it wont work. The AGVs dont want to move.

0 Likes
Message 11 of 11

Matthew_Gillespie
Autodesk
Autodesk

Take a look at this documentation page, https://docs.flexsim.com/en/19.1/WorkingWithTasks/AGVNetworks/AddingElevatorsAGVs/.

If you still need help please post a separate question detailing what you've tried and what you don't understand.



Matthew Gillespie
FlexSim Software Developer

0 Likes