variables between two applications

gatto
2024-06-22
2024-06-24
  • gatto

    gatto - 2024-06-22

    Hello,
    I'm experimenting with two applications.
    I was able to start stop applications with the CmpApp library.
    Currently in my test the variables declared in the first application are not visible and writable in the second.

    I ask if there is the possibility of having variables that are visible both in the first application and in the second.

     
  • nano - 2024-06-23

    use an gvl for interact variables beetween apps and threads.

    this should work

     
  • gatto

    gatto - 2024-06-24

    No.
    As you can see in the uploaded image, in my test project, I have a variable list GVL_1 which is located in appication_1.
    But if I write in POU_2, which is instead found in application 2, I cannot find the variables of GVL_1.
    it seems that the GVLs are children of each app

     

Log in to post a comment.