question

Marko G avatar image
0 Likes"
Marko G asked Matthew Gillespie commented

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

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?

FlexSim 16.2.2
agvpull from listitem list
· 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.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

Can you attach your model?

0 Likes 0 ·
Marko G avatar image Marko G Matthew Gillespie ♦♦ commented ·

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

Sorry, att file. it is 16.2.2 version

Regards, Marko

0 Likes 0 ·

1 Answer

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Matthew Gillespie commented

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

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"

loadtype.png (10.5 KiB)
· 7
5 |100000

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

Marko G avatar image Marko G commented ·

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 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Marko G commented ·

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

0 Likes 0 ·
agvwork.fsm (151.3 KiB)
Marko G avatar image Marko G commented ·

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 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Marko G commented ·

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.

0 Likes 0 ·
agvwork2.fsm (151.4 KiB)
Marko G avatar image Marko G Matthew Gillespie ♦♦ commented ·

@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 0 ·
Show more comments
Marko G avatar image Marko G Marko G commented ·

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