Create new variables

Press the INSERT key in the variable editor to create a new variable in the selected group. The variable is added at the end of the group. Variables are created with a default name. You can rename a new variable or change its attribute by using the Variable Editor.


  • You cannot insert a new variable in an I/O group.

In case of a group corresponding to local variables of a UDFBClosed "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.

Concept Link IconSee Also