question

Babar Koraishy avatar image
2 Likes"
Babar Koraishy asked Suraj J edited

how to make AGV stay at processor till job is done?

i have multiple processors connected to an AGV network. the AGV picks up a job and takes it to different processors. I want to make the AGV stay with the job/part at every processing node till it is sent to the last node, where it is unloaded and then the AGV is released.

how can I do this?

FlexSim 16.0.1
agvprocessortransporthold
· 1
5 |100000

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

Jeff Nordgren avatar image Jeff Nordgren commented ·

Can you send your model or a simple sample model? Then we could see what is actually being done in the model and would be able to assist you better.

1 Like 1 ·
Logan Gold avatar image
7 Likes"
Logan Gold answered Suraj J edited

I was able to talk to Babar over the phone concerning this question, so I wanted to let anybody else know what we were able to come up with.

There is an option when using the "Use Transport" option in a Fixed Resource's Flow tab (or in the Output section in its Quick Properties) called "Tagged Resource".

You can leave everything as the default, especially the Hold parameter, which will tell the AGV to not perform any other task after dropping off the flowitem until other Tagged Resource logic tells it to do something else.

We can then set up all the Processors so they will use the same Tagged Resource logic in their Use Transport logic, making sure the Tag Label is the same one used in the first call to Tagged Resource (resourcetag is the default name, as well as the one used in the example pictures). In other words, if you change Tag Label in the first call to Tagged Resource, you will need to make sure all the other calls to Tagged Resource have the same change made. Also, for as long as we want to keep the AGV travelling along with the flowitem, we leave the Hold parameter as true. In the example pictures, the AGV should travel with the flowitem throughout all the Processors.

When we want the AGV to be freed so it can do something else, we just need to set the Hold parameter on the last use of Tagged Resource to 'false'. In the example, this means we change the last Processor and the AGV will pick up the item after it is processed and unload it onto the Queue before the item leaves the system through the Sink.


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

jing.c avatar image jing.c commented ·

I haven't noticed this option. It's easy and helpful, thank you Logan!

0 Likes 0 ·
vigneshwar K avatar image vigneshwar K commented ·

@Logan Gold Could you please post your model?

0 Likes 0 ·
Suraj J avatar image Suraj J commented ·

@Logan Gold

Does this method still work?
If yes, I am not able to get the model working for me. Could you please have a look?agv-processor-tagged-resource.fsm

0 Likes 0 ·
jing.c avatar image
2 Likes"
jing.c answered

I had built a model last year much like what you describe, but I am not quite sure if it is what you want.

You can see the model attached:

1.I added a label in every processor called "untilze_agv" to store the reference of unloaded AGV

2.All item will be sent from SendQueue, I changed "Task Sequence Example 1" in UseTransport Trigger, and add an Utilize Task in the end of Defult TaskSequence

inserttask(ts,TASKTYPE_UTILIZE,item,NULL);

3.When an AGV unloads item to a processor, It will set itself to the label value in the processor which you can find the code in OnUnload Trigger in any AGV.

4.When processor want to find an transporter, It will send a delay message to itself and free the corrected AGV(based on item) in OnMessage Trigger, then this agv will be the transporter.

This method now seems a little complicated, but it works.

I built this model in 7.3 at first, now I saved it in 7.5 and it should change a little In 2016(Label Data Saved Issue) I attach both of them.

BTW, you will see some Chinese in this model, I hope this will not influence the model work in your computer.

stay-until-process-finished-byjingv75.fsm

stay-until-process-finished-byjingv16.fsm


5 |100000

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