Sounds like you are using a component made for or which at least supports the Works component library.
The Works library is pretty much replaced by Process Modeling, but here are some resources:
In Process Modeling the resources such as AGVs are commanded by transport controller components. Communication between the resources and the transport controllers is implementation details that generally aren’t documented. This is also the case between the Works resources and the Works task controller.