Problem with agv loading multiple items

Problem with agv loading multiple items

jjm777
Contributor Contributor
195 Views
3 Replies
Message 1 of 4

Problem with agv loading multiple items

jjm777
Contributor
Contributor

Hi

I currently have a box from a conveyor packed into 4 boxes on a pallet and moved from the combiner to queu2.

When the moved cargo becomes 2, I want to make it so that the AGV can move it to Queue1.

I think there is a problem with the Process Flow. I need help.

 

park_jungmin_0-1749619057822.png

 

0 Likes
Accepted solutions (1)
196 Views
3 Replies
Replies (3)
Message 2 of 4

moehlmann_fe
Advocate
Advocate
Accepted solution

When you pull multiple values from a list at the same time, the resulting label will be an array that contains all pulled values. When loading/unloading the items you need to iterate through the array. Otherwise the TE only repeatedly loads the first item.

Furthermore, you either want a single token that pulls items from the list, moves them and then loops back to pulling items (right side of screenshot). Or you create one token per item, batch them and then move the items (left side of screenshot). 

moehlmann_fe_0-1749624568462.png

Creating a token for each item which then need to pull two items will end up with an ever increasing backlog of tokens in the Pull from List activity. While not a critical error, leaving tokens "lying around" in a Process Flow should be avoided.

There were also some incorrect centerport-indexes being used (items being pushed to the wrong partition and TE unloading to the wrong queue).

0 Likes
Message 3 of 4

jjm777
Contributor
Contributor

I think the question is well resolved. But I have one question. I want the AGV to move two loads horizontally.

0 Likes
Message 4 of 4

moehlmann_fe
Advocate
Advocate

Then you'd need to add code to its OnEntry trigger that places the items where you want them.

https://docs.flexsim.com/en/25.0/Reference/CodingInFlexSim/FlexScriptAPIReference/Tree/Object.html#M...

 

0 Likes