How to use ControlModule PC_AI in a Control Module?
I would like to build a ControlModule for an analogue Input with additional HW-Inputs. my Idea is to use the PC_AI from PC lib and to add some PC_Alarm_Event blocks.
I tried different thinks but I failed :-((
Is it possible to call a control module like a function block? What is the syntax for this action?
> "Is it possible to call a control module like a function block?"
When you put Control Modules inside Control Modules ... You dont need to. Code Sorting determines when all the control modules will execute and in what order they execute. (No, you dont get a choice)
When you put Control Modules inside Function Blocks ... "ExecuteControlModules()"