Chapter 15 User Function/Function Block
15-3
[Description of Dialog Box]
a. Program Name: used to input a User Function/Function Block. When the user-defined function/function is
registered, the input name is registered.
b. Language: used to select a programming language for the User Function/Function Block. A user-defined
function is created only by the LD language while a user-defined function block can be created by either
the LD or SFC language.
c. Use EN/ENO: used to select whether to use or not EN/ENO, which is used under the operation condition
of function/function block. If not selecting EN/ENO, a user should declare BOOL type variable in the first
input and first output parameters of the function/function block.
d. Return Data Type: designates a type of the results after a user-defined function is executed. It is activated
only when a user-defined function is created.
e. Width (Columns): adjusts the width columns number of user function/function block
f. Program description: used to input the comment of a User Function/Function Block. If unnecessary, the
comment does not have to be input.
g. OK: saves the input in the dialog box and closes the dialog box.
h. Cancel: cancels the input in the dialog box and closes the dialog box.
Notes
- If clicking OK button, a new item with the name input in the item of User Function/Function Block is created.