Vai al contenuto

Local Variables

Local variables are declared within a POU (either program, or function, or function block), the module itself being the only project element which can refer to and access them.Local variables are listed in the project tree under the POU which declares them (only when that POU is open for editing), where they are further classified according to their class (e.g., as input or in/out variables). Local Variables-image_0In order to create, edit, and delete local variables, you have to open the POU for editing and use the local variables editor. The project needs to be saved in order to update the POU branch structure of the project tree, including the changes applied to the local vari- ables. Local Variables-image_0Refer to the corresponding section in this manual for details (see Paragraph 6.6.1.2).