Included functions and functions blocks

(IEC 61131-3 standard library)

Show generic
Show concrete

Full alphabetical list

Note: For brevity, many trivial conversion functions are omitted.
Numerical
ABS (Function) Absolute value
Inputs: IN (?)
Output type: ?
This function is generic?, concrete variants: ABS_SINT ABS_INT ABS_DINT ABS_LINT ABS_REAL ABS_LREAL
ABS_DINT (Function) Absolute value
Inputs: IN (DINT)
Output type: DINT
See also generic alias: ABS
ABS_INT (Function) Absolute value
Inputs: IN (INT)
Output type: INT
See also generic alias: ABS
ABS_LINT (Function) Absolute value
Inputs: IN (LINT)
Output type: LINT
See also generic alias: ABS
ABS_LREAL (Function) Absolute value
Inputs: IN (LREAL)
Output type: LREAL
See also generic alias: ABS
ABS_REAL (Function) Absolute value
Inputs: IN (REAL)
Output type: REAL
See also generic alias: ABS
ABS_SINT (Function) Absolute value
Inputs: IN (SINT)
Output type: SINT
See also generic alias: ABS
ACOS (Function) Principal arc cosine (in radians)
Inputs: IN (?)
Output type: ?
This function is generic?, concrete variants: ACOS_REAL ACOS_LREAL
ACOS_LREAL (Function) Principal arc cosine (in radians)
Inputs: IN (LREAL)
Output type: LREAL
See also generic alias: ACOS
ACOS_REAL (Function) Principal arc cosine (in radians)
Inputs: IN (REAL)
Output type: REAL
See also generic alias: ACOS
ADD (Function) Numerical addition
Inputs: IN1 (?), IN2 (?), IN3 (?), IN4 (?)
Output type: ?
This function is generic?, concrete variants: ADD_SINT ADD_INT ADD_DINT ADD_LINT ADD_USINT ADD_UINT ADD_UDINT ADD_ULINT ADD_REAL ADD_LREAL
ADD_DINT (Function) Numerical addition
Inputs: IN1 (DINT), IN2 (DINT), IN3 (DINT), IN4 (DINT)
Output type: DINT
See also generic alias: ADD
ADD_INT (Function) Numerical addition
Inputs: IN1 (INT), IN2 (INT), IN3 (INT), IN4 (INT)
Output type: INT
See also generic alias: ADD
ADD_LINT (Function) Numerical addition
Inputs: IN1 (LINT), IN2 (LINT), IN3 (LINT), IN4 (LINT)
Output type: LINT
See also generic alias: ADD
ADD_LREAL (Function) Numerical addition
Inputs: IN1 (LREAL), IN2 (LREAL), IN3 (LREAL), IN4 (LREAL)
Output type: LREAL
See also generic alias: ADD
ADD_REAL (Function) Numerical addition
Inputs: IN1 (REAL), IN2 (REAL), IN3 (REAL), IN4 (REAL)
Output type: REAL
See also generic alias: ADD
ADD_SINT (Function) Numerical addition
Inputs: IN1 (SINT), IN2 (SINT), IN3 (SINT), IN4 (SINT)
Output type: SINT
See also generic alias: ADD
ADD_UDINT (Function) Numerical addition
Inputs: IN1 (UDINT), IN2 (UDINT), IN3 (UDINT), IN4 (UDINT)
Output type: UDINT
See also generic alias: ADD
ADD_UINT (Function) Numerical addition
Inputs: IN1 (UINT), IN2 (UINT), IN3 (UINT), IN4 (UINT)
Output type: UINT
See also generic alias: ADD
ADD_ULINT (Function) Numerical addition
Inputs: IN1 (ULINT), IN2 (ULINT), IN3 (ULINT), IN4 (ULINT)
Output type: ULINT
See also generic alias: ADD
ADD_USINT (Function) Numerical addition
Inputs: IN1 (USINT), IN2 (USINT), IN3 (USINT), IN4 (USINT)
Output type: USINT
See also generic alias: ADD
ASIN (Function) Principal arc sine (in radians)
Inputs: IN (?)
Output type: ?
This function is generic?, concrete variants: ASIN_REAL ASIN_LREAL
ASIN_LREAL (Function) Principal arc sine (in radians)
Inputs: IN (LREAL)
Output type: LREAL
See also generic alias: ASIN
ASIN_REAL (Function) Principal arc sine (in radians)
Inputs: IN (REAL)
Output type: REAL
See also generic alias: ASIN
ATAN (Function) Principal arc tangent (in radians)
Inputs: IN (?)
Output type: ?
This function is generic?, concrete variants: ATAN_REAL ATAN_LREAL
ATAN_LREAL (Function) Principal arc tangent (in radians)
Inputs: IN (LREAL)
Output type: LREAL
See also generic alias: ATAN
ATAN_REAL (Function) Principal arc tangent (in radians)
Inputs: IN (REAL)
Output type: REAL
See also generic alias: ATAN
COS (Function) Cosine (in radians)
Inputs: IN (?)
Output type: ?
This function is generic?, concrete variants: COS_REAL COS_LREAL
COS_LREAL (Function) Cosine (in radians)
Inputs: IN (LREAL)
Output type: LREAL
See also generic alias: COS
COS_REAL (Function) Cosine (in radians)
Inputs: IN (REAL)
Output type: REAL
See also generic alias: COS
DIV (Function) Numerical division
Inputs: IN1 (?), IN2 (?)
Output type: ?
This function is generic?, concrete variants: DIV_SINT DIV_INT DIV_DINT DIV_LINT DIV_USINT DIV_UINT DIV_UDINT DIV_ULINT DIV_REAL DIV_LREAL
DIV_DINT (Function) Numerical division
Inputs: IN1 (DINT), IN2 (DINT)
Output type: DINT
See also generic alias: DIV
DIV_INT (Function) Numerical division
Inputs: IN1 (INT), IN2 (INT)
Output type: INT
See also generic alias: DIV
DIV_LINT (Function) Numerical division
Inputs: IN1 (LINT), IN2 (LINT)
Output type: LINT
See also generic alias: DIV
DIV_LREAL (Function) Numerical division
Inputs: IN1 (LREAL), IN2 (LREAL)
Output type: LREAL
See also generic alias: DIV
DIV_REAL (Function) Numerical division
Inputs: IN1 (REAL), IN2 (REAL)
Output type: REAL
See also generic alias: DIV
DIV_SINT (Function) Numerical division
Inputs: IN1 (SINT), IN2 (SINT)
Output type: SINT
See also generic alias: DIV
DIV_UDINT (Function) Numerical division
Inputs: IN1 (UDINT), IN2 (UDINT)
Output type: UDINT
See also generic alias: DIV
DIV_UINT (Function) Numerical division
Inputs: IN1 (UINT), IN2 (UINT)
Output type: UINT
See also generic alias: DIV
DIV_ULINT (Function) Numerical division
Inputs: IN1 (ULINT), IN2 (ULINT)
Output type: ULINT
See also generic alias: DIV
DIV_USINT (Function) Numerical division
Inputs: IN1 (USINT), IN2 (USINT)
Output type: USINT
See also generic alias: DIV
EXP (Function) Natural exponential
Inputs: IN (?)
Output type: ?
This function is generic?, concrete variants: EXP_REAL EXP_LREAL
EXPT (Function) Exponentiation: OUT := IN1**IN2
Inputs: IN1 (?), IN2 (?)
Output type: ?
This function is generic?, concrete variants: EXPT_REAL EXPT_LREAL
EXPT_LREAL (Function) Exponentiation: OUT := IN1**IN2
Inputs: IN1 (LREAL), IN2 (LREAL)
Output type: LREAL
See also generic alias: EXPT
EXPT_REAL (Function) Exponentiation: OUT := IN1**IN2
Inputs: IN1 (REAL), IN2 (REAL)
Output type: REAL
See also generic alias: EXPT
EXP_LREAL (Function) Natural exponential
Inputs: IN (LREAL)
Output type: LREAL
See also generic alias: EXP
EXP_REAL (Function) Natural exponential
Inputs: IN (REAL)
Output type: REAL
See also generic alias: EXP
LN (Function) Natural logarithm
Inputs: IN (?)
Output type: ?
This function is generic?, concrete variants: LN_REAL LN_LREAL
LN_LREAL (Function) Natural logarithm
Inputs: IN (LREAL)
Output type: LREAL
See also generic alias: LN
LN_REAL (Function) Natural logarithm
Inputs: IN (REAL)
Output type: REAL
See also generic alias: LN
LOG (Function) Logarithm base 10
Inputs: IN (?)
Output type: ?
This function is generic?, concrete variants: LOG_REAL LOG_LREAL
LOG_LREAL (Function) Logarithm base 10
Inputs: IN (LREAL)
Output type: LREAL
See also generic alias: LOG
LOG_REAL (Function) Logarithm base 10
Inputs: IN (REAL)
Output type: REAL
See also generic alias: LOG
MOD (Function) Returns IN1 modulo IN2
Inputs: IN1 (?), IN2 (?)
Output type: ?
This function is generic?, concrete variants: MOD_SINT MOD_INT MOD_DINT MOD_LINT MOD_USINT MOD_UINT MOD_UDINT MOD_ULINT
MOD_DINT (Function) Returns IN1 modulo IN2
Inputs: IN1 (DINT), IN2 (DINT)
Output type: DINT
See also generic alias: MOD
MOD_INT (Function) Returns IN1 modulo IN2
Inputs: IN1 (INT), IN2 (INT)
Output type: INT
See also generic alias: MOD
MOD_LINT (Function) Returns IN1 modulo IN2
Inputs: IN1 (LINT), IN2 (LINT)
Output type: LINT
See also generic alias: MOD
MOD_SINT (Function) Returns IN1 modulo IN2
Inputs: IN1 (SINT), IN2 (SINT)
Output type: SINT
See also generic alias: MOD
MOD_UDINT (Function) Returns IN1 modulo IN2
Inputs: IN1 (UDINT), IN2 (UDINT)
Output type: UDINT
See also generic alias: MOD
MOD_UINT (Function) Returns IN1 modulo IN2
Inputs: IN1 (UINT), IN2 (UINT)
Output type: UINT
See also generic alias: MOD
MOD_ULINT (Function) Returns IN1 modulo IN2
Inputs: IN1 (ULINT), IN2 (ULINT)
Output type: ULINT
See also generic alias: MOD
MOD_USINT (Function) Returns IN1 modulo IN2
Inputs: IN1 (USINT), IN2 (USINT)
Output type: USINT
See also generic alias: MOD
MUL (Function) Numerical multiplication
Inputs: IN1 (?), IN2 (?), IN3 (?), IN4 (?)
Output type: ?
This function is generic?, concrete variants: MUL_SINT MUL_INT MUL_DINT MUL_LINT MUL_USINT MUL_UINT MUL_UDINT MUL_ULINT MUL_REAL MUL_LREAL
MUL_DINT (Function) Numerical multiplication
Inputs: IN1 (DINT), IN2 (DINT), IN3 (DINT), IN4 (DINT)
Output type: DINT
See also generic alias: MUL
MUL_INT (Function) Numerical multiplication
Inputs: IN1 (INT), IN2 (INT), IN3 (INT), IN4 (INT)
Output type: INT
See also generic alias: MUL
MUL_LINT (Function) Numerical multiplication
Inputs: IN1 (LINT), IN2 (LINT), IN3 (LINT), IN4 (LINT)
Output type: LINT
See also generic alias: MUL
MUL_LREAL (Function) Numerical multiplication
Inputs: IN1 (LREAL), IN2 (LREAL), IN3 (LREAL), IN4 (LREAL)
Output type: LREAL
See also generic alias: MUL
MUL_REAL (Function) Numerical multiplication
Inputs: IN1 (REAL), IN2 (REAL), IN3 (REAL), IN4 (REAL)
Output type: REAL
See also generic alias: MUL
MUL_SINT (Function) Numerical multiplication
Inputs: IN1 (SINT), IN2 (SINT), IN3 (SINT), IN4 (SINT)
Output type: SINT
See also generic alias: MUL
MUL_UDINT (Function) Numerical multiplication
Inputs: IN1 (UDINT), IN2 (UDINT), IN3 (UDINT), IN4 (UDINT)
Output type: UDINT
See also generic alias: MUL
MUL_UINT (Function) Numerical multiplication
Inputs: IN1 (UINT), IN2 (UINT), IN3 (UINT), IN4 (UINT)
Output type: UINT
See also generic alias: MUL
MUL_ULINT (Function) Numerical multiplication
Inputs: IN1 (ULINT), IN2 (ULINT), IN3 (ULINT), IN4 (ULINT)
Output type: ULINT
See also generic alias: MUL
MUL_USINT (Function) Numerical multiplication
Inputs: IN1 (USINT), IN2 (USINT), IN3 (USINT), IN4 (USINT)
Output type: USINT
See also generic alias: MUL
NEG (Function) Numerical negation
Inputs: IN (?)
Output type: ?
This function is generic?, concrete variants: NEG_SINT NEG_INT NEG_DINT NEG_LINT NEG_USINT NEG_UINT NEG_UDINT NEG_ULINT NEG_REAL NEG_LREAL
NEG_DINT (Function) Numerical negation
Inputs: IN (DINT)
Output type: DINT
See also generic alias: NEG
NEG_INT (Function) Numerical negation
Inputs: IN (INT)
Output type: INT
See also generic alias: NEG
NEG_LINT (Function) Numerical negation
Inputs: IN (LINT)
Output type: LINT
See also generic alias: NEG
NEG_LREAL (Function) Numerical negation
Inputs: IN (LREAL)
Output type: LREAL
See also generic alias: NEG
NEG_REAL (Function) Numerical negation
Inputs: IN (REAL)
Output type: REAL
See also generic alias: NEG
NEG_SINT (Function) Numerical negation
Inputs: IN (SINT)
Output type: SINT
See also generic alias: NEG
NEG_UDINT (Function) Numerical negation
Inputs: IN (UDINT)
Output type: UDINT
See also generic alias: NEG
NEG_UINT (Function) Numerical negation
Inputs: IN (UINT)
Output type: UINT
See also generic alias: NEG
NEG_ULINT (Function) Numerical negation
Inputs: IN (ULINT)
Output type: ULINT
See also generic alias: NEG
NEG_USINT (Function) Numerical negation
Inputs: IN (USINT)
Output type: USINT
See also generic alias: NEG
SIN (Function) Sine of input (in radians)
Inputs: IN (?)
Output type: ?
This function is generic?, concrete variants: SIN_REAL SIN_LREAL
SIN_LREAL (Function) Sine of input (in radians)
Inputs: IN (LREAL)
Output type: LREAL
See also generic alias: SIN
SIN_REAL (Function) Sine of input (in radians)
Inputs: IN (REAL)
Output type: REAL
See also generic alias: SIN
SQRT (Function) Square root
Inputs: IN (?)
Output type: ?
This function is generic?, concrete variants: SQRT_REAL SQRT_LREAL
SQRT_LREAL (Function) Square root
Inputs: IN (LREAL)
Output type: LREAL
See also generic alias: SQRT
SQRT_REAL (Function) Square root
Inputs: IN (REAL)
Output type: REAL
See also generic alias: SQRT
SUB (Function) Numerical substract
Inputs: IN1 (?), IN2 (?)
Output type: ?
This function is generic?, concrete variants: SUB_SINT SUB_INT SUB_DINT SUB_LINT SUB_USINT SUB_UINT SUB_UDINT SUB_ULINT SUB_REAL SUB_LREAL
SUB_DINT (Function) Numerical substract
Inputs: IN1 (DINT), IN2 (DINT)
Output type: DINT
See also generic alias: SUB
SUB_INT (Function) Numerical substract
Inputs: IN1 (INT), IN2 (INT)
Output type: INT
See also generic alias: SUB
SUB_LINT (Function) Numerical substract
Inputs: IN1 (LINT), IN2 (LINT)
Output type: LINT
See also generic alias: SUB
SUB_LREAL (Function) Numerical substract
Inputs: IN1 (LREAL), IN2 (LREAL)
Output type: LREAL
See also generic alias: SUB
SUB_REAL (Function) Numerical substract
Inputs: IN1 (REAL), IN2 (REAL)
Output type: REAL
See also generic alias: SUB
SUB_SINT (Function) Numerical substract
Inputs: IN1 (SINT), IN2 (SINT)
Output type: SINT
See also generic alias: SUB
SUB_UDINT (Function) Numerical substract
Inputs: IN1 (UDINT), IN2 (UDINT)
Output type: UDINT
See also generic alias: SUB
SUB_UINT (Function) Numerical substract
Inputs: IN1 (UINT), IN2 (UINT)
Output type: UINT
See also generic alias: SUB
SUB_ULINT (Function) Numerical substract
Inputs: IN1 (ULINT), IN2 (ULINT)
Output type: ULINT
See also generic alias: SUB
SUB_USINT (Function) Numerical substract
Inputs: IN1 (USINT), IN2 (USINT)
Output type: USINT
See also generic alias: SUB
TAN (Function) Tangent (in radians)
Inputs: IN (?)
Output type: ?
This function is generic?, concrete variants: TAN_REAL TAN_LREAL
TAN_LREAL (Function) Tangent (in radians)
Inputs: IN (LREAL)
Output type: LREAL
See also generic alias: TAN
TAN_REAL (Function) Tangent (in radians)
Inputs: IN (REAL)
Output type: REAL
See also generic alias: TAN
Compare
EQ (Function) Returns true if inputs are equal
Inputs: IN1 (?), IN2 (?), IN3 (?), IN4 (?)
Output type: BOOL
This function is generic?, concrete variants: EQ_SINT EQ_INT EQ_DINT EQ_LINT EQ_USINT EQ_UINT EQ_UDINT EQ_ULINT EQ_BOOL EQ_BYTE EQ_WORD EQ_DWORD EQ_LWORD EQ_REAL EQ_LREAL EQ_STRING EQ_WSTRING EQ_DT EQ_DATE EQ_TOD EQ_TIME
EQ_BOOL (Function) Returns true if inputs are equal
Inputs: IN1 (BOOL), IN2 (BOOL), IN3 (BOOL), IN4 (BOOL)
Output type: BOOL
See also generic alias: EQ
EQ_BYTE (Function) Returns true if inputs are equal
Inputs: IN1 (BYTE), IN2 (BYTE), IN3 (BYTE), IN4 (BYTE)
Output type: BOOL
See also generic alias: EQ
EQ_DATE (Function) Returns true if inputs are equal
Inputs: IN1 (DATE), IN2 (DATE), IN3 (DATE), IN4 (DATE)
Output type: BOOL
See also generic alias: EQ
EQ_DINT (Function) Returns true if inputs are equal
Inputs: IN1 (DINT), IN2 (DINT), IN3 (DINT), IN4 (DINT)
Output type: BOOL
See also generic alias: EQ
EQ_DT (Function) Returns true if inputs are equal
Inputs: IN1 (DATE_AND_TIME), IN2 (DATE_AND_TIME), IN3 (DATE_AND_TIME), IN4 (DATE_AND_TIME)
Output type: BOOL
See also generic alias: EQ
EQ_DWORD (Function) Returns true if inputs are equal
Inputs: IN1 (DWORD), IN2 (DWORD), IN3 (DWORD), IN4 (DWORD)
Output type: BOOL
See also generic alias: EQ
EQ_INT (Function) Returns true if inputs are equal
Inputs: IN1 (INT), IN2 (INT), IN3 (INT), IN4 (INT)
Output type: BOOL
See also generic alias: EQ
EQ_LINT (Function) Returns true if inputs are equal
Inputs: IN1 (LINT), IN2 (LINT), IN3 (LINT), IN4 (LINT)
Output type: BOOL
See also generic alias: EQ
EQ_LREAL (Function) Returns true if inputs are equal
Inputs: IN1 (LREAL), IN2 (LREAL), IN3 (LREAL), IN4 (LREAL)
Output type: BOOL
See also generic alias: EQ
EQ_LWORD (Function) Returns true if inputs are equal
Inputs: IN1 (LWORD), IN2 (LWORD), IN3 (LWORD), IN4 (LWORD)
Output type: BOOL
See also generic alias: EQ
EQ_REAL (Function) Returns true if inputs are equal
Inputs: IN1 (REAL), IN2 (REAL), IN3 (REAL), IN4 (REAL)
Output type: BOOL
See also generic alias: EQ
EQ_SINT (Function) Returns true if inputs are equal
Inputs: IN1 (SINT), IN2 (SINT), IN3 (SINT), IN4 (SINT)
Output type: BOOL
See also generic alias: EQ
EQ_STRING (Function) Returns true if inputs are equal
Inputs: IN1 (STRING), IN2 (STRING), IN3 (STRING), IN4 (STRING)
Output type: BOOL
See also generic alias: EQ
EQ_TIME (Function) Returns true if inputs are equal
Inputs: IN1 (TIME), IN2 (TIME), IN3 (TIME), IN4 (TIME)
Output type: BOOL
See also generic alias: EQ
EQ_TOD (Function) Returns true if inputs are equal
Inputs: IN1 (TIME_OF_DAY), IN2 (TIME_OF_DAY), IN3 (TIME_OF_DAY), IN4 (TIME_OF_DAY)
Output type: BOOL
See also generic alias: EQ
EQ_UDINT (Function) Returns true if inputs are equal
Inputs: IN1 (UDINT), IN2 (UDINT), IN3 (UDINT), IN4 (UDINT)
Output type: BOOL
See also generic alias: EQ
EQ_UINT (Function) Returns true if inputs are equal
Inputs: IN1 (UINT), IN2 (UINT), IN3 (UINT), IN4 (UINT)
Output type: BOOL
See also generic alias: EQ
EQ_ULINT (Function) Returns true if inputs are equal
Inputs: IN1 (ULINT), IN2 (ULINT), IN3 (ULINT), IN4 (ULINT)
Output type: BOOL
See also generic alias: EQ
EQ_USINT (Function) Returns true if inputs are equal
Inputs: IN1 (USINT), IN2 (USINT), IN3 (USINT), IN4 (USINT)
Output type: BOOL
See also generic alias: EQ
EQ_WORD (Function) Returns true if inputs are equal
Inputs: IN1 (WORD), IN2 (WORD), IN3 (WORD), IN4 (WORD)
Output type: BOOL
See also generic alias: EQ
EQ_WSTRING (Function) Returns true if inputs are equal
Inputs: IN1 (WSTRING), IN2 (WSTRING), IN3 (WSTRING), IN4 (WSTRING)
Output type: BOOL
See also generic alias: EQ
GE (Function) Returns TRUE if IN1 greater or equal than IN2 (and IN2 greater or equal than IN3, etc)
Inputs: IN1 (?), IN2 (?), IN3 (?), IN4 (?)
Output type: BOOL
This function is generic?, concrete variants: GE_SINT GE_INT GE_DINT GE_LINT GE_USINT GE_UINT GE_UDINT GE_ULINT GE_REAL GE_LREAL GE_STRING GE_WSTRING GE_DT GE_DATE GE_TOD GE_TIME
GE_DATE (Function) Returns TRUE if IN1 greater or equal than IN2 (and IN2 greater or equal than IN3, etc)
Inputs: IN1 (DATE), IN2 (DATE), IN3 (DATE), IN4 (DATE)
Output type: BOOL
See also generic alias: GE
GE_DINT (Function) Returns TRUE if IN1 greater or equal than IN2 (and IN2 greater or equal than IN3, etc)
Inputs: IN1 (DINT), IN2 (DINT), IN3 (DINT), IN4 (DINT)
Output type: BOOL
See also generic alias: GE
GE_DT (Function) Returns TRUE if IN1 greater or equal than IN2 (and IN2 greater or equal than IN3, etc)
Inputs: IN1 (DATE_AND_TIME), IN2 (DATE_AND_TIME), IN3 (DATE_AND_TIME), IN4 (DATE_AND_TIME)
Output type: BOOL
See also generic alias: GE
GE_INT (Function) Returns TRUE if IN1 greater or equal than IN2 (and IN2 greater or equal than IN3, etc)
Inputs: IN1 (INT), IN2 (INT), IN3 (INT), IN4 (INT)
Output type: BOOL
See also generic alias: GE
GE_LINT (Function) Returns TRUE if IN1 greater or equal than IN2 (and IN2 greater or equal than IN3, etc)
Inputs: IN1 (LINT), IN2 (LINT), IN3 (LINT), IN4 (LINT)
Output type: BOOL
See also generic alias: GE
GE_LREAL (Function) Returns TRUE if IN1 greater or equal than IN2 (and IN2 greater or equal than IN3, etc)
Inputs: IN1 (LREAL), IN2 (LREAL), IN3 (LREAL), IN4 (LREAL)
Output type: BOOL
See also generic alias: GE
GE_REAL (Function) Returns TRUE if IN1 greater or equal than IN2 (and IN2 greater or equal than IN3, etc)
Inputs: IN1 (REAL), IN2 (REAL), IN3 (REAL), IN4 (REAL)
Output type: BOOL
See also generic alias: GE
GE_SINT (Function) Returns TRUE if IN1 greater or equal than IN2 (and IN2 greater or equal than IN3, etc)
Inputs: IN1 (SINT), IN2 (SINT), IN3 (SINT), IN4 (SINT)
Output type: BOOL
See also generic alias: GE
GE_STRING (Function) Returns TRUE if IN1 greater or equal than IN2 (and IN2 greater or equal than IN3, etc)
Inputs: IN1 (STRING), IN2 (STRING), IN3 (STRING), IN4 (STRING)
Output type: BOOL
See also generic alias: GE
GE_TIME (Function) Returns TRUE if IN1 greater or equal than IN2 (and IN2 greater or equal than IN3, etc)
Inputs: IN1 (TIME), IN2 (TIME), IN3 (TIME), IN4 (TIME)
Output type: BOOL
See also generic alias: GE
GE_TOD (Function) Returns TRUE if IN1 greater or equal than IN2 (and IN2 greater or equal than IN3, etc)
Inputs: IN1 (TIME_OF_DAY), IN2 (TIME_OF_DAY), IN3 (TIME_OF_DAY), IN4 (TIME_OF_DAY)
Output type: BOOL
See also generic alias: GE
GE_UDINT (Function) Returns TRUE if IN1 greater or equal than IN2 (and IN2 greater or equal than IN3, etc)
Inputs: IN1 (UDINT), IN2 (UDINT), IN3 (UDINT), IN4 (UDINT)
Output type: BOOL
See also generic alias: GE
GE_UINT (Function) Returns TRUE if IN1 greater or equal than IN2 (and IN2 greater or equal than IN3, etc)
Inputs: IN1 (UINT), IN2 (UINT), IN3 (UINT), IN4 (UINT)
Output type: BOOL
See also generic alias: GE
GE_ULINT (Function) Returns TRUE if IN1 greater or equal than IN2 (and IN2 greater or equal than IN3, etc)
Inputs: IN1 (ULINT), IN2 (ULINT), IN3 (ULINT), IN4 (ULINT)
Output type: BOOL
See also generic alias: GE
GE_USINT (Function) Returns TRUE if IN1 greater or equal than IN2 (and IN2 greater or equal than IN3, etc)
Inputs: IN1 (USINT), IN2 (USINT), IN3 (USINT), IN4 (USINT)
Output type: BOOL
See also generic alias: GE
GE_WSTRING (Function) Returns TRUE if IN1 greater or equal than IN2 (and IN2 greater or equal than IN3, etc)
Inputs: IN1 (WSTRING), IN2 (WSTRING), IN3 (WSTRING), IN4 (WSTRING)
Output type: BOOL
See also generic alias: GE
GT (Function) Returns TRUE if IN1 greater than IN2 (and IN2 greater than IN3, etc)
Inputs: IN1 (?), IN2 (?), IN3 (?), IN4 (?)
Output type: BOOL
This function is generic?, concrete variants: GT_SINT GT_INT GT_DINT GT_LINT GT_USINT GT_UINT GT_UDINT GT_ULINT GT_REAL GT_LREAL GT_STRING GT_WSTRING GT_DT GT_DATE GT_TOD GT_TIME
GT_DATE (Function) Returns TRUE if IN1 greater than IN2 (and IN2 greater than IN3, etc)
Inputs: IN1 (DATE), IN2 (DATE), IN3 (DATE), IN4 (DATE)
Output type: BOOL
See also generic alias: GT
GT_DINT (Function) Returns TRUE if IN1 greater than IN2 (and IN2 greater than IN3, etc)
Inputs: IN1 (DINT), IN2 (DINT), IN3 (DINT), IN4 (DINT)
Output type: BOOL
See also generic alias: GT
GT_DT (Function) Returns TRUE if IN1 greater than IN2 (and IN2 greater than IN3, etc)
Inputs: IN1 (DATE_AND_TIME), IN2 (DATE_AND_TIME), IN3 (DATE_AND_TIME), IN4 (DATE_AND_TIME)
Output type: BOOL
See also generic alias: GT
GT_INT (Function) Returns TRUE if IN1 greater than IN2 (and IN2 greater than IN3, etc)
Inputs: IN1 (INT), IN2 (INT), IN3 (INT), IN4 (INT)
Output type: BOOL
See also generic alias: GT
GT_LINT (Function) Returns TRUE if IN1 greater than IN2 (and IN2 greater than IN3, etc)
Inputs: IN1 (LINT), IN2 (LINT), IN3 (LINT), IN4 (LINT)
Output type: BOOL
See also generic alias: GT
GT_LREAL (Function) Returns TRUE if IN1 greater than IN2 (and IN2 greater than IN3, etc)
Inputs: IN1 (LREAL), IN2 (LREAL), IN3 (LREAL), IN4 (LREAL)
Output type: BOOL
See also generic alias: GT
GT_REAL (Function) Returns TRUE if IN1 greater than IN2 (and IN2 greater than IN3, etc)
Inputs: IN1 (REAL), IN2 (REAL), IN3 (REAL), IN4 (REAL)
Output type: BOOL
See also generic alias: GT
GT_SINT (Function) Returns TRUE if IN1 greater than IN2 (and IN2 greater than IN3, etc)
Inputs: IN1 (SINT), IN2 (SINT), IN3 (SINT), IN4 (SINT)
Output type: BOOL
See also generic alias: GT
GT_STRING (Function) Returns TRUE if IN1 greater than IN2 (and IN2 greater than IN3, etc)
Inputs: IN1 (STRING), IN2 (STRING), IN3 (STRING), IN4 (STRING)
Output type: BOOL
See also generic alias: GT
GT_TIME (Function) Returns TRUE if IN1 greater than IN2 (and IN2 greater than IN3, etc)
Inputs: IN1 (TIME), IN2 (TIME), IN3 (TIME), IN4 (TIME)
Output type: BOOL
See also generic alias: GT
GT_TOD (Function) Returns TRUE if IN1 greater than IN2 (and IN2 greater than IN3, etc)
Inputs: IN1 (TIME_OF_DAY), IN2 (TIME_OF_DAY), IN3 (TIME_OF_DAY), IN4 (TIME_OF_DAY)
Output type: BOOL
See also generic alias: GT
GT_UDINT (Function) Returns TRUE if IN1 greater than IN2 (and IN2 greater than IN3, etc)
Inputs: IN1 (UDINT), IN2 (UDINT), IN3 (UDINT), IN4 (UDINT)
Output type: BOOL
See also generic alias: GT
GT_UINT (Function) Returns TRUE if IN1 greater than IN2 (and IN2 greater than IN3, etc)
Inputs: IN1 (UINT), IN2 (UINT), IN3 (UINT), IN4 (UINT)
Output type: BOOL
See also generic alias: GT
GT_ULINT (Function) Returns TRUE if IN1 greater than IN2 (and IN2 greater than IN3, etc)
Inputs: IN1 (ULINT), IN2 (ULINT), IN3 (ULINT), IN4 (ULINT)
Output type: BOOL
See also generic alias: GT
GT_USINT (Function) Returns TRUE if IN1 greater than IN2 (and IN2 greater than IN3, etc)
Inputs: IN1 (USINT), IN2 (USINT), IN3 (USINT), IN4 (USINT)
Output type: BOOL
See also generic alias: GT
GT_WSTRING (Function) Returns TRUE if IN1 greater than IN2 (and IN2 greater than IN3, etc)
Inputs: IN1 (WSTRING), IN2 (WSTRING), IN3 (WSTRING), IN4 (WSTRING)
Output type: BOOL
See also generic alias: GT
LE (Function) Returns TRUE if IN1 is less-or-equal than IN2 (and IN2 less-or-equal than IN3, etc)
Inputs: IN1 (?), IN2 (?), IN3 (?), IN4 (?)
Output type: BOOL
This function is generic?, concrete variants: LE_SINT LE_INT LE_DINT LE_LINT LE_USINT LE_UINT LE_UDINT LE_ULINT LE_REAL LE_LREAL LE_STRING LE_WSTRING LE_DT LE_DATE LE_TOD LE_TIME
LE_DATE (Function) Returns TRUE if IN1 is less-or-equal than IN2 (and IN2 less-or-equal than IN3, etc)
Inputs: IN1 (DATE), IN2 (DATE), IN3 (DATE), IN4 (DATE)
Output type: BOOL
See also generic alias: LE
LE_DINT (Function) Returns TRUE if IN1 is less-or-equal than IN2 (and IN2 less-or-equal than IN3, etc)
Inputs: IN1 (DINT), IN2 (DINT), IN3 (DINT), IN4 (DINT)
Output type: BOOL
See also generic alias: LE
LE_DT (Function) Returns TRUE if IN1 is less-or-equal than IN2 (and IN2 less-or-equal than IN3, etc)
Inputs: IN1 (DATE_AND_TIME), IN2 (DATE_AND_TIME), IN3 (DATE_AND_TIME), IN4 (DATE_AND_TIME)
Output type: BOOL
See also generic alias: LE
LE_INT (Function) Returns TRUE if IN1 is less-or-equal than IN2 (and IN2 less-or-equal than IN3, etc)
Inputs: IN1 (INT), IN2 (INT), IN3 (INT), IN4 (INT)
Output type: BOOL
See also generic alias: LE
LE_LINT (Function) Returns TRUE if IN1 is less-or-equal than IN2 (and IN2 less-or-equal than IN3, etc)
Inputs: IN1 (LINT), IN2 (LINT), IN3 (LINT), IN4 (LINT)
Output type: BOOL
See also generic alias: LE
LE_LREAL (Function) Returns TRUE if IN1 is less-or-equal than IN2 (and IN2 less-or-equal than IN3, etc)
Inputs: IN1 (LREAL), IN2 (LREAL), IN3 (LREAL), IN4 (LREAL)
Output type: BOOL
See also generic alias: LE
LE_REAL (Function) Returns TRUE if IN1 is less-or-equal than IN2 (and IN2 less-or-equal than IN3, etc)
Inputs: IN1 (REAL), IN2 (REAL), IN3 (REAL), IN4 (REAL)
Output type: BOOL
See also generic alias: LE
LE_SINT (Function) Returns TRUE if IN1 is less-or-equal than IN2 (and IN2 less-or-equal than IN3, etc)
Inputs: IN1 (SINT), IN2 (SINT), IN3 (SINT), IN4 (SINT)
Output type: BOOL
See also generic alias: LE
LE_STRING (Function) Returns TRUE if IN1 is less-or-equal than IN2 (and IN2 less-or-equal than IN3, etc)
Inputs: IN1 (STRING), IN2 (STRING), IN3 (STRING), IN4 (STRING)
Output type: BOOL
See also generic alias: LE
LE_TIME (Function) Returns TRUE if IN1 is less-or-equal than IN2 (and IN2 less-or-equal than IN3, etc)
Inputs: IN1 (TIME), IN2 (TIME), IN3 (TIME), IN4 (TIME)
Output type: BOOL
See also generic alias: LE
LE_TOD (Function) Returns TRUE if IN1 is less-or-equal than IN2 (and IN2 less-or-equal than IN3, etc)
Inputs: IN1 (TIME_OF_DAY), IN2 (TIME_OF_DAY), IN3 (TIME_OF_DAY), IN4 (TIME_OF_DAY)
Output type: BOOL
See also generic alias: LE
LE_UDINT (Function) Returns TRUE if IN1 is less-or-equal than IN2 (and IN2 less-or-equal than IN3, etc)
Inputs: IN1 (UDINT), IN2 (UDINT), IN3 (UDINT), IN4 (UDINT)
Output type: BOOL
See also generic alias: LE
LE_UINT (Function) Returns TRUE if IN1 is less-or-equal than IN2 (and IN2 less-or-equal than IN3, etc)
Inputs: IN1 (UINT), IN2 (UINT), IN3 (UINT), IN4 (UINT)
Output type: BOOL
See also generic alias: LE
LE_ULINT (Function) Returns TRUE if IN1 is less-or-equal than IN2 (and IN2 less-or-equal than IN3, etc)
Inputs: IN1 (ULINT), IN2 (ULINT), IN3 (ULINT), IN4 (ULINT)
Output type: BOOL
See also generic alias: LE
LE_USINT (Function) Returns TRUE if IN1 is less-or-equal than IN2 (and IN2 less-or-equal than IN3, etc)
Inputs: IN1 (USINT), IN2 (USINT), IN3 (USINT), IN4 (USINT)
Output type: BOOL
See also generic alias: LE
LE_WSTRING (Function) Returns TRUE if IN1 is less-or-equal than IN2 (and IN2 less-or-equal than IN3, etc)
Inputs: IN1 (WSTRING), IN2 (WSTRING), IN3 (WSTRING), IN4 (WSTRING)
Output type: BOOL
See also generic alias: LE
LT (Function) Returns TRUE if IN1 is less than IN2 (and IN2 less than IN3, etc)
Inputs: IN1 (?), IN2 (?), IN3 (?), IN4 (?)
Output type: BOOL
This function is generic?, concrete variants: LT_SINT LT_INT LT_DINT LT_LINT LT_USINT LT_UINT LT_UDINT LT_ULINT LT_REAL LT_LREAL LT_STRING LT_WSTRING LT_DT LT_DATE LT_TOD LT_TIME
LT_DATE (Function) Returns TRUE if IN1 is less than IN2 (and IN2 less than IN3, etc)
Inputs: IN1 (DATE), IN2 (DATE), IN3 (DATE), IN4 (DATE)
Output type: BOOL
See also generic alias: LT
LT_DINT (Function) Returns TRUE if IN1 is less than IN2 (and IN2 less than IN3, etc)
Inputs: IN1 (DINT), IN2 (DINT), IN3 (DINT), IN4 (DINT)
Output type: BOOL
See also generic alias: LT
LT_DT (Function) Returns TRUE if IN1 is less than IN2 (and IN2 less than IN3, etc)
Inputs: IN1 (DATE_AND_TIME), IN2 (DATE_AND_TIME), IN3 (DATE_AND_TIME), IN4 (DATE_AND_TIME)
Output type: BOOL
See also generic alias: LT
LT_INT (Function) Returns TRUE if IN1 is less than IN2 (and IN2 less than IN3, etc)
Inputs: IN1 (INT), IN2 (INT), IN3 (INT), IN4 (INT)
Output type: BOOL
See also generic alias: LT
LT_LINT (Function) Returns TRUE if IN1 is less than IN2 (and IN2 less than IN3, etc)
Inputs: IN1 (LINT), IN2 (LINT), IN3 (LINT), IN4 (LINT)
Output type: BOOL
See also generic alias: LT
LT_LREAL (Function) Returns TRUE if IN1 is less than IN2 (and IN2 less than IN3, etc)
Inputs: IN1 (LREAL), IN2 (LREAL), IN3 (LREAL), IN4 (LREAL)
Output type: BOOL
See also generic alias: LT
LT_REAL (Function) Returns TRUE if IN1 is less than IN2 (and IN2 less than IN3, etc)
Inputs: IN1 (REAL), IN2 (REAL), IN3 (REAL), IN4 (REAL)
Output type: BOOL
See also generic alias: LT
LT_SINT (Function) Returns TRUE if IN1 is less than IN2 (and IN2 less than IN3, etc)
Inputs: IN1 (SINT), IN2 (SINT), IN3 (SINT), IN4 (SINT)
Output type: BOOL
See also generic alias: LT
LT_STRING (Function) Returns TRUE if IN1 is less than IN2 (and IN2 less than IN3, etc)
Inputs: IN1 (STRING), IN2 (STRING), IN3 (STRING), IN4 (STRING)
Output type: BOOL
See also generic alias: LT
LT_TIME (Function) Returns TRUE if IN1 is less than IN2 (and IN2 less than IN3, etc)
Inputs: IN1 (TIME), IN2 (TIME), IN3 (TIME), IN4 (TIME)
Output type: BOOL
See also generic alias: LT
LT_TOD (Function) Returns TRUE if IN1 is less than IN2 (and IN2 less than IN3, etc)
Inputs: IN1 (TIME_OF_DAY), IN2 (TIME_OF_DAY), IN3 (TIME_OF_DAY), IN4 (TIME_OF_DAY)
Output type: BOOL
See also generic alias: LT
LT_UDINT (Function) Returns TRUE if IN1 is less than IN2 (and IN2 less than IN3, etc)
Inputs: IN1 (UDINT), IN2 (UDINT), IN3 (UDINT), IN4 (UDINT)
Output type: BOOL
See also generic alias: LT
LT_UINT (Function) Returns TRUE if IN1 is less than IN2 (and IN2 less than IN3, etc)
Inputs: IN1 (UINT), IN2 (UINT), IN3 (UINT), IN4 (UINT)
Output type: BOOL
See also generic alias: LT
LT_ULINT (Function) Returns TRUE if IN1 is less than IN2 (and IN2 less than IN3, etc)
Inputs: IN1 (ULINT), IN2 (ULINT), IN3 (ULINT), IN4 (ULINT)
Output type: BOOL
See also generic alias: LT
LT_USINT (Function) Returns TRUE if IN1 is less than IN2 (and IN2 less than IN3, etc)
Inputs: IN1 (USINT), IN2 (USINT), IN3 (USINT), IN4 (USINT)
Output type: BOOL
See also generic alias: LT
LT_WSTRING (Function) Returns TRUE if IN1 is less than IN2 (and IN2 less than IN3, etc)
Inputs: IN1 (WSTRING), IN2 (WSTRING), IN3 (WSTRING), IN4 (WSTRING)
Output type: BOOL
See also generic alias: LT
NE (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (?), IN2 (?)
Output type: BOOL
This function is generic?, concrete variants: NE_SINT NE_INT NE_DINT NE_LINT NE_USINT NE_UINT NE_UDINT NE_ULINT NE_REAL NE_LREAL NE_STRING NE_WSTRING NE_DT NE_DATE NE_TOD NE_TIME NE_BOOL NE_BYTE NE_WORD NE_DWORD NE_LWORD
NE_BOOL (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (BOOL), IN2 (BOOL)
Output type: BOOL
See also generic alias: NE
NE_BYTE (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (BYTE), IN2 (BYTE)
Output type: BOOL
See also generic alias: NE
NE_DATE (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (DATE), IN2 (DATE)
Output type: BOOL
See also generic alias: NE
NE_DINT (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (DINT), IN2 (DINT)
Output type: BOOL
See also generic alias: NE
NE_DT (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (DATE_AND_TIME), IN2 (DATE_AND_TIME)
Output type: BOOL
See also generic alias: NE
NE_DWORD (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (DWORD), IN2 (DWORD)
Output type: BOOL
See also generic alias: NE
NE_INT (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (INT), IN2 (INT)
Output type: BOOL
See also generic alias: NE
NE_LINT (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (LINT), IN2 (LINT)
Output type: BOOL
See also generic alias: NE
NE_LREAL (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (LREAL), IN2 (LREAL)
Output type: BOOL
See also generic alias: NE
NE_LWORD (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (LWORD), IN2 (LWORD)
Output type: BOOL
See also generic alias: NE
NE_REAL (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (REAL), IN2 (REAL)
Output type: BOOL
See also generic alias: NE
NE_SINT (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (SINT), IN2 (SINT)
Output type: BOOL
See also generic alias: NE
NE_STRING (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (STRING), IN2 (STRING)
Output type: BOOL
See also generic alias: NE
NE_TIME (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (TIME), IN2 (TIME)
Output type: BOOL
See also generic alias: NE
NE_TOD (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (TIME_OF_DAY), IN2 (TIME_OF_DAY)
Output type: BOOL
See also generic alias: NE
NE_UDINT (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (UDINT), IN2 (UDINT)
Output type: BOOL
See also generic alias: NE
NE_UINT (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (UINT), IN2 (UINT)
Output type: BOOL
See also generic alias: NE
NE_ULINT (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (ULINT), IN2 (ULINT)
Output type: BOOL
See also generic alias: NE
NE_USINT (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (USINT), IN2 (USINT)
Output type: BOOL
See also generic alias: NE
NE_WORD (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (WORD), IN2 (WORD)
Output type: BOOL
See also generic alias: NE
NE_WSTRING (Function) Returns TRUE if IN1 is not equal than IN2 (and IN2 not equal than IN3, etc)
Inputs: IN1 (WSTRING), IN2 (WSTRING)
Output type: BOOL
See also generic alias: NE
Bit
AND (Function) Bitwise/Logical AND
Inputs: IN1 (?), IN2 (?), IN3 (?), IN4 (?)
Output type: ?
This function is generic?, concrete variants: AND_BOOL AND_BYTE AND_WORD AND_DWORD AND_LWORD
AND_BOOL (Function) Bitwise/Logical AND
Inputs: IN1 (BOOL), IN2 (BOOL), IN3 (BOOL), IN4 (BOOL)
Output type: BOOL
See also generic alias: AND
AND_BYTE (Function) Bitwise/Logical AND
Inputs: IN1 (BYTE), IN2 (BYTE), IN3 (BYTE), IN4 (BYTE)
Output type: BYTE
See also generic alias: AND
AND_DWORD (Function) Bitwise/Logical AND
Inputs: IN1 (DWORD), IN2 (DWORD), IN3 (DWORD), IN4 (DWORD)
Output type: DWORD
See also generic alias: AND
AND_LWORD (Function) Bitwise/Logical AND
Inputs: IN1 (LWORD), IN2 (LWORD), IN3 (LWORD), IN4 (LWORD)
Output type: LWORD
See also generic alias: AND
AND_WORD (Function) Bitwise/Logical AND
Inputs: IN1 (WORD), IN2 (WORD), IN3 (WORD), IN4 (WORD)
Output type: WORD
See also generic alias: AND
NOT (Function) Bitwise/Logical NOT
Inputs: IN (?)
Output type: ?
This function is generic?, concrete variants: NOT_BOOL NOT_BYTE NOT_WORD NOT_DWORD NOT_LWORD
NOT_BOOL (Function) Bitwise/Logical NOT
Inputs: IN (BOOL)
Output type: BOOL
See also generic alias: NOT
NOT_BYTE (Function) Bitwise/Logical NOT
Inputs: IN (BYTE)
Output type: BYTE
See also generic alias: NOT
NOT_DWORD (Function) Bitwise/Logical NOT
Inputs: IN (DWORD)
Output type: DWORD
See also generic alias: NOT
NOT_LWORD (Function) Bitwise/Logical NOT
Inputs: IN (LWORD)
Output type: LWORD
See also generic alias: NOT
NOT_WORD (Function) Bitwise/Logical NOT
Inputs: IN (WORD)
Output type: WORD
See also generic alias: NOT
OR (Function) Bitwise/Logical OR
Inputs: IN1 (?), IN2 (?), IN3 (?), IN4 (?)
Output type: ?
This function is generic?, concrete variants: OR_BOOL OR_BYTE OR_WORD OR_DWORD OR_LWORD
OR_BOOL (Function) Bitwise/Logical OR
Inputs: IN1 (BOOL), IN2 (BOOL), IN3 (BOOL), IN4 (BOOL)
Output type: BOOL
See also generic alias: OR
OR_BYTE (Function) Bitwise/Logical OR
Inputs: IN1 (BYTE), IN2 (BYTE), IN3 (BYTE), IN4 (BYTE)
Output type: BYTE
See also generic alias: OR
OR_DWORD (Function) Bitwise/Logical OR
Inputs: IN1 (DWORD), IN2 (DWORD), IN3 (DWORD), IN4 (DWORD)
Output type: DWORD
See also generic alias: OR
OR_LWORD (Function) Bitwise/Logical OR
Inputs: IN1 (LWORD), IN2 (LWORD), IN3 (LWORD), IN4 (LWORD)
Output type: LWORD
See also generic alias: OR
OR_WORD (Function) Bitwise/Logical OR
Inputs: IN1 (WORD), IN2 (WORD), IN3 (WORD), IN4 (WORD)
Output type: WORD
See also generic alias: OR
ROL (Function) Left-rotation by N bits, circular
Inputs: IN (?), N (?)
Output type: ?
This function is generic?, concrete variants: ROL_BYTE ROL_WORD ROL_DWORD ROL_LWORD
ROL_BYTE (Function) Left-rotation by N bits, circular
Inputs: IN (BYTE), N (INT)
Output type: BYTE
See also generic alias: ROL
ROL_DWORD (Function) Left-rotation by N bits, circular
Inputs: IN (DWORD), N (INT)
Output type: DWORD
See also generic alias: ROL
ROL_LWORD (Function) Left-rotation by N bits, circular
Inputs: IN (LWORD), N (INT)
Output type: LWORD
See also generic alias: ROL
ROL_WORD (Function) Left-rotation by N bits, circular
Inputs: IN (WORD), N (INT)
Output type: WORD
See also generic alias: ROL
ROR (Function) Right-rotation by N bits, circular
Inputs: IN (?), N (?)
Output type: ?
This function is generic?, concrete variants: ROR_BYTE ROR_WORD ROR_DWORD ROR_LWORD
ROR_BYTE (Function) Right-rotation by N bits, circular
Inputs: IN (BYTE), N (INT)
Output type: BYTE
See also generic alias: ROR
ROR_DWORD (Function) Right-rotation by N bits, circular
Inputs: IN (DWORD), N (INT)
Output type: DWORD
See also generic alias: ROR
ROR_LWORD (Function) Right-rotation by N bits, circular
Inputs: IN (LWORD), N (INT)
Output type: LWORD
See also generic alias: ROR
ROR_WORD (Function) Right-rotation by N bits, circular
Inputs: IN (WORD), N (INT)
Output type: WORD
See also generic alias: ROR
SHL (Function) Left-shift by N bits, zero-filled on right
Inputs: IN (?), N (?)
Output type: ?
This function is generic?, concrete variants: SHL_BYTE SHL_WORD SHL_DWORD SHL_LWORD
SHL_BYTE (Function) Left-shift by N bits, zero-filled on right
Inputs: IN (BYTE), N (INT)
Output type: BYTE
See also generic alias: SHL
SHL_DWORD (Function) Left-shift by N bits, zero-filled on right
Inputs: IN (DWORD), N (INT)
Output type: DWORD
See also generic alias: SHL
SHL_LWORD (Function) Left-shift by N bits, zero-filled on right
Inputs: IN (LWORD), N (INT)
Output type: LWORD
See also generic alias: SHL
SHL_WORD (Function) Left-shift by N bits, zero-filled on right
Inputs: IN (WORD), N (INT)
Output type: WORD
See also generic alias: SHL
SHR (Function) Right-shift by N bits, zero-filled on left
Inputs: IN (?), N (?)
Output type: ?
This function is generic?, concrete variants: SHR_BYTE SHR_WORD SHR_DWORD SHR_LWORD
SHR_BYTE (Function) Right-shift by N bits, zero-filled on left
Inputs: IN (BYTE), N (INT)
Output type: BYTE
See also generic alias: SHR
SHR_DWORD (Function) Right-shift by N bits, zero-filled on left
Inputs: IN (DWORD), N (INT)
Output type: DWORD
See also generic alias: SHR
SHR_LWORD (Function) Right-shift by N bits, zero-filled on left
Inputs: IN (LWORD), N (INT)
Output type: LWORD
See also generic alias: SHR
SHR_WORD (Function) Right-shift by N bits, zero-filled on left
Inputs: IN (WORD), N (INT)
Output type: WORD
See also generic alias: SHR
XOR (Function) Bitwise/Logical XOR
Inputs: IN1 (?), IN2 (?), IN3 (?), IN4 (?)
Output type: ?
This function is generic?, concrete variants: XOR_BOOL XOR_BYTE XOR_WORD XOR_DWORD XOR_LWORD
XOR_BOOL (Function) Bitwise/Logical XOR
Inputs: IN1 (BOOL), IN2 (BOOL), IN3 (BOOL), IN4 (BOOL)
Output type: BOOL
See also generic alias: XOR
XOR_BYTE (Function) Bitwise/Logical XOR
Inputs: IN1 (BYTE), IN2 (BYTE), IN3 (BYTE), IN4 (BYTE)
Output type: BYTE
See also generic alias: XOR
XOR_DWORD (Function) Bitwise/Logical XOR
Inputs: IN1 (DWORD), IN2 (DWORD), IN3 (DWORD), IN4 (DWORD)
Output type: DWORD
See also generic alias: XOR
XOR_LWORD (Function) Bitwise/Logical XOR
Inputs: IN1 (LWORD), IN2 (LWORD), IN3 (LWORD), IN4 (LWORD)
Output type: LWORD
See also generic alias: XOR
XOR_WORD (Function) Bitwise/Logical XOR
Inputs: IN1 (WORD), IN2 (WORD), IN3 (WORD), IN4 (WORD)
Output type: WORD
See also generic alias: XOR
Time
ADD_DT_TIME (Function) Addition of a TIME interval to a DATETIME
Inputs: IN1 (DATE_AND_TIME), IN2 (TIME)
Output type: DATE_AND_TIME
ADD_TIME (Function) Addition of two TIME intervals
Inputs: IN1 (TIME), IN2 (TIME)
Output type: TIME
ADD_TOD_TIME (Function) Addition of a TIME interval to a TIME_OF_DAY
Inputs: IN1 (TIME_OF_DAY), IN2 (TIME)
Output type: TIME_OF_DAY
CONCAT_DATE_TOD (Function) Concatenates a TIME_OF_DAY to a DATE
Inputs: IN1 (DATE), IN2 (TIME_OF_DAY)
Output type: DATE_AND_TIME
DATE_TO_DINT (Function) Converts a DATE to unix epoch (days)
Inputs: IN (DATE)
Output type: DINT
DATE_TO_DT (Function) Converts a DATE to DATETIME, assuming midnight time
Inputs: IN (DATE)
Output type: DATE_AND_TIME
DATE_TO_DWORD (Function) Datatype convertion
Inputs: IN (DATE)
Output type: DINT
DATE_TO_LREAL (Function) See DATE_TO_DINT
Inputs: IN (DATE)
Output type: LREAL
DATE_TO_REAL (Function) See DATE_TO_DINT
Inputs: IN (DATE)
Output type: REAL
DATE_TO_STRING (Function) Datatype convertion
Inputs: IN (DATE)
Output type: STRING
DATE_TO_UDINT (Function) Datatype convertion
Inputs: IN (DATE)
Output type: DINT
DINT_TO_DATE (Function) Converts a unix epoch (days) to a DATE
Inputs: IN (DINT)
Output type: DATE
DINT_TO_DT (Function) Converts a unix epoch (seconds) to a DATE_AND_TIME
Inputs: IN (DINT)
Output type: DATE_AND_TIME
DINT_TO_TIME (Function) Converts milliseconds to time duration
Inputs: IN (DINT)
Output type: TIME
DINT_TO_TOD (Function) Same as TIME_TO_TOD(DINT_TO_TIME()) (milliseconds)
Inputs: IN (DINT)
Output type: TIME_OF_DAY
DIVTIME (Function) Divides a TIME interval by a number
Inputs: IN1 (?), IN2 (?)
Output type: ?
This function is generic?, concrete variants: DIVTIME_INT DIVTIME_REAL
DIVTIME_INT (Function) Divides a TIME interval by a number
Inputs: IN1 (TIME), IN2 (INT)
Output type: TIME
See also generic alias: DIVTIME
DIVTIME_REAL (Function) Divides a TIME interval by a number
Inputs: IN1 (TIME), IN2 (REAL)
Output type: TIME
See also generic alias: DIVTIME
DT_TO_DATE (Function) Extracts the DATE part from a DATETIME
Inputs: IN (DATE_AND_TIME)
Output type: DATE
DT_TO_DINT (Function) Converts a a DATE_AND_TIME to unix epoch (seconds)
Inputs: IN (DATE_AND_TIME)
Output type: DINT
DT_TO_DWORD (Function) Datatype convertion
Inputs: IN (DATE_AND_TIME)
Output type: DINT
DT_TO_LREAL (Function) See DT_TO_DINT
Inputs: IN (DATE_AND_TIME)
Output type: LREAL
DT_TO_REAL (Function) See DT_TO_DINT
Inputs: IN (DATE_AND_TIME)
Output type: REAL
DT_TO_STRING (Function) Datatype convertion
Inputs: IN (DATE_AND_TIME)
Output type: STRING
DT_TO_TOD (Function) Extracts the TIME_OF_DAY part from a DATETIME
Inputs: IN (DATE_AND_TIME)
Output type: TIME_OF_DAY
DT_TO_UDINT (Function) Datatype convertion
Inputs: IN (DATE_AND_TIME)
Output type: DINT
DWORD_TO_DATE (Function) Datatype convertion
Inputs: IN (DINT)
Output type: DATE
DWORD_TO_DT (Function) Datatype convertion
Inputs: IN (DINT)
Output type: DATE_AND_TIME
DWORD_TO_TIME (Function) Datatype convertion
Inputs: IN (DINT)
Output type: TIME
DWORD_TO_TOD (Function) Datatype convertion
Inputs: IN (DINT)
Output type: TIME_OF_DAY
LREAL_TO_DATE (Function) See DINT_TO_DATE
Inputs: IN (LREAL)
Output type: DATE
LREAL_TO_DT (Function) See DINT_TO_DT
Inputs: IN (LREAL)
Output type: DATE_AND_TIME
LREAL_TO_TIME (Function) Converts milliseconds to time duration
Inputs: IN (LREAL)
Output type: TIME
LREAL_TO_TOD (Function) Same as TIME_TO_TOD(LREAL_TO_TIME()) (milliseconds)
Inputs: IN (LREAL)
Output type: TIME_OF_DAY
MULTIME (Function) Multiplies a TIME interval by a number
Inputs: IN1 (?), IN2 (?)
Output type: ?
This function is generic?, concrete variants: MULTIME_INT MULTIME_REAL
MULTIME_INT (Function) Multiplies a TIME interval by a number
Inputs: IN1 (TIME), IN2 (INT)
Output type: TIME
See also generic alias: MULTIME
MULTIME_REAL (Function) Multiplies a TIME interval by a number
Inputs: IN1 (TIME), IN2 (REAL)
Output type: TIME
See also generic alias: MULTIME
REAL_TO_DATE (Function) See DINT_TO_DATE
Inputs: IN (REAL)
Output type: DATE
REAL_TO_DT (Function) See DINT_TO_DT
Inputs: IN (REAL)
Output type: DATE_AND_TIME
REAL_TO_TIME (Function) Converts milliseconds to time duration
Inputs: IN (REAL)
Output type: TIME
REAL_TO_TOD (Function) Same as TIME_TO_TOD(REAL_TO_TIME()) (milliseconds)
Inputs: IN (REAL)
Output type: TIME_OF_DAY
SUB_DATE_DATE (Function) Difference (TIME interval) between two dates
Inputs: IN1 (DATE), IN2 (DATE)
Output type: TIME
SUB_DT_DT (Function) Difference (TIME interval) between two date-times
Inputs: IN1 (DATE_AND_TIME), IN2 (DATE_AND_TIME)
Output type: TIME
SUB_DT_TIME (Function) Substracts a TIME interval from a DATETIME
Inputs: IN1 (DATE_AND_TIME), IN2 (TIME)
Output type: DATE_AND_TIME
SUB_TIME (Function) Difference of two TIME intervals
Inputs: IN1 (TIME), IN2 (TIME)
Output type: TIME
SUB_TOD_TIME (Function) Substracts a TIME interval from a TIME_OF_DAY
Inputs: IN1 (TIME_OF_DAY), IN2 (TIME)
Output type: TIME_OF_DAY
SUB_TOD_TOD (Function) Difference (TIME interval) between two TIME_OF_DAYs
Inputs: IN1 (TIME_OF_DAY), IN2 (TIME_OF_DAY)
Output type: TIME
TIME_TO_DINT (Function) Converts a duration to milliseconds
Inputs: IN (TIME)
Output type: DINT
TIME_TO_DWORD (Function) Datatype convertion
Inputs: IN (TIME)
Output type: DINT
TIME_TO_LREAL (Function) Converts a duration to milliseconds
Inputs: IN (TIME)
Output type: LREAL
TIME_TO_REAL (Function) Converts a duration to milliseconds
Inputs: IN (TIME)
Output type: REAL
TIME_TO_STRING (Function) Datatype convertion
Inputs: IN (TIME)
Output type: STRING
TIME_TO_TOD (Function) Constructs TIME_OF_DAY with TIME since midnight
Inputs: IN (TIME)
Output type: TIME_OF_DAY
TIME_TO_UDINT (Function) Datatype convertion
Inputs: IN (TIME)
Output type: DINT
TOD_TO_DINT (Function) Same as TIME_TO_DINT(TOD_TO_TIME()) (milliseconds)
Inputs: IN (TIME_OF_DAY)
Output type: DINT
TOD_TO_DWORD (Function) Datatype convertion
Inputs: IN (TIME_OF_DAY)
Output type: DINT
TOD_TO_LREAL (Function) Same as TIME_TO_REAL(TOD_TO_TIME()) (milliseconds)
Inputs: IN (TIME_OF_DAY)
Output type: LREAL
TOD_TO_REAL (Function) Same as TIME_TO_LREAL(TOD_TO_TIME()) (milliseconds)
Inputs: IN (TIME_OF_DAY)
Output type: REAL
TOD_TO_STRING (Function) Datatype convertion
Inputs: IN (TIME_OF_DAY)
Output type: STRING
TOD_TO_TIME (Function) Converts TIME_OF_DAY to TIME since midnight
Inputs: IN (TIME_OF_DAY)
Output type: TIME
TOD_TO_UDINT (Function) Datatype convertion
Inputs: IN (TIME_OF_DAY)
Output type: DINT
TOF (Function Block) Timer OFF-delay: delays the on-to-off transition of input by time PT
Inputs: IN (BOOL), PT (TIME)
Outputs: Q (BOOL), ET (TIME)
TON (Function Block) Timer ON-delay: delays the off-to-on transition of input by time PT
Inputs: IN (BOOL), PT (TIME)
Outputs: Q (BOOL), ET (TIME)
TP (Function Block) Timer Pulse: generates a pulse of width PT for each input rising edge
Inputs: IN (BOOL), PT (TIME)
Outputs: Q (BOOL), ET (TIME)
UDINT_TO_DATE (Function) Datatype convertion
Inputs: IN (DINT)
Output type: DATE
UDINT_TO_DT (Function) Datatype convertion
Inputs: IN (DINT)
Output type: DATE_AND_TIME
UDINT_TO_TIME (Function) Datatype convertion
Inputs: IN (DINT)
Output type: TIME
UDINT_TO_TOD (Function) Datatype convertion
Inputs: IN (DINT)
Output type: TIME_OF_DAY
String
CONCAT (Function) Strings concatenation
Inputs: IN1 (STRING), IN2 (STRING), IN3 (STRING), IN4 (STRING)
Output type: STRING
DELETE (Function) Delete L characters of IN, beginning at the P-th character position
Inputs: IN (STRING), L (INT), P (INT)
Output type: STRING
FIND (Function) Find the character position of first occurrence of IN2 in IN1. If not found, returns 0
Inputs: IN1 (STRING), IN2 (STRING)
Output type: INT
GET_CHAR_AT (Function) Gets the character at position P, as byte
Inputs: IN (STRING), P (INT)
Output type: BYTE
INSERT (Function) Insert IN2 into IN1 after the P-th character position
Inputs: IN1 (STRING), IN2 (STRING), P (INT)
Output type: STRING
LEFT (Function) Leftmost L characters of IN
Inputs: IN (STRING), L (INT)
Output type: STRING
LEN (Function) String length function
Inputs: IN (STRING)
Output type: INT
MID (Function) Returns L characters of IN, beginning at the P-th character
Inputs: IN (STRING), L (INT), P (INT)
Output type: STRING
REPLACE (Function) Replace L characters of IN1 by IN2, starting at the P-th character position
Inputs: IN1 (STRING), IN2 (STRING), L (INT), P (INT)
Output type: STRING
RIGHT (Function) Returns rightmost L characters of IN
Inputs: IN (STRING), L (INT)
Output type: STRING
SET_CHAR_AT (Function) Sets the character at position P, as byte
Inputs: IN (STRING), P (INT), C (BYTE)
Output type: STRING
Counters
CTD (Function Block) Down-counter: CV decrements at each positive edge of CD.
Inputs: CD (BOOL_R_EDGE), LD (BOOL), PV (INT)
Outputs: CV (INT), Q (BOOL)
CTDUD (Function Block) Up-down counter
Inputs: CU (BOOL_R_EDGE), CD (BOOL_R_EDGE), R (BOOL), LD (BOOL), PV (INT)
Outputs: CV (INT), QD (BOOL), QU (BOOL)
CTDUD_DINT (Function Block) Up-down counter
Inputs: CU (BOOL_R_EDGE), CD (BOOL_R_EDGE), R (BOOL), LD (BOOL), PV (DINT)
Outputs: CV (DINT), QD (BOOL), QU (BOOL)
CTDUD_UDINT (Function Block) Up-down counter
Inputs: CU (BOOL_R_EDGE), CD (BOOL_R_EDGE), R (BOOL), LD (BOOL), PV (UDINT)
Outputs: CV (UDINT), QD (BOOL), QU (BOOL)
CTD_DINT (Function Block) Down-counter: CV decrements at each positive edge of CD.
Inputs: CD (BOOL_R_EDGE), LD (BOOL), PV (DINT)
Outputs: CV (DINT), Q (BOOL)
CTD_UDINT (Function Block) Down-counter: CV decrements at each positive edge of CD.
Inputs: CD (BOOL_R_EDGE), LD (BOOL), PV (UDINT)
Outputs: CV (UDINT), Q (BOOL)
CTU (Function Block) Up-counter: CV increments at each positive edge of CU.
Inputs: CU (BOOL_R_EDGE), R (BOOL), PV (INT)
Outputs: CV (INT), Q (BOOL)
CTU_DINT (Function Block) Up-counter: CV increments at each positive edge of CU.
Inputs: CU (BOOL_R_EDGE), R (BOOL), PV (DINT)
Outputs: CV (DINT), Q (BOOL)
CTU_UDINT (Function Block) Up-counter: CV increments at each positive edge of CU.
Inputs: CU (BOOL_R_EDGE), R (BOOL), PV (UDINT)
Outputs: CV (UDINT), Q (BOOL)
Bistables Edge
F_TRIG (Function Block) Falling edge detector block
Inputs: CLK (BOOL)
Outputs: Q (BOOL)
RS (Function Block) Bistable function block (reset dominant)
Inputs: S (BOOL), R1 (BOOL)
Outputs: Q1 (BOOL)
R_TRIG (Function Block) Rising edge detector block
Inputs: CLK (BOOL)
Outputs: Q (BOOL)
SR (Function Block) Bistable function block (set dominant)
Inputs: S1 (BOOL), R (BOOL)
Outputs: Q1 (BOOL)
Selection
LIMIT (Function) Clamps input value in the MN (minimum) MX (maximum) range
Inputs: MN (?), IN (?), MX (?)
Output type: ?
This function is generic?, concrete variants: LIMIT_SINT LIMIT_INT LIMIT_DINT LIMIT_LINT LIMIT_USINT LIMIT_UINT LIMIT_UDINT LIMIT_ULINT LIMIT_REAL LIMIT_LREAL LIMIT_STRING LIMIT_WSTRING LIMIT_DT LIMIT_TOD LIMIT_DATE LIMIT_TIME
LIMIT_DATE (Function) Clamps input value in the MN (minimum) MX (maximum) range
Inputs: MN (DATE), IN (DATE), MX (DATE)
Output type: DATE
See also generic alias: LIMIT
LIMIT_DINT (Function) Clamps input value in the MN (minimum) MX (maximum) range
Inputs: MN (DINT), IN (DINT), MX (DINT)
Output type: DINT
See also generic alias: LIMIT
LIMIT_DT (Function) Clamps input value in the MN (minimum) MX (maximum) range
Inputs: MN (DATE_AND_TIME), IN (DATE_AND_TIME), MX (DATE_AND_TIME)
Output type: DATE_AND_TIME
See also generic alias: LIMIT
LIMIT_INT (Function) Clamps input value in the MN (minimum) MX (maximum) range
Inputs: MN (INT), IN (INT), MX (INT)
Output type: INT
See also generic alias: LIMIT
LIMIT_LINT (Function) Clamps input value in the MN (minimum) MX (maximum) range
Inputs: MN (LINT), IN (LINT), MX (LINT)
Output type: LINT
See also generic alias: LIMIT
LIMIT_LREAL (Function) Clamps input value in the MN (minimum) MX (maximum) range
Inputs: MN (LREAL), IN (LREAL), MX (LREAL)
Output type: LREAL
See also generic alias: LIMIT
LIMIT_REAL (Function) Clamps input value in the MN (minimum) MX (maximum) range
Inputs: MN (REAL), IN (REAL), MX (REAL)
Output type: REAL
See also generic alias: LIMIT
LIMIT_SINT (Function) Clamps input value in the MN (minimum) MX (maximum) range
Inputs: MN (SINT), IN (SINT), MX (SINT)
Output type: SINT
See also generic alias: LIMIT
LIMIT_STRING (Function) Clamps input value in the MN (minimum) MX (maximum) range
Inputs: MN (STRING), IN (STRING), MX (STRING)
Output type: STRING
See also generic alias: LIMIT
LIMIT_TIME (Function) Clamps input value in the MN (minimum) MX (maximum) range
Inputs: MN (TIME), IN (TIME), MX (TIME)
Output type: TIME
See also generic alias: LIMIT
LIMIT_TOD (Function) Clamps input value in the MN (minimum) MX (maximum) range
Inputs: MN (TIME_OF_DAY), IN (TIME_OF_DAY), MX (TIME_OF_DAY)
Output type: TIME_OF_DAY
See also generic alias: LIMIT
LIMIT_UDINT (Function) Clamps input value in the MN (minimum) MX (maximum) range
Inputs: MN (UDINT), IN (UDINT), MX (UDINT)
Output type: UDINT
See also generic alias: LIMIT
LIMIT_UINT (Function) Clamps input value in the MN (minimum) MX (maximum) range
Inputs: MN (UINT), IN (UINT), MX (UINT)
Output type: UINT
See also generic alias: LIMIT
LIMIT_ULINT (Function) Clamps input value in the MN (minimum) MX (maximum) range
Inputs: MN (ULINT), IN (ULINT), MX (ULINT)
Output type: ULINT
See also generic alias: LIMIT
LIMIT_USINT (Function) Clamps input value in the MN (minimum) MX (maximum) range
Inputs: MN (USINT), IN (USINT), MX (USINT)
Output type: USINT
See also generic alias: LIMIT
LIMIT_WSTRING (Function) Clamps input value in the MN (minimum) MX (maximum) range
Inputs: MN (WSTRING), IN (WSTRING), MX (WSTRING)
Output type: WSTRING
See also generic alias: LIMIT
MAX (Function) Returns the maximum value among its arguments
Inputs: IN1 (?), IN2 (?), IN3 (?), IN4 (?)
Output type: ?
This function is generic?, concrete variants: MAX_SINT MAX_INT MAX_DINT MAX_LINT MAX_USINT MAX_UINT MAX_UDINT MAX_ULINT MAX_REAL MAX_LREAL MAX_BYTE MAX_WORD MAX_DWORD MAX_LWORD MAX_STRING MAX_WSTRING MAX_DT MAX_TOD MAX_DATE MAX_TIME
MAX_BYTE (Function) Returns the maximum value among its arguments
Inputs: IN1 (BYTE), IN2 (BYTE), IN3 (BYTE), IN4 (BYTE)
Output type: BYTE
See also generic alias: MAX
MAX_DATE (Function) Returns the maximum value among its arguments
Inputs: IN1 (DATE), IN2 (DATE), IN3 (DATE), IN4 (DATE)
Output type: DATE
See also generic alias: MAX
MAX_DINT (Function) Returns the maximum value among its arguments
Inputs: IN1 (DINT), IN2 (DINT), IN3 (DINT), IN4 (DINT)
Output type: DINT
See also generic alias: MAX
MAX_DT (Function) Returns the maximum value among its arguments
Inputs: IN1 (DATE_AND_TIME), IN2 (DATE_AND_TIME), IN3 (DATE_AND_TIME), IN4 (DATE_AND_TIME)
Output type: DATE_AND_TIME
See also generic alias: MAX
MAX_DWORD (Function) Returns the maximum value among its arguments
Inputs: IN1 (DWORD), IN2 (DWORD), IN3 (DWORD), IN4 (DWORD)
Output type: DWORD
See also generic alias: MAX
MAX_INT (Function) Returns the maximum value among its arguments
Inputs: IN1 (INT), IN2 (INT), IN3 (INT), IN4 (INT)
Output type: INT
See also generic alias: MAX
MAX_LINT (Function) Returns the maximum value among its arguments
Inputs: IN1 (LINT), IN2 (LINT), IN3 (LINT), IN4 (LINT)
Output type: LINT
See also generic alias: MAX
MAX_LREAL (Function) Returns the maximum value among its arguments
Inputs: IN1 (LREAL), IN2 (LREAL), IN3 (LREAL), IN4 (LREAL)
Output type: LREAL
See also generic alias: MAX
MAX_LWORD (Function) Returns the maximum value among its arguments
Inputs: IN1 (LWORD), IN2 (LWORD), IN3 (LWORD), IN4 (LWORD)
Output type: LWORD
See also generic alias: MAX
MAX_REAL (Function) Returns the maximum value among its arguments
Inputs: IN1 (REAL), IN2 (REAL), IN3 (REAL), IN4 (REAL)
Output type: REAL
See also generic alias: MAX
MAX_SINT (Function) Returns the maximum value among its arguments
Inputs: IN1 (SINT), IN2 (SINT), IN3 (SINT), IN4 (SINT)
Output type: SINT
See also generic alias: MAX
MAX_STRING (Function) Returns the maximum value among its arguments
Inputs: IN1 (STRING), IN2 (STRING), IN3 (STRING), IN4 (STRING)
Output type: STRING
See also generic alias: MAX
MAX_TIME (Function) Returns the maximum value among its arguments
Inputs: IN1 (TIME), IN2 (TIME), IN3 (TIME), IN4 (TIME)
Output type: TIME
See also generic alias: MAX
MAX_TOD (Function) Returns the maximum value among its arguments
Inputs: IN1 (TIME_OF_DAY), IN2 (TIME_OF_DAY), IN3 (TIME_OF_DAY), IN4 (TIME_OF_DAY)
Output type: TIME_OF_DAY
See also generic alias: MAX
MAX_UDINT (Function) Returns the maximum value among its arguments
Inputs: IN1 (UDINT), IN2 (UDINT), IN3 (UDINT), IN4 (UDINT)
Output type: UDINT
See also generic alias: MAX
MAX_UINT (Function) Returns the maximum value among its arguments
Inputs: IN1 (UINT), IN2 (UINT), IN3 (UINT), IN4 (UINT)
Output type: UINT
See also generic alias: MAX
MAX_ULINT (Function) Returns the maximum value among its arguments
Inputs: IN1 (ULINT), IN2 (ULINT), IN3 (ULINT), IN4 (ULINT)
Output type: ULINT
See also generic alias: MAX
MAX_USINT (Function) Returns the maximum value among its arguments
Inputs: IN1 (USINT), IN2 (USINT), IN3 (USINT), IN4 (USINT)
Output type: USINT
See also generic alias: MAX
MAX_WORD (Function) Returns the maximum value among its arguments
Inputs: IN1 (WORD), IN2 (WORD), IN3 (WORD), IN4 (WORD)
Output type: WORD
See also generic alias: MAX
MAX_WSTRING (Function) Returns the maximum value among its arguments
Inputs: IN1 (WSTRING), IN2 (WSTRING), IN3 (WSTRING), IN4 (WSTRING)
Output type: WSTRING
See also generic alias: MAX
MIN (Function) Returns the minimum value among its arguments
Inputs: IN1 (?), IN2 (?), IN3 (?), IN4 (?)
Output type: ?
This function is generic?, concrete variants: MIN_SINT MIN_INT MIN_DINT MIN_LINT MIN_USINT MIN_UINT MIN_UDINT MIN_ULINT MIN_REAL MIN_LREAL MIN_BYTE MIN_WORD MIN_DWORD MIN_LWORD MIN_STRING MIN_WSTRING MIN_DT MIN_TOD MIN_DATE MIN_TIME
MIN_BYTE (Function) Returns the minimum value among its arguments
Inputs: IN1 (BYTE), IN2 (BYTE), IN3 (BYTE), IN4 (BYTE)
Output type: BYTE
See also generic alias: MIN
MIN_DATE (Function) Returns the minimum value among its arguments
Inputs: IN1 (DATE), IN2 (DATE), IN3 (DATE), IN4 (DATE)
Output type: DATE
See also generic alias: MIN
MIN_DINT (Function) Returns the minimum value among its arguments
Inputs: IN1 (DINT), IN2 (DINT), IN3 (DINT), IN4 (DINT)
Output type: DINT
See also generic alias: MIN
MIN_DT (Function) Returns the minimum value among its arguments
Inputs: IN1 (DATE_AND_TIME), IN2 (DATE_AND_TIME), IN3 (DATE_AND_TIME), IN4 (DATE_AND_TIME)
Output type: DATE_AND_TIME
See also generic alias: MIN
MIN_DWORD (Function) Returns the minimum value among its arguments
Inputs: IN1 (DWORD), IN2 (DWORD), IN3 (DWORD), IN4 (DWORD)
Output type: DWORD
See also generic alias: MIN
MIN_INT (Function) Returns the minimum value among its arguments
Inputs: IN1 (INT), IN2 (INT), IN3 (INT), IN4 (INT)
Output type: INT
See also generic alias: MIN
MIN_LINT (Function) Returns the minimum value among its arguments
Inputs: IN1 (LINT), IN2 (LINT), IN3 (LINT), IN4 (LINT)
Output type: LINT
See also generic alias: MIN
MIN_LREAL (Function) Returns the minimum value among its arguments
Inputs: IN1 (LREAL), IN2 (LREAL), IN3 (LREAL), IN4 (LREAL)
Output type: LREAL
See also generic alias: MIN
MIN_LWORD (Function) Returns the minimum value among its arguments
Inputs: IN1 (LWORD), IN2 (LWORD), IN3 (LWORD), IN4 (LWORD)
Output type: LWORD
See also generic alias: MIN
MIN_REAL (Function) Returns the minimum value among its arguments
Inputs: IN1 (REAL), IN2 (REAL), IN3 (REAL), IN4 (REAL)
Output type: REAL
See also generic alias: MIN
MIN_SINT (Function) Returns the minimum value among its arguments
Inputs: IN1 (SINT), IN2 (SINT), IN3 (SINT), IN4 (SINT)
Output type: SINT
See also generic alias: MIN
MIN_STRING (Function) Returns the minimum value among its arguments
Inputs: IN1 (STRING), IN2 (STRING), IN3 (STRING), IN4 (STRING)
Output type: STRING
See also generic alias: MIN
MIN_TIME (Function) Returns the minimum value among its arguments
Inputs: IN1 (TIME), IN2 (TIME), IN3 (TIME), IN4 (TIME)
Output type: TIME
See also generic alias: MIN
MIN_TOD (Function) Returns the minimum value among its arguments
Inputs: IN1 (TIME_OF_DAY), IN2 (TIME_OF_DAY), IN3 (TIME_OF_DAY), IN4 (TIME_OF_DAY)
Output type: TIME_OF_DAY
See also generic alias: MIN
MIN_UDINT (Function) Returns the minimum value among its arguments
Inputs: IN1 (UDINT), IN2 (UDINT), IN3 (UDINT), IN4 (UDINT)
Output type: UDINT
See also generic alias: MIN
MIN_UINT (Function) Returns the minimum value among its arguments
Inputs: IN1 (UINT), IN2 (UINT), IN3 (UINT), IN4 (UINT)
Output type: UINT
See also generic alias: MIN
MIN_ULINT (Function) Returns the minimum value among its arguments
Inputs: IN1 (ULINT), IN2 (ULINT), IN3 (ULINT), IN4 (ULINT)
Output type: ULINT
See also generic alias: MIN
MIN_USINT (Function) Returns the minimum value among its arguments
Inputs: IN1 (USINT), IN2 (USINT), IN3 (USINT), IN4 (USINT)
Output type: USINT
See also generic alias: MIN
MIN_WORD (Function) Returns the minimum value among its arguments
Inputs: IN1 (WORD), IN2 (WORD), IN3 (WORD), IN4 (WORD)
Output type: WORD
See also generic alias: MIN
MIN_WSTRING (Function) Returns the minimum value among its arguments
Inputs: IN1 (WSTRING), IN2 (WSTRING), IN3 (WSTRING), IN4 (WSTRING)
Output type: WSTRING
See also generic alias: MIN
MOVE (Function) Copies the input value to the output
Inputs: IN (?)
Output type: ?
This function is generic?, concrete variants: MOVE_SINT MOVE_INT MOVE_DINT MOVE_LINT MOVE_USINT MOVE_UINT MOVE_UDINT MOVE_ULINT MOVE_REAL MOVE_LREAL MOVE_BOOL MOVE_BYTE MOVE_WORD MOVE_DWORD MOVE_LWORD MOVE_STRING MOVE_WSTRING MOVE_DT MOVE_TOD MOVE_DATE MOVE_TIME
MOVE_BOOL (Function) Copies the input value to the output
Inputs: IN (BOOL)
Output type: BOOL
See also generic alias: MOVE
MOVE_DATE (Function) Copies the input value to the output
Inputs: IN (DATE)
Output type: DATE
See also generic alias: MOVE
MOVE_DT (Function) Copies the input value to the output
Inputs: IN (DATE_AND_TIME)
Output type: DATE_AND_TIME
See also generic alias: MOVE
MOVE_DWORD (Function) Copies the input value to the output
Inputs: IN (DWORD)
Output type: DWORD
See also generic alias: MOVE
MOVE_LREAL (Function) Copies the input value to the output
Inputs: IN (LREAL)
Output type: LREAL
See also generic alias: MOVE
MOVE_LWORD (Function) Copies the input value to the output
Inputs: IN (LWORD)
Output type: LWORD
See also generic alias: MOVE
MOVE_REAL (Function) Copies the input value to the output
Inputs: IN (REAL)
Output type: REAL
See also generic alias: MOVE
MOVE_STRING (Function) Copies the input value to the output
Inputs: IN (STRING)
Output type: STRING
See also generic alias: MOVE
MOVE_TIME (Function) Copies the input value to the output
Inputs: IN (TIME)
Output type: TIME
See also generic alias: MOVE
MOVE_TOD (Function) Copies the input value to the output
Inputs: IN (TIME_OF_DAY)
Output type: TIME_OF_DAY
See also generic alias: MOVE
MOVE_WORD (Function) Copies the input value to the output
Inputs: IN (WORD)
Output type: WORD
See also generic alias: MOVE
MOVE_WSTRING (Function) Copies the input value to the output
Inputs: IN (WSTRING)
Output type: WSTRING
See also generic alias: MOVE
MUX (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (?), IN0 (?), IN1 (?), IN2 (?), IN3 (?)
Output type: ?
This function is generic?, concrete variants: MUX_SINT MUX_INT MUX_DINT MUX_LINT MUX_USINT MUX_UINT MUX_UDINT MUX_ULINT MUX_REAL MUX_LREAL MUX_BOOL MUX_BYTE MUX_WORD MUX_DWORD MUX_LWORD MUX_STRING MUX_WSTRING MUX_DT MUX_TOD MUX_DATE MUX_TIME
MUX_BOOL (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (BOOL), IN1 (BOOL), IN2 (BOOL), IN3 (BOOL)
Output type: BOOL
See also generic alias: MUX
MUX_BYTE (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (BYTE), IN1 (BYTE), IN2 (BYTE), IN3 (BYTE)
Output type: BYTE
See also generic alias: MUX
MUX_DATE (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (DATE), IN1 (DATE), IN2 (DATE), IN3 (DATE)
Output type: DATE
See also generic alias: MUX
MUX_DINT (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (DINT), IN1 (DINT), IN2 (DINT), IN3 (DINT)
Output type: DINT
See also generic alias: MUX
MUX_DT (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (DATE_AND_TIME), IN1 (DATE_AND_TIME), IN2 (DATE_AND_TIME), IN3 (DATE_AND_TIME)
Output type: DATE_AND_TIME
See also generic alias: MUX
MUX_DWORD (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (DWORD), IN1 (DWORD), IN2 (DWORD), IN3 (DWORD)
Output type: DWORD
See also generic alias: MUX
MUX_INT (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (INT), IN1 (INT), IN2 (INT), IN3 (INT)
Output type: INT
See also generic alias: MUX
MUX_LINT (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (LINT), IN1 (LINT), IN2 (LINT), IN3 (LINT)
Output type: LINT
See also generic alias: MUX
MUX_LREAL (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (LREAL), IN1 (LREAL), IN2 (LREAL), IN3 (LREAL)
Output type: LREAL
See also generic alias: MUX
MUX_LWORD (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (LWORD), IN1 (LWORD), IN2 (LWORD), IN3 (LWORD)
Output type: LWORD
See also generic alias: MUX
MUX_REAL (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (REAL), IN1 (REAL), IN2 (REAL), IN3 (REAL)
Output type: REAL
See also generic alias: MUX
MUX_SINT (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (SINT), IN1 (SINT), IN2 (SINT), IN3 (SINT)
Output type: SINT
See also generic alias: MUX
MUX_STRING (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (STRING), IN1 (STRING), IN2 (STRING), IN3 (STRING)
Output type: STRING
See also generic alias: MUX
MUX_TIME (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (TIME), IN1 (TIME), IN2 (TIME), IN3 (TIME)
Output type: TIME
See also generic alias: MUX
MUX_TOD (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (TIME_OF_DAY), IN1 (TIME_OF_DAY), IN2 (TIME_OF_DAY), IN3 (TIME_OF_DAY)
Output type: TIME_OF_DAY
See also generic alias: MUX
MUX_UDINT (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (UDINT), IN1 (UDINT), IN2 (UDINT), IN3 (UDINT)
Output type: UDINT
See also generic alias: MUX
MUX_UINT (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (UINT), IN1 (UINT), IN2 (UINT), IN3 (UINT)
Output type: UINT
See also generic alias: MUX
MUX_ULINT (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (ULINT), IN1 (ULINT), IN2 (ULINT), IN3 (ULINT)
Output type: ULINT
See also generic alias: MUX
MUX_USINT (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (USINT), IN1 (USINT), IN2 (USINT), IN3 (USINT)
Output type: USINT
See also generic alias: MUX
MUX_WORD (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (WORD), IN1 (WORD), IN2 (WORD), IN3 (WORD)
Output type: WORD
See also generic alias: MUX
MUX_WSTRING (Function) Returns the K element among the input values, from 0 to 3
Inputs: K (INT), IN0 (WSTRING), IN1 (WSTRING), IN2 (WSTRING), IN3 (WSTRING)
Output type: WSTRING
See also generic alias: MUX
SEL (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (?), IN0 (?), IN1 (?)
Output type: ?
This function is generic?, concrete variants: SEL_SINT SEL_INT SEL_DINT SEL_LINT SEL_USINT SEL_UINT SEL_UDINT SEL_ULINT SEL_REAL SEL_LREAL SEL_BOOL SEL_BYTE SEL_WORD SEL_DWORD SEL_LWORD SEL_STRING SEL_WSTRING SEL_DT SEL_TOD SEL_DATE SEL_TIME
SEL_BOOL (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (BOOL), IN1 (BOOL)
Output type: BOOL
See also generic alias: SEL
SEL_BYTE (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (BYTE), IN1 (BYTE)
Output type: BYTE
See also generic alias: SEL
SEL_DATE (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (DATE), IN1 (DATE)
Output type: DATE
See also generic alias: SEL
SEL_DINT (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (DINT), IN1 (DINT)
Output type: DINT
See also generic alias: SEL
SEL_DT (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (DATE_AND_TIME), IN1 (DATE_AND_TIME)
Output type: DATE_AND_TIME
See also generic alias: SEL
SEL_DWORD (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (DWORD), IN1 (DWORD)
Output type: DWORD
See also generic alias: SEL
SEL_INT (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (INT), IN1 (INT)
Output type: INT
See also generic alias: SEL
SEL_LINT (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (LINT), IN1 (LINT)
Output type: LINT
See also generic alias: SEL
SEL_LREAL (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (LREAL), IN1 (LREAL)
Output type: LREAL
See also generic alias: SEL
SEL_LWORD (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (LWORD), IN1 (LWORD)
Output type: LWORD
See also generic alias: SEL
SEL_REAL (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (REAL), IN1 (REAL)
Output type: REAL
See also generic alias: SEL
SEL_SINT (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (SINT), IN1 (SINT)
Output type: SINT
See also generic alias: SEL
SEL_STRING (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (STRING), IN1 (STRING)
Output type: STRING
See also generic alias: SEL
SEL_TIME (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (TIME), IN1 (TIME)
Output type: TIME
See also generic alias: SEL
SEL_TOD (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (TIME_OF_DAY), IN1 (TIME_OF_DAY)
Output type: TIME_OF_DAY
See also generic alias: SEL
SEL_UDINT (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (UDINT), IN1 (UDINT)
Output type: UDINT
See also generic alias: SEL
SEL_UINT (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (UINT), IN1 (UINT)
Output type: UINT
See also generic alias: SEL
SEL_ULINT (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (ULINT), IN1 (ULINT)
Output type: ULINT
See also generic alias: SEL
SEL_USINT (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (USINT), IN1 (USINT)
Output type: USINT
See also generic alias: SEL
SEL_WORD (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (WORD), IN1 (WORD)
Output type: WORD
See also generic alias: SEL
SEL_WSTRING (Function) Binary selection: returns IN0 if G is FALSE (0), IN1 otherwise
Inputs: G (BOOL), IN0 (WSTRING), IN1 (WSTRING)
Output type: WSTRING
See also generic alias: SEL
Type Conversion
BCD_TO_INT (Function) Converts a integer encoded in BDC format to a native integer
Inputs: IN (?)
Output type: ?
This function is generic?, concrete variants: BYTE_BCD_TO_USINT WORD_BCD_TO_UINT DWORD_BCD_TO_UDINT LWORD_BCD_TO_ULINT
BYTE_BCD_TO_USINT (Function) Converts a integer encoded in BDC format to a native integer
Inputs: IN (BYTE)
Output type: USINT
See also generic alias: BCD_TO_INT
DATE_TO_DINT (Function) Converts a DATE to unix epoch (days)
Inputs: IN (DATE)
Output type: DINT
DATE_TO_DT (Function) Converts a DATE to DATETIME, assuming midnight time
Inputs: IN (DATE)
Output type: DATE_AND_TIME
DATE_TO_DWORD (Function) Datatype convertion
Inputs: IN (DATE)
Output type: DINT
DATE_TO_LREAL (Function) See DATE_TO_DINT
Inputs: IN (DATE)
Output type: LREAL
DATE_TO_REAL (Function) See DATE_TO_DINT
Inputs: IN (DATE)
Output type: REAL
DATE_TO_STRING (Function) Datatype convertion
Inputs: IN (DATE)
Output type: STRING
DATE_TO_UDINT (Function) Datatype convertion
Inputs: IN (DATE)
Output type: DINT
DINT_TO_DATE (Function) Converts a unix epoch (days) to a DATE
Inputs: IN (DINT)
Output type: DATE
DINT_TO_DT (Function) Converts a unix epoch (seconds) to a DATE_AND_TIME
Inputs: IN (DINT)
Output type: DATE_AND_TIME
DINT_TO_TIME (Function) Converts milliseconds to time duration
Inputs: IN (DINT)
Output type: TIME
DINT_TO_TOD (Function) Same as TIME_TO_TOD(DINT_TO_TIME()) (milliseconds)
Inputs: IN (DINT)
Output type: TIME_OF_DAY
DT_TO_DATE (Function) Extracts the DATE part from a DATETIME
Inputs: IN (DATE_AND_TIME)
Output type: DATE
DT_TO_DINT (Function) Converts a a DATE_AND_TIME to unix epoch (seconds)
Inputs: IN (DATE_AND_TIME)
Output type: DINT
DT_TO_DWORD (Function) Datatype convertion
Inputs: IN (DATE_AND_TIME)
Output type: DINT
DT_TO_LREAL (Function) See DT_TO_DINT
Inputs: IN (DATE_AND_TIME)
Output type: LREAL
DT_TO_REAL (Function) See DT_TO_DINT
Inputs: IN (DATE_AND_TIME)
Output type: REAL
DT_TO_STRING (Function) Datatype convertion
Inputs: IN (DATE_AND_TIME)
Output type: STRING
DT_TO_TOD (Function) Extracts the TIME_OF_DAY part from a DATETIME
Inputs: IN (DATE_AND_TIME)
Output type: TIME_OF_DAY
DT_TO_UDINT (Function) Datatype convertion
Inputs: IN (DATE_AND_TIME)
Output type: DINT
DWORD_BCD_TO_UDINT (Function) Converts a integer encoded in BDC format to a native integer
Inputs: IN (DWORD)
Output type: UDINT
See also generic alias: BCD_TO_INT
DWORD_TO_DATE (Function) Datatype convertion
Inputs: IN (DINT)
Output type: DATE
DWORD_TO_DT (Function) Datatype convertion
Inputs: IN (DINT)
Output type: DATE_AND_TIME
DWORD_TO_TIME (Function) Datatype convertion
Inputs: IN (DINT)
Output type: TIME
DWORD_TO_TOD (Function) Datatype convertion
Inputs: IN (DINT)
Output type: TIME_OF_DAY
INT_TO_BCD (Function) Convert from integer to BCD representation
Inputs: IN (?)
Output type: ?
This function is generic?, concrete variants: USINT_TO_BCD_BYTE UINT_TO_BCD_WORD UDINT_TO_BCD_DWORD ULINT_TO_BCD_LWORD
LREAL_TO_DATE (Function) See DINT_TO_DATE
Inputs: IN (LREAL)
Output type: DATE
LREAL_TO_DT (Function) See DINT_TO_DT
Inputs: IN (LREAL)
Output type: DATE_AND_TIME
LREAL_TO_TIME (Function) Converts milliseconds to time duration
Inputs: IN (LREAL)
Output type: TIME
LREAL_TO_TOD (Function) Same as TIME_TO_TOD(LREAL_TO_TIME()) (milliseconds)
Inputs: IN (LREAL)
Output type: TIME_OF_DAY
LWORD_BCD_TO_ULINT (Function) Converts a integer encoded in BDC format to a native integer
Inputs: IN (LWORD)
Output type: ULINT
See also generic alias: BCD_TO_INT
MOVE_BYTE (Function) Copies the input value to the output
Inputs: IN (BYTE)
Output type: BYTE
See also generic alias: MOVE
MOVE_DINT (Function) Copies the input value to the output
Inputs: IN (DINT)
Output type: DINT
See also generic alias: MOVE
MOVE_INT (Function) Copies the input value to the output
Inputs: IN (INT)
Output type: INT
See also generic alias: MOVE
MOVE_LINT (Function) Copies the input value to the output
Inputs: IN (LINT)
Output type: LINT
See also generic alias: MOVE
MOVE_SINT (Function) Copies the input value to the output
Inputs: IN (SINT)
Output type: SINT
See also generic alias: MOVE
MOVE_UDINT (Function) Copies the input value to the output
Inputs: IN (UDINT)
Output type: UDINT
See also generic alias: MOVE
MOVE_UINT (Function) Copies the input value to the output
Inputs: IN (UINT)
Output type: UINT
See also generic alias: MOVE
MOVE_ULINT (Function) Copies the input value to the output
Inputs: IN (ULINT)
Output type: ULINT
See also generic alias: MOVE
MOVE_USINT (Function) Copies the input value to the output
Inputs: IN (USINT)
Output type: USINT
See also generic alias: MOVE
REAL_TO_DATE (Function) See DINT_TO_DATE
Inputs: IN (REAL)
Output type: DATE
REAL_TO_DT (Function) See DINT_TO_DT
Inputs: IN (REAL)
Output type: DATE_AND_TIME
REAL_TO_TIME (Function) Converts milliseconds to time duration
Inputs: IN (REAL)
Output type: TIME
REAL_TO_TOD (Function) Same as TIME_TO_TOD(REAL_TO_TIME()) (milliseconds)
Inputs: IN (REAL)
Output type: TIME_OF_DAY
TIME_TO_DINT (Function) Converts a duration to milliseconds
Inputs: IN (TIME)
Output type: DINT
TIME_TO_DWORD (Function) Datatype convertion
Inputs: IN (TIME)
Output type: DINT
TIME_TO_LREAL (Function) Converts a duration to milliseconds
Inputs: IN (TIME)
Output type: LREAL
TIME_TO_REAL (Function) Converts a duration to milliseconds
Inputs: IN (TIME)
Output type: REAL
TIME_TO_STRING (Function) Datatype convertion
Inputs: IN (TIME)
Output type: STRING
TIME_TO_TOD (Function) Constructs TIME_OF_DAY with TIME since midnight
Inputs: IN (TIME)
Output type: TIME_OF_DAY
TIME_TO_UDINT (Function) Datatype convertion
Inputs: IN (TIME)
Output type: DINT
TOD_TO_DINT (Function) Same as TIME_TO_DINT(TOD_TO_TIME()) (milliseconds)
Inputs: IN (TIME_OF_DAY)
Output type: DINT
TOD_TO_DWORD (Function) Datatype convertion
Inputs: IN (TIME_OF_DAY)
Output type: DINT
TOD_TO_LREAL (Function) Same as TIME_TO_REAL(TOD_TO_TIME()) (milliseconds)
Inputs: IN (TIME_OF_DAY)
Output type: LREAL
TOD_TO_REAL (Function) Same as TIME_TO_LREAL(TOD_TO_TIME()) (milliseconds)
Inputs: IN (TIME_OF_DAY)
Output type: REAL
TOD_TO_STRING (Function) Datatype convertion
Inputs: IN (TIME_OF_DAY)
Output type: STRING
TOD_TO_TIME (Function) Converts TIME_OF_DAY to TIME since midnight
Inputs: IN (TIME_OF_DAY)
Output type: TIME
TOD_TO_UDINT (Function) Datatype convertion
Inputs: IN (TIME_OF_DAY)
Output type: DINT
TRUNC (Function) Real to integer truncation toward zero
Inputs: IN (?)
Output type: ?
This function is generic?, concrete variants: TRUNC_INT TRUNC_DINT TRUNC_LINT
TRUNC_DINT (Function) Real to integer truncation toward zero
Inputs: IN (REAL)
Output type: DINT
See also generic alias: TRUNC
TRUNC_INT (Function) Real to integer truncation toward zero
Inputs: IN (REAL)
Output type: INT
See also generic alias: TRUNC
TRUNC_LINT (Function) Real to integer truncation toward zero
Inputs: IN (LREAL)
Output type: LINT
See also generic alias: TRUNC
UDINT_TO_BCD_DWORD (Function) Convert from integer to BCD representation
Inputs: IN (UDINT)
Output type: DWORD
See also generic alias: INT_TO_BCD
UDINT_TO_DATE (Function) Datatype convertion
Inputs: IN (DINT)
Output type: DATE
UDINT_TO_DT (Function) Datatype convertion
Inputs: IN (DINT)
Output type: DATE_AND_TIME
UDINT_TO_TIME (Function) Datatype convertion
Inputs: IN (DINT)
Output type: TIME
UDINT_TO_TOD (Function) Datatype convertion
Inputs: IN (DINT)
Output type: TIME_OF_DAY
UINT_TO_BCD_WORD (Function) Convert from integer to BCD representation
Inputs: IN (UINT)
Output type: WORD
See also generic alias: INT_TO_BCD
ULINT_TO_BCD_LWORD (Function) Convert from integer to BCD representation
Inputs: IN (ULINT)
Output type: LWORD
See also generic alias: INT_TO_BCD
USINT_TO_BCD_BYTE (Function) Convert from integer to BCD representation
Inputs: IN (USINT)
Output type: BYTE
See also generic alias: INT_TO_BCD
WORD_BCD_TO_UINT (Function) Converts a integer encoded in BDC format to a native integer
Inputs: IN (WORD)
Output type: UINT
See also generic alias: BCD_TO_INT