beckhoff TwinCAT 3 — 15.25.1.1 Creating an FB in the first PLC which provides its functionality globally

C++-samples | TcCOM samples 4. Enter the names of the methods (in this case: Addition() and Subtraction()) and select HRESULT as return data type. This return type is mandatory if this type of TcCOM communication is to be implemented. 5. Finally, specify the method parameters and close the TMC Editor. 6. Now implement the I_Calculation interface in the FB_Calculation function block and append the “c+ +_compatible” attribute. TwinCAT 3 307 Version: 1.19.1