CODESYS Development System
Using POUs for Implicit Checks CODESYS provides special POUs which implement implicit monitoring functions. At runtime, these functions check the limits of arrays or subrange types, the validity of po
CODESYS Development System
Object-Oriented Programming CODESYS supports object-oriented programming with function blocks and makes the following functions and objects available for this purpose: Methods Interfaces Properties In
CODESYS Development System
Extension of a Function Block General The extension of a function block is based on the concept of inheritance in object-oriented programming. A derived function block "extends" a base function block
CODESYS Development System
Customizing Command Icons CODESYS provides the capability of assigning customized icons to commands. Click Tools → Customize . The Customize dialog opens. Click the Command Icons tab. In the overview
CODESYS Development System
Customizing Keyboard Shortcuts CODESYS provides the capability of executing commands directly via keyboard shortcuts. You can customize or extend predefined keyboard shortcuts. Click Tools → Customize
CODESYS Development System
Customizing Toolbars You can customize the toolbars of the CODESYS user interface. In a configuration dialog, you can add or remove toolbars. Removing a toolbar or command Click Tools → Customize . Th
CODESYS Development System
Floating-Point Number Conversion Important If the operand value for a type conversion operator is outside of the value range of the target data type, then the result output depends on the processor ty
CODESYS Development System
Operator: ABS The IEC operator yields the absolute value of a number. Permitted data types for input and output variables and numeric constants: any numeric basic data type Example 139 . Examples Resu
CODESYS Development System
Operator: SQRT The IEC operator yields the square root of a number. Permitted data types for input variables: any numeric basic data type Permitted data types for output variables: REAL and LREAL Exam
CODESYS Development System
Operator: EXP The IEC operator yields the exponential function. Permitted data types for input variables: any numeric basic data type Permitted data types for output variables: REAL and LREAL Example