beckhoff TE1200 — 4.2.1 Overview and description (Rules)

Configuration | Rules Consequently, precompile messages are only issued for a specific rule if the following conditions are met: General option Enable notification of precompile messages in general = enabled The rule check is enabled (as an error or warning) Option Precompile of the rule = enabled 3. Configuration of control parameters/limits Some rules can be parameterized, allowing limits to be set individually, for example. You can configure the parameters to be taken into account in the respective check by double-clicking on the row of the corresponding rule in the rule configuration (PLC project properties > "Static Analysis" category > "Rules" tab).

You can set the control parameters in the dialog that opens. The currently configured parameters are displayed in the "Limits" column of the control configuration. An overview of the parameterizable rules can be found on the following page: Overview and description (Rules) [ } 16] Further Information: Sample output The variable bSample is declared and is not used. Rule SA0033 is configured as an error. The following error is therefore output in the Error list [ } 118] when the static analysis is performed: "SA0033: Not used: Variable 'bSample'" Temporary disabling of rules Rules that are enabled in this dialog can be temporarily disabled in the project via a pragma.

For further information please refer to Pragmas and attributes [ } 121] . Overview and description of the rules An overview of the rules and a detailed description of the rules can be found at Overview and description (Rules) [ } 16] . 4.2.1 Overview and description (Rules) | Overview and description (Rules) Check strict IEC rules The checks under the node "Check strict IEC rules" determine functionalities and data types that are allowed in TwinCAT, in extension of IEC61131-3. Checking concurrent/competing access The following rules exist on this topic: SA0006: Write access from several tasks [ } 23] Determines variables with write access from more than one task. SA0103:

Concurrent access on not atomic data [ } 58] Determines non-atomic variables (for example with data types STRING, WSTRING, ARRAY, STRUCT, FB instances, 64-bit data types) that are used in more than one task. Please note that only direct access can be recognized. Indirect access operations, for example via pointer/reference, are not listed. Please also refer to the documentation on the subject " Multi-task data access synchronization in the PLC ", which contains several notes on the necessity and options for data access synchronization. TE1200 16 Version: 2.11.1