Infosys在阅读器中打开 / AI 翻译

C/C++ · 0 次阅读

Using PLC strings as method parameters

To transfer a character string from PLC to C++ as a method parameter, use a pointer with length information when declaring the method in TMC:

Using PLC strings as method parameters 1:

Such a method can be called by means of implementing a method within the wrapper function block.

Using PLC strings as method parameters 2:

The reason is the different handling of method parameters in the two worlds: