User-defined functions
Use the
User-Defined Functions
node in Project Organizer to create logic programs for an L20E, L50E, or L70E controller project in the following programming languages:- Function block diagram (FBD)
- Ladder diagram (LD)
- Structured text (ST)
User-defined functions (UDFs) define a simple calculation that requires only one output. Once created, it can be reused like other function blocks in
FactoryTalk Design Workbench
.
TIP:
The UDF input parameters support the array and structured data types. The UDF output parameter only supports simple data types.
Use the
User-Defined Functions
node to:Use the
<UDF-name>
node under User-Defined Functions
to:- Open the UDFParameterwindow to:
- Create input or output parameters.
- Delete parameters.
- Move a parameter up or down in the UDF.
- Edit the parameter properties.
Provide Feedback