When creating a Function Block, you can force the user to bind specific inputs
otherwise, they will receive an error message when running Build.
Hi,
as I understood your question (“throw a compiler error if a function block instance element variable is not assigned to a external variable from the calling task”), this is not possible as I know.
Best regards!
2 Likes
Hi @HansP, I have marked the reply of Alex as an answer on your issue. If you have any additional questions or new findings, feel free to continue the discussion.