Create new variables
-
-
You cannot insert a new variable in an I/O group.
In case of a group corresponding to local variables of a UDFB"User Defined Function Block"
UDFB can be used as a sub-function block in another program of the application. It is described using FBD, LD, ST or IL language. Input / output parameters of a UDFB (as well as private variables) are declared in the variable editor as local variables of the UDFB, pressing the
INSERT key gives you the choice between:
- adding an "IN" (input) parameter
- adding an "OUT" (output) parameter
- adding a private variable
IN and OUT parameters always appear at the beginning of a UDFB group.