question

Rafael de Assis avatar image
0 Likes"
Rafael de Assis asked Rafael de Assis commented

How to couple two pallets with tugger AGV?

Hello

I dont have been sucesfull for to control tugger AGV.

I need that AGV couple aways two pallets from queue "buffer de saída", and the pallet with label 1 has destiny to queue "buffer linha de motores" and pallet with label 22 has destiny to "buffer de expedição". I was able to attach the pallets to the AGV, but not the loaded pallets coming from queue.

the AGV ways drags two pallets, indenpendently to label (label 1+1, 1+22, 22+22).

in the future, I will plus more conditions, but now I cant progress.


Modelo situação AGV rebocador 4.fsm

FlexSim 21.1.5
tuggercontrol agv
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

First of all "Buffer de saída" 's send to port is trying to push items to a global list that does not exist - so you have an exception at 36038.59.

Did you upload the correct model?

0 Likes 0 ·
Rafael de Assis avatar image Rafael de Assis Jason Lightfoot ♦♦ commented ·

Hello Mr. Lightfoot.


I attached the correct file now!

Modelo situação AGV rebocador 3.fsm

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @Rafael de Assis, was Joerg Vogel's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Rafael de Assis commented

I think your previous question is about the same subject. New is here that the item that is connected as a trailer and it is a loaded pallet instead of a single item. A problem is, that a taskexecuter is not aware of any destinations of items on a pallet. It will be your task to load a pallet, attach it as a trailer and then to let move the taskexecuter to destinations accordingly to the items on a pallet.

It would be nice, you can demonstrate your problem with an example rather than with your working model. It needs really some time to understand when and what you want to get as your desired behavior implemented.

This model seems to be a part a of a thesis and there exists a code of academic integrity.

· 4
5 |100000

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

Rafael de Assis avatar image Rafael de Assis commented ·

Hello, Mr. Joerg

I wasnt clear in my question. I'm Sorry

I Intend the AGV take every time that two pallets are avaible in queue "buffer de saída".

the pallets is the wagon, i attached the picture for you to view wagon.jpg

I have been tryed to do AGV take the both pallets and go first to "buffer linha de motores" and after to "buffer expedição", but I dont have success to do AGV tugs the pallets.

I looked for some exemplos, but normaly the exemples create the wagon.

0 Likes 0 ·
wagon.jpg (56.3 KiB)
Joerg Vogel avatar image Joerg Vogel Rafael de Assis commented ·

I have adjusted my model to change an item type of a box to a pallet.

attach-trailer-by-code-and-move-a-red-box.jpg

Code is on Entry of Queue attach trailer and on Unload of Taskexecuter1.attach_trailer_by_code_and_move_a_red_box.fsm


0 Likes 0 ·
Rafael de Assis avatar image Rafael de Assis commented ·

Hello, Mr. Vogel


Do you have another similar exemples of my case?


0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Rafael de Assis commented ·
@Rafael de Assis, I haven’t. If I answer or comment, I build a new model. For testing purpose you should do it, too. A final working model is not a good project for testing.
0 Likes 0 ·
Rafael de Assis avatar image
0 Likes"
Rafael de Assis answered Joerg Vogel commented

Hello,

I'm sorry for incovenience, but my goal is to built a model whose AGV goes to queue "Buffer de saída" when in this queue have two palets.

the pallets have the conditions:

1. or the pallets have 4 flowitens whose label can be 5, 22, 320 or 4100. this pallets must to be unload in queue "buffer de expedição"

2. or the pallets have 8 flowitens whose label is 1. this pallet must to be unload in queue "buffer linha de motores"

- In my model, the pallets are being assembled correctly with their appropriate lebels.

- on exit of each "combiner", I assign a label for the pallet. label number 1 is assign for pallets whose destiny is "buffer linha de motores" and number 22 whose destiny is "buffer de expedição".

My problem is to do the AGV couble two palets like a tugger AGV every time that have two pallets avaible in queue "Buffer de saída" and leave the pallets in respective destiny.

like i attached the picture, in realy each pallet has a structure if rollers whose AGV can be drags.


thank you!

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

Joerg Vogel avatar image Joerg Vogel commented ·
I am aware, what you want to do. As a part of an academic project or thesis you are responsible for your work. I can try to give an example or some hints. Your answer describe a goal but it does not contain any questions about what you cannot currently get to work. Attaching of a trailer is a part of my example. Detaching of a trailer is an opposite action you probably could realize yourself. Controlling a material flow is typically a task each user accomplish on its own. So I don’t understand what you are asking for, @Rafael de Assis. You are waiting for pallets to get loaded into a taskexecuter meeting combinations. Currently these combinations are under a condition that a pair enters a destination. Then my suggestion is you build a testing model which does exactly only this. A buffer collects items. If there are enough items to fulfill a condition for a pair you release involved items to a destination. Such a task can you achieve for example by combiners in batching mode, list operation with created pull attempts resolving in backorders or by command combination of holditem / releaseitem. You can replace command holditem by a picklist option called do not release item in an output property pane.
0 Likes 0 ·