Introduction
![]() | 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. |
The TwinCAT 3 PLC library Tc2_MDP is used by the Beckhoff IPC diagnostics. Details can be found in the documentation: Beckhoff Device Manager.
The available IPC diagnosis data are organized in the configuration area in so-called "Modules". A module contains all the data for a particular topic. The example applies to the IPC CPU.

A module can in turn contain subcategories, so-called "Tables". A table organizes the detailed information that it contains in so-called "subindices". Since the contents of the list depend on the components existing in the current IPC, the list is generated dynamically – depending on what components the current PC contains, or what types of information it supports.
Example: Access to data on the mainboard requires a BIOS (and the corresponding hardware in the PC) that can supply these data.
A module therefore cannot be addressed via a fixed address. You first have to determine where exactly the module is located.
![]() | Restricted access at the time of system start MDP forms an interface to the hardware. This is independent of TwinCAT. MDP can be accessed from TwinCAT with the PLC library. This is done internally by means of ADS communication. The versatility of the hardware configuration justifies a different initialization phase of the MDP service. It is possible that first PLC cycles are executed while the MDP initialization is not yet completed. |