Getting started with Python Scripting and finding approach to model using python

Just to make sure: you don’t need a Python Script to do that, you can you could just connect the mobile robots to a Transport Controller, create your Flow by connecting the Feeder to Sink with the Modeile robot transport controller as the implementer, and the Mobile robot will automatically go to the Feeder if there is a product in it and bring it to the Sink. (video 7 and 8: Getting Started | Visual Components Academy )

If your aim is to do it with a Python script:

  • with a Transport Controller: you can use the standard functions from Process Modelling. So you would basically have to program what you can do manually (like what you can see in the link to the Academy I shared). That means the mobile robot will move automatically to the Feeder to pick a product and bring it to the Sink. What you need to programm will depend on what you want to do, and if you have already defined some products and flow groups for example.

    • this answer was quite good: AGV development with Python - #2 by TSy (the links are for the 4.8 help file, but I think they all stil apply. You can look for these in the 4.10 Help File)
    • you can have a look at this Addon: Excel Link Manager . It might be a bit more complicated as what you want to do, but it could be helpful.
  • not using a Transport Controller means you can’t use the standard function from Process modelling, and you have to program a new way to control your mobile robot, which will be complicated. There are some topics on the forum, from people who tried, but it will depend a lot, on how you want the Mobile robot to work, so there is no standard method for it (there is already the solution provided by VC with the Transport Controller…)