![Satec Expertmeter PM180 Reference Manual Download Page 7](http://html.mh-extra.com/html/satec/expertmeter-pm180/expertmeter-pm180_reference-manual_1200362007.webp)
7
2.3
Built-in functions
Functions are a type of Program Organization Unit. They are small
reusable units that form the fundamental building blocks of complex
industrial control programs. The implementation contains several built-
in functions that are supported by PM180 devices. They are listed in the
table below.
Function
abbreviation
Function name
Inputs
data
type
Outputs
data type
Logical operations
AND
AND
ANY_BIT
ANY_BIT
OR
OR
ANY_BIT
ANY_BIT
NOT
NOT
ANY_BIT
ANY_BIT
GE_THRESHOLD
Greater or equal with threshold
LREAL
BOOL
LE_THRESHOLD
Less or equal with threshold
LREAL
BOOL
GE
Greater or equal
ANY
BOOL
EQ
Equal
ANY
BOOL
LE
Less or equal
ANY
BOOL
Time delays
TON
Timer ON
BOOL,
Time
BOOL
TOF
Timer OFF
BOOL,
Time
BOOL
2.3.1
AND
AND function returns result of all inputs using logical conjunction.
Number of inputs is not limited.
AND function is shown in the figure below.
Figure 1 - AND
2.3.2
OR
OR function returns result of all inputs using logical disjunction. Number
of inputs is not limited.
OR function is shown in the figure below.
Figure 2 - OR
2.3.3
NOT
NOT function returns result of one input using logical inversion.
NOT function is shown in the figure below.