There are some examples found here. This is an extended collection of samples to read or write various specific MDP parameters using the PLC libraries Tc3_IPCDiag and Tc2_MDP
This sample is created by Beckhoff Automation LLC. and is provided as-is under the Zero-Clause BSD license.
Should you have any questions regarding the provided sample code, please get in touch with your local Beckhoff support team. Contact information can be found on the official Beckhoff website at https://www.beckhoff.com/en-us/support/.
Further Information on MDP can be found at the Beckhoff Infosys
Any Beckhoff PC with a TwinCAT 3 runtime.
- TE1000 TwinCAT 3 Engineering version 3.1.4024.0 or higher