Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

share data between codesys and non-codesys application

suibaf
2016-02-24
2016-03-03
  • suibaf - 2016-02-24

    Hi,
    is possible to share data between a codesys and a no-codesys application i Raspberry PI2?
    BR

     
  • fixstuff555 - 2016-02-24

    Throwing this out there, since no replies.. Like I've mentioned in other posts, I use Modbus TCP, if you have the ability to compile and modify the code.

    If the application is already done, but provides output to the console, you can pass information into Codesys using the syscommand method detailed in the examples section. There is a command with and without parameter passing.

    Obviously, there are more methods, such as REST API, using HTTP Get and Posts, or MQTT, I'm sure there are more.

     
  • suibaf - 2016-02-25

    There is a example on codesys store: http://store.codesys.com/shared-memory.html

    But they are 2 codesys application! My problem is to share data codesys and non-codesys application on the same target.

    BR

     
  • pavol.fazik - 2016-03-03

    shared memory is one of the possibilities. Others are OPC UA, Modbus TCP. It depends on you application. What is the platform?

     
  • suibaf - 2016-03-03

    Hi Pavol,

    thank you for your answer.

    I'm trying to work with raspberry PI2.

    Yes shared memory is one of the possibilities. Now I'm trying to share data with UDP protocol.

    I appreciate your answer for me that I'm a newbie.

    BR

     
  • pavol.fazik - 2016-03-03

    no problem. Maybe I asked wrong way.... I meant what is the non-codesys aplication. In what language is it written?

     
  • suibaf - 2016-03-03

    Xojo

    w www.xojo.com w

     

Log in to post a comment.