FileStorageBase.Open (METH) ¶ METHOD Open : BOOL InOut: Scope Name Type Return Open BOOL Input openMode ACP_OPEN_MODE sFilePostfix STRING
Analyzation Library Documentation ¶ Company System Title Analyzation Version 4.1.0.0 Categories Intern|SFC Namespace Analyzation Author 3S-Smart Software Solutions Placeholder Analyzation Description 1 ¶ Analysis of expressions with the Analyzation library ¶ This library provides modules for the analysis of expressions. If a composed expression is FALSE, those of its components can be evaluated which are adding to this result. In the SFC-Editor the flag SFCErrorAnalyzationTable uses this function implicitely for the analysis of expressions in transitions. Example of an expression: ¶ b OR NOT(y < x) OR NOT (NOT d AND e) The functions: ¶ The following variables are used by all modules: InputExpr: BOOL, expression to be analysed DoAnalyze: BOOL, TRUE starts analysis ExpResult: BOOL, current value of the expression Result of the analyzation: ¶ AnalyzeExpression returns in a string the components of the expression, which are adding to the total value FALSE. OutString: STRING, Result of the analysis, Sequence of the concerned components of the expression (e.g. y < x | d) 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. OutTable: ARRAY [0..15] OF ExpressionResult; e.g.. Figure 1: SFC settings Figure 2: SFC analyzation example AnalyseExpressionCombined combines the functionalities of AnalyzeExpression plus AnalyseExpressionTable Contents: ¶ Data types ExpressionResult (Struct) Global Variables Param (ParamList) POUs AnalyzeExpression (FunctionBlock) AnalyzeExpressionCombined (FunctionBlock) AnalyzeExpressionTable (FunctionBlock) Indices and tables ¶ 1 Based on Analyzation.library, last modified 28.10.2021, 08:36:40. LibDoc 4.4.0.0-b.27 The content file Analyzation.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 28.10.2021, 08:36:41.
ExpressionResult (STRUCT) ¶ TYPE ExpressionResult : STRUCT InOut: Name Type name STRING(STRING_LENGTH_EXP) address STRING(STRING_LENGTH_ADDRESS) comment STRING(STRING_LENGTH_COMMENT) value BOOL failed BOOL
Data types ¶ ExpressionResult (Struct)
Global Variables ¶ Param (ParamList)
Param (PARAMS) ¶ InOut: Scope Name Type Initial Comment Constant TABLE_UPPER_BOUND INT 15 size of table for AnalyzeExpressionTable and AnalyzeExpressionTableEx STRING_LENGTH_EXP INT 255 string length of one entry in table (variable or complex expression) STRING_LENGTH_ADDRESS INT 20 string length for address in table STRING_LENGTH_COMMENT INT 255 string length of comment in table STRING_LENGTH_OUTSTRING INT 255 string length of string output for AnalyzeExpression and AnalyzeExpressionCombined and AnalyzeExpressionCombinedEx TABLE_SHOW_VALID_ITEMS BOOL FALSE if TRUE, also valid items are added to the table, and the failed-entry of the table is filled correspondingly if FALSE, only failed items are added to the table and the failed-entry of the table is always true
POUs ¶ AnalyzeExpression (FunctionBlock) AnalyzeExpressionCombined (FunctionBlock) AnalyzeExpressionTable (FunctionBlock)
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)
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)
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 28.10.2021, 08:36:41 companyName string 3S-Smart Software Solutions GmbH libraryFile Analyzation.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile Analyzation.clean.json version version 2.0.0.0 ProjectInformation Released bool True LastModificationDateTime date 28.10.2021, 08:36:40 LibraryCategories library-category-list Intern|SFC Author string 3S-Smart Software Solutions Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 DefaultNamespace Analyzation Description See: Description DocFormat reStructuredText Placeholder Analyzation Project Analyzation Title Analyzation Version string Version version 4.1.0.0