IPC diagnostics via ADS - Example in C#

In addition to communication with "Modular Device Profile for IPC" via MDP API it is possible to communicate with MDP via ADS.

The following example reads the CPU frequency, CPU load, free space, CF card drive usage, TwinCAT version & build and the CPU temperature, if supported.


Execute the following steps:

1. Extract the example.
2. Open the solution.
3. In Window1.xaml.cs find the line private AmsNetId netId = AmsNetId.Local.
4. In this case the default NetId is local. To connect a remote device change the NetId, e.g. to the new AmsNetId ("").
5. Compile and execute the solution.