question

SudheerReddy avatar image
0 Likes"
SudheerReddy asked Joerg Vogel edited

Attaching Trailer to AGV

Below image shows the code used to attach the trailer to AGV. But AGV is travelling without the trailer attachment. Please guide me on this, how to attach the trailer to AGV.

I am attaching the model for reference.

agvtra.fsm

FlexSim 20.0.0
agvattachtrailer
agvtrailer.jpg (44.2 KiB)
agvtra.fsm (37.1 KiB)
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

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel edited

Please create the pallet in the taskexecuter. The reference current is suitable.

load-item-move-it-to-trailer.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.

SudheerReddy avatar image SudheerReddy commented ·

I would like the trailers attached only when there is requirement. Sometimes the TaskExecuter will carry 1 trailer or 2 trailers or 3 trailers.For that reason I am not creating in the Task Executer.

I am attaching the model which I took as reference. But for some reason I am not able to replicate the same.

Could you please have a look into this model and let me know why the model I am working is not behaving the same way.

21483-agv-with-trailer-1.fsm

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel SudheerReddy commented ·

The Trailer must be inside of the taskexecuter.

transfernode(token.trailer,current);
// Or
token.trailer.up = current;

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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