AnalyzeExpression (FB)

FUNCTION_BLOCK AnalyzeExpression

Function block to analyze a expression of a SFC transion. AnalyzeExpression returns in a string the components of the expression, which are adding to the total value FALSE.

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

OutString

STRING(STRING_LENGTH_OUTSTRING)

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