AnalyzeExpressionCombined (FB)

FUNCTION_BLOCK AnalyzeExpressionCombined

AnalyseExpressionCombined combines the functionalities of AnalyzeExpression plus AnalyseExpressionTable

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

OutString

STRING(STRING_LENGTH_OUTSTRING)

Result of the analysis, Sequence of the concerned components of the expression (e.g. y < x | d)