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

Start *.exe through PLC progem

kumareasu
2024-04-16
2024-04-17
  • kumareasu - 2024-04-16

    I want to start an application in Windows 10 environment from Windows RTE. How to do ?

     
  • wollvieh

    wollvieh - 2024-04-16

    Look for sysprocess lib.

     
  • kumareasu - 2024-04-17

    SysProcessExecuteCommand(pszComand:='start C:\Program Files\SharedMemory\SharedMemory.exe',pResult := ADR(Result));

    the above statement hangs the PLC until I do cold reset

     
  • kumareasu - 2024-04-17

    SysProcessExecuteCommand(pszComand:='start C:\Program Files\SharedMemory\SharedMemory.exe',pResult := ADR(Result));

    the above statement hangs the PLC until I do cold reset

     

Log in to post a comment.