INI
operator is obsolete. The method FB_init
replaces the INI
operator. For further information about the FB_init
method, refer to the chapter FB_init, FB_reinit Methods. However, the operator can still be used for keeping compatibility with projects imported from earlier EcoStruxure Machine Expert versions.
You can use the INI
operator to initialize retain variables which are provided by a function block instance used in the POU.
Assign the operator to a boolean variable.
<bool-variable> := INI(<FB-instance, TRUE|FALSE)
If the second parameter of the operator is set to TRUE, all retain variables defined in the function block FB will be initialized.