set diferent load types on agv

set diferent load types on agv

samueldefreitas86
Contributor Contributor
347 Views
4 Replies
Message 1 of 5

set diferent load types on agv

samueldefreitas86
Contributor
Contributor

Hello,

In my model, I want the AGV to change its load type when passing specific control points:

  • When it passes Control Point 1, it should change to Load Type 3.
  • When it passes Control Point 2, it should change to Load Type "Loaded".
  • When it passes Control Point 3, it should change to Load Type 4.

However, I am unable to make the AGV change its load type when it passes these control points.

Could  please help me with this?

Thank you.

0 Likes
Accepted solutions (1)
348 Views
4 Replies
Replies (4)
Message 2 of 5

FelixMoehlmann
Collaborator
Collaborator

There is an option for this in the Custom Code activity: Control -> AGV -> Set Load Type

You then also need to either remove the default code in the "Initialize Travel" trigger in the AGV Network properties ("AGV Types" tab). Then the load type would always have to be set in Process Flow or other trigger functions. Or you edit the code to fit your needs. For example by setting a label on the AGV when the load type is set in Process Flow. This label could then be used to decide what to set the load type to at the start of a travel task.

0 Likes
Message 3 of 5

samueldefreitas86
Contributor
Contributor

Thank you moehlmann for the reply, but i already change but nothing happen.Could you review and modify the model to identify what changes are needed and show me how to implement them?

thank you

0 Likes
Message 4 of 5

FelixMoehlmann
Collaborator
Collaborator
Accepted solution

Right, I remember that I had this problem as well at some point. Apparently the load type switch when starting a travel task is actually hard coded into the system. Meaning you have to use the Initialize Travel trigger to force the AGV into the load type you want. Probably simplest to write it to the AGV as a label and use that in the trigger.

0 Likes
Message 5 of 5

samueldefreitas86
Contributor
Contributor

It works !!!!! thank you very much for the help moehlmann_fe

0 Likes