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

SHARED MEMORY

TONY STARK
2021-05-27
2021-05-28
  • TONY STARK - 2021-05-27

    Hi

    How to create a link between C application and the Codesys application to refer a shared memory.

     
  • TONY STARK - 2021-05-27

    Hi Campbell

    I want to use shared memory concept and share the data between the Codesys Application and C application on a Linux platform.

    I have prepared the project too, but i am facing issues with SysShm libraries.

    Can you guide me how to crate share memory?

     
  • Thomas - 2021-05-27

    Hi Tony,
    Ian shows you the correct link and if you compile the "\SharedMemoryCLinux\myshm.c" you can communicate between the codesys and your compiled c-application:

    Here are my test on a raspberry:

    Regards

     
  • TONY STARK - 2021-05-28

    Hi Thomas

              I hope the example is developed for Codesys Control V3 64 and Codesys Soft Motion RTE?
              Am i right?
    
     

Log in to post a comment.