If you take a look example in FBD on a picture, it seems to me perfect for loop call.
I got 12 fields. I think it is not possible to do LOOPing in FBD, SCL I don't want to use and in STL I'm not sure how to do it?
Can I get some help regarding this issue? Making FOR LOOP for FC call in STL.
You can use JMP and LBL, with the LBL before the JMP, but you have to disable the JMP when your "loop" is finshed. These are in the category "Program Control".
UDT's are passed to FC's as area pointers (not any pointers) and the STL editor doesn't allow an area pointer parameter to be created at run time.
I'd stick with the 12 calls as is. It would be possible to pass the the first array element and the index to FC15 and then in FC15 modify the area pointer to point to the required array element.