Samples

Samples 1:

Update: Tc3_IPCDiag library

The TwinCAT 3 PLC library Tc2_MDP is the predecessor to Tc3_IPCDiag. With the new Tc3_IPCDiag library the number of readable parameters has been increased and the user interface has been optimized. It is recommended to use the Tc3_IPCDiag library.
Future extensions will no longer be performed in the Tc2_MDP library. It is not recommended to use the Tc2_MDP library for new projects. All functionalities of the Tc2_MDP library can also be found in the new Tc3_IPCDiag library.

The section Querying CPU data (generic) describes a sample program for reading the CPU data of the IPC diagnostics via the generic function block FB_MDP_ReadElement. It is designed in such a way that it can be easily extended with the basic knowledge of the MDP information model for access to other IPC diagnosis modules. The sample for Querying the fan status (generic) is based on the sample program for querying the CPU data.

The section Querying CPU data (specific) describes a sample program for reading the CPU data of the IPC diagnostics via the specific function block FB_MDP_CPU_Read. The sample cannot be extended for access to other IPC diagnostic modules, e.g. fan data.

Further sample programs are described in the sections Reading IPC serial numbers and Setting the IP address.