CODESYS Development System
Attribute: monitoring The effect of this pragma is that you can monitor values of properties or function calls in the online view of the IEC editor or in a watch list. There are two possible attribute
CODESYS Development System
Operator: ADD The IEC operator adds variables. Permitted data types: __UXINT | __XINT | __XWORD | BYTE | DATE | DATE_AND_TIME | DINT | DT | DWORD | INT | LDATE | LDATE_AND_TIME | LDT | LINT | LREAL |
CODESYS Development System
Operator: AND The IEC operator is used for the bitwise AND of bit operands. When the input bits all yield 1, the output bit also yields 1; otherwise 0. Permitted data types: BOOL , BYTE , WORD , DWORD
CODESYS Development System
Operator: LOG The IEC operator yields the base-10 logarithm of a number. The input variable can be any numeric basic data type, but the output variable must be the data type REAL or LREAL . Example 12
CODESYS Development System
Object: Program A program is a POU that yields one or more values when executed. All values remain unchanged after program execution until the next execution. The call order of programs in an applicat
CODESYS Development System
Variable: VAR Local variables are declared between the keywords VAR and END_VAR in the declaration part of programming objects. You have read-only access to local variables (externally via the instanc
CODESYS Development System
Adding Objects Requirement: A project is open. At least the top <project name> node exists in the Devices view ("device tree") and in the POUs view. The following instructions demonstrate some options
CODESYS Development System
Changing the Compiler Version The compiler version, which is used in the current project to generate code for use on the target device, is defined in the project settings. The compiler version is inde
CODESYS Development System
Configuring a Project You can configure your CODESYS project in the following dialogs: Project Settings : General settings for editor behavior, the compiler, user management, etc. Project Information
CODESYS Development System
Exporting and Importing Projects . CODESYS provides commands for exporting and importing objects from and to a file. There are two ways to do this: Export to and import from a CODESYS XML file (*.expo