Communication between 2 plc

For a school assignment I have to recreate a system with two plc’s in TIA portal. The main plc controls the system and the second plc has to perform action when the main plc says so.
To visualize the system easier I use factoryio. The main plc controls the factoryio scene and the second plc communicates via internet connection with the main plc only when I start the second plc in plcsim, then I get the comment in factoryio that 2 plc are running at the same time.
Is there a solution to still have two plc to run at the same time and to have control one factoryio ?

ps: I have access to plcsim advanced if that can solve the problem.

Thanks in advance