Using the MTP PLC Library
TwinCAT MTP PLC Library (Tc3_MTP) comes with TF8400 | TwinCAT 3 MTP Runtime. It provides a number of ready-to-use FBs corresponding to the MTP Specification. Simply declare an instance of FB for a certain DataAssembly in a PLC program and initialize its variables in line with the HMI Process Library control properties. After this and successfully compiling the PLC project, this FB will be available for linking to the Data Symbol property:

TwinCAT MTP PLC Library implements structures of variables according to the MTP Specification and also provides services which are appropriate for this standard. This means that the FBs include algorithms for controlling the equipment. This creates a complete system, from the equipment control level to the HMI.