question

BING SYUAN L avatar image
1 Like"
BING SYUAN L asked BING SYUAN L commented

How to set item location on agv (the item was passed from robot)

process-flow-video.7zk21模擬v-5-autosave.fsmOriginal, I use agv to load the item and the item wili be put on the correct position by the on load trigger(custom code - sort item position). No matter first or second item could work. (process flow - AGV2)

But now I change to use robot that mount on agv to load the item, how to set item location on agv when using robot unload the item to the agv as original using agv to load item. (process flow - AGV)

FlexSim 18.2.2
agvrobotitems
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

tannerp avatar image
0 Likes"
tannerp answered BING SYUAN L commented

Hi @BING SYUAN L,

If I understand what you're asking, you can use a "Change Visual" activity for this in Process Flow. I've attached an example to this reply. In the "Change Visual" activity, you can choose "Set Location to Object Location" and use the AGV as your relative location. This way, you can stack the box exactly where you'd like it. Hopefully this makes sense. I've attached an image below to help explain.

Model: object-location-relative-example.fsm


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

BING SYUAN L avatar image BING SYUAN L commented ·

HI @Tanner Poulton

That what I need, thank you so much, but I'm wondering how can I set the item to the same position as the slot1 (it's the drawsurrogate object of agv).

Another question is how can I get the trigger token when there is a item on agv (original I use onload activity of agv, but now the item is loaded by robot and then unloaded to agv.) because I would like to change agv type while it gets the item.

Thanks for your help.

0 Likes 0 ·
tannerp avatar image tannerp BING SYUAN L commented ·

Hi @BING SYUAN L, glad it was helpful!

In order to set it to the same position as another object, you could use the eyedropper next to the "Relative To" box to select "slot1" and then keep all three Offset values as 0.

Perhaps instead of trigger using "On Load," you could use the trigger "On Unload" or something similar that indicates when the item is loaded by the robot to the AGV.

0 Likes 0 ·