CODESYS Development System
Operators CODESYS V3 supports all IEC 61131-3 operators. These operators are recognized implicitly throughout the project. In addition to these IEC operators, CODESYS also supports some non-IEC 61131-
CODESYS Development System
Operator: MUL The IEC operator is used to multiply variables. Permitted data types: BYTE , WORD , DWORD , LWORD , SINT , USINT , INT , UINT , DINT , UDINT , LINT , ULINT , REAL , LREAL , TIME Feature
CODESYS Development System
Operator: SUB The IEC operator subtracts variables. Permitted data types: BYTE , WORD , DWORD , LWORD , SINT , USINT , INT , UINT , DINT , UDINT , LINT , ULINT , REAL , LREAL , TIME , LTIME , TIME_OF_
CODESYS Development System
Operator: DIV The IEC operator is used to divide variables. Permitted data types: BYTE , WORD , DWORD , LWORD , SINT , USINT , INT , UINT , DINT , UDINT , LINT , ULINT , REAL , LREAL , TIME Important
CODESYS Development System
Operator: Global Namespace The operator is an extension of the IEC 61131-3 standard. An instance path which begins with a dot . always opens a global namespace. If there is a local variable that has t
CODESYS Development System
Operator: Namespace for Global Variable Lists The operator is an extension of the IEC 61131-3 standard. You can use the name of a global variable list (GVL) as a namespace identifier for the variables
CODESYS Development System
Operator: Library Namespace Syntax: <library namespace>.<library POU identifier> Example: LIB_A.FB_A A library POU identifier is appended with the library namespace (as a prefix separated by a dot) fo
CODESYS Development System
Operator: Enumeration Namespace The operator is an extension of the IEC 61131-3 standard. You can use the TYPE name of an enumeration for unique access to an enumeration constant. In this way, you can
CODESYS Development System
Operator: __POOL The operator is an extension of the IEC 61131-3 standard. The operator is used to reference objects which are managed in the global POU pool (in the POUs view). The operator directly
CODESYS Development System
Operator: INI Tip The INI operator is an operator of CoDeSys V2.3 . This operator is replaced by the FB_Init method as of CODESYS V3. However, you can still use this operator in projects that are impo