Discuss challenges in energy and automation with a global network of peers.

39804members
181085posts

[Imported] Start an Exe file via FBD or script on change of a variable

Sisko

[Imported] Start an Exe file via FBD or script on change of a variable

>>Message imported from previous forum - Category:Scripts and Tips<<
User: martin_froehner, originally posted: 2019-05-09 06:04:07 Id:427
Hello,

I built an FBD logic to change the state of an Variable (bool). Now I need to start an exe when the var is true and another exe when the variable is false. Whats the best way to do this? I thought about a ST programm, cause it doesn't need as much ressources as a VBscript. But I can't find a way to execute my file. Or is it somehow possible to start an exe directly from the FBD?

Best Regards,

Martin