J.F. Programování Mosaic 3. 11. 2020 18:20

Mid function gives error when compiling used in CFC. Same function in ST works as expected.


Odpovědi 1

Luboš Urban 15. 10. 2020 8:28

Unfortunatelly, string operations like left(), mid(), right(), concat() are not supported in the graphical languages or compiler for graphical languages. Now the only solution is to define a user function in ST language with necessary inputs and a string output, the function is realized inside by calling a related function in ST inside and then this function can be used as a box in the main program or higher level function block that is prepared in CFC or LD or FBD languages.

Tento dotaz je vyřešený.