Attribute conditionalshow_all_locals

Overview

The local variables are not displayed in the user interface if the integrated library is installed as *.compiled-library.

If the integrated library is available as *.library in the repository, the local variables of the function block are visible in the user interface.

If you use conditionalshow_all_locals as a command-line option, such as LogicBuilder.exe --conditionalshow_all_locals="libdeveloper"."--conditionalshow="libdeveloper", the local variables of the function blocks are visible in the user interface. This option may be useful for library developers when testing libraries.

Syntax

{attribute 'conditionalshow_all_locals' :='SomeText'}

or

{attribute 'conditionalshow_all_locals'}

Insert Location

Insert this pragma in the first line of the declaration part of the function block.

Example

{attribute 'conditionalshow_all_locals' := 'SomeText'}
//{attribute 'conditionalshow_all_locals'}
FUNCTION_BLOCK FB_Test
VAR_INPUT
END_VAR
VAR_OUTPUT
    eErrorID : ERROR;
VAR
    iLocal : INT;
END_VAR