CODESYS Development System
Attribute: no-exit The attribute suppresses the call of the FB_Exit method of a function block for a certain one of its instances. To do this you insert the attribute in the line before the declaratio
CODESYS Development System
Attribute: obsolete The effect of this pragma is that a defined warning is displayed for a data type definition during compilation if the data type (structure, function block, etc.) is used in the pro
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: ADR The operator is an extension of the IEC 61131-3 standard. ADR yields the 32-bit address (or the 64-bit address, if possible) of its argument. You can pass this address to the manufacture
CODESYS Development System
Operator: BITADR The operator is an extension of the IEC 61131-3 standard. BITADR yields the bit offset within a segment in a DWORD . Important The offset depends on whether the "Byte addressing" opti
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