CODESYS Development System
Operator: ROR The IEC operator is used for bitwise rotation of an operand to the right. Permitted data types: BYTE , WORD , DWORD , LWORD erg := ROR(in,n) CODESYS moves in n-times one bit to the right
CODESYS Development System
(G, IN0, IN1) means: OUT := IN0; if G = [...] Permitted data types IN0
CODESYS Development System
0 THEN // 0 means [...] on the string dwSynch := 0
CODESYS Development System
Operator: __POUNAME The operator is an extension of the IEC 61131-1 standard. At runtime, the operator yields the name of the POU that contains the operator __POUNAME . The result is of type STRING .
CODESYS Development System
. <partial index> From 0 [...] PartialVarB := GVL.Variable.%B0; PartialVarX := array[idx].%X0
CODESYS Development System
Functions In ST, you can use a function call as an operand. Example 194 . Example: Result := Fct(7) + 3; TIME() function This function yields the time (in milliseconds) that has elapsed since system b
CODESYS Development System
Data Types In the programming, a variable is identified by its name and has an address in the memory of the target system. Accordingly, variable names are identifiers under which the allocated memory
CODESYS Development System
Memory BYTE 0 255 8 bits WORD 0 65535 16 bits DWORD 0
CODESYS Development System
Resolution TIME T#0d0h0m0s0 [...] LTIME LTIME#0NS LTIME