Hi, I’m creating a function block that I’d like to make generic in that it can accept any length of byte stream (up to a maximum value). I believe this is similar ideas to how some function blocks like BUF_TO_STRING allow any type of byte array on the Input. However, when I try to assign „ANY“ to the datatype, it does not recognize this. Is this functionality possible, or is it reserved for only internal function blocks?
Hi bhelfrick, you can not use the Any type as an in/output in the 61131 context, only using our C# extension. In that case please find a small example in our PLCnext GitHub channel BR, Frank