AnalyzeExpressionTable (FB)

FUNCTION_BLOCK AnalyzeExpressionTable

AnalyseExpressionTable writes the components of the expression, which are adding to the total value FALSE, to an array. For each component the following information is provided by structure ExpressionResult: name, address, comment, (current)value.

InOut:

Scope

Name

Type

Comment

Input

InputExp

BOOL

Expression to be analysed

DoAnalyze

BOOL

TRUE starts analysis

Output

ExpResult

BOOL

Current value of the expression

OutTable

ARRAY [0..TABLE_UPPER_BOUND] OF ExpressionResult

Result of the analyzation