This article is split into two parts:

  • A PDF containing the general information
  • An example implementation

To get started, let me suggest to download the PDF first. Then step through the example code later on.

To run the example, just add the attached code to any of your plugins and call the static method "ReadApplicationNames(bool bUseStandardServiceWriter)" from one of your commands (or a button on the user interface).

Once your build succeeds, do the following:

  • Start CODESYS with your plugin
  • Open any simple IEC project
  • Login to the PLC and download the application
  • Logout.
  • Trigger the code.

DN_ExecuteOnlineServices.pdf

225 KB

14.04.2021

Example_ExecutingServicesAsyncronously.cs

9 KB