I'm trying to use a tag as an array index in FBD in Studio 5000, this works without issue in ST and LDD, but seems to not be allowed in function block. This seems incredibly short sighted to me which leads me to believe I must be doing something wrong. Is this possible? and if not is there a better way to accomplish what I'm trying to do?
Attached are two screenshots, one of my problem with the exact error and one with a (hopefully) temporary workaround that I'm using currently.
Thanks.