CppExamples icon indicating copy to clipboard operation
CppExamples copied to clipboard

Please add Native FU/FB Tutorials

Open Leeable opened this issue 1 year ago • 2 comments

In addition to ACF PLM, which are C++ based frameworks, I hope to bring more Native Function Block tutorials, where the interface is defined in C# and the implementation logic is in C++. I think Native FU/FB is a very good way to make it easier to bring IT into OT, but there are very limited tutorials to be found. The limited resources limit users to having to go off of the tutorials in Cpp_example and Csharp_example to cobble together the results they want.

Leeable avatar Dec 16 '24 07:12 Leeable

Hi Leeable, did you already found the tutorial here? It is more of a step by step instruction to get startet with the Visual Studio Template. After that, the Parts in C# and C++ can be programmed like usual and available as the example projects you already mentioned. If you have any more specific requests, regarding a Tutorial, we will of course try to write them.

mluhmann avatar Dec 16 '24 12:12 mluhmann

Hi mluhamnn, yes, I have read PLCnext Info Center. I want to know some details about Native Function Block. For example, how C# custom String is called in C++, and also, how C# custom Array can get every item of this Array in C++. Like the URLuserdefined-array-in-native-function-block but i think it is very old, now we have 2025.x version of plcnext controller, lot of big changes, isn't it?

Leeable avatar Jul 04 '25 07:07 Leeable