Introduction

Introduction 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.

Generic function blocks

A generic function block can be used to access any IPC diagnostics modules.

The application is more complex and the user requires a certain understanding of the MDP (Module Device Profile) information model.

Sample: Accessing network card information via FB_MDP_ReadElement:

The generic function block FB_MDP_ReadElement determines the dynamic module address internally. The user only needs to specify the module instance that he wishes to access. The system has several network cards and each network card is represented by its own module instance.

Specific function blocks

A specific function block only accesses information from a specific module. It is simple to use and requires no knowledge of the MDP information model used.

The specific function blocks available determine the dynamic module address internally.

However, specific function blocks are only available for a selection of the IPC diagnostics data.

Sample: FB_MDP_CPU_Read

Introduction 2: