There are two ways that you can call a function into your ladder application:
Use the Call Ladder function in the Ladder Toolbox.
Via the Solution Explorer, drag & drop any function into another one.
In both cases, click the field at the top of the function, select the desired function from the drop-down list, and then assign data tags to the input and output parameters.
UniLogic supports 8 levels of nested functions.
This means that a function can contain (call) encapsulated functions as shown in the following diagram.
Each function may contain up to 10 Function in parameters and 10 Function out parameters, and may contain up to 256 bytes of local tags of any Data Type.
|