Function blocks: A–Z index

All function blocks by name. The name is the page name of the block (usually the block name in the IDE).

Block Page title Library Group What it is for
ABS ABS Basic Analogue Boxes Math and comparison Returns the absolute value of a number.
ACOS ACOS Basic Analogue Boxes Math and comparison Returns value of the inverse function to cosine function.
ACOSH ACOSH Basic Analogue Boxes Math and comparison Returns value of the inverse function to hyperbolic cosine function.
ADD ADD Basic Analogue Boxes Math and comparison Returns the sum of input number types.
ADD_DT_TIME ADD_DT_TIME Basic Analogue Boxes Timers and time Returns the sum of input values (dates).
ADD_LDT_LTIME ADD_LDT_LTIME Basic Analogue Boxes Timers and time Returns the sum of input values (dates).
ADD_LTOD_LTIME ADD_LTOD_LTIME Basic Analogue Boxes Timers and time Returns the sum of the input values (dates).
ADD_TOD_TIME ADD_TOD_TIME Basic Analogue Boxes Timers and time Returns the sum of the input values (dates).
AdvancedPiController Advanced PI Controller Lib.Mervis Libraries Control (PID, valves) This auxiliary block is used to implement a PI controller with the ability to track a control variable.
AlarmsAggregator Alarm Aggregator (v1.1) Lib.Mervis Libraries Alarms Collects several alarm inputs and evaluates the resulting alarm state (the full version of the Alarm Interface block).
AlarmsClassStatus Alarm Class Status Detection Lib.Mervis Libraries Alarms This block is suitable for detecting whether an alarm of a given class is active on subordinate (= connected to Status ) alarm blocks.
AlarmsCoupler4 Alarm Coupler (4 Inputs) Lib.Mervis Libraries Alarms This block is used to combine the outputs from up to four alarm extender blocks.
AlarmsCoupler8 Alarm Coupler (8 Inputs) Lib.Mervis Libraries Alarms This block is used to combine the outputs from up to eight alarm extender blocks.
AlarmsExtender1 Alarm Extender (1 Input) Lib.Mervis Libraries Alarms Extends an alarm block by 1 additional alarm input (passed on via AlarmsStatus).
AlarmsExtender16 Alarm Extender (16 Inputs) Lib.Mervis Libraries Alarms Extends an alarm block by 16 additional alarm inputs (passed on via AlarmsStatus).
AlarmsExtender4 Alarm Extender (4 Inputs) Lib.Mervis Libraries Alarms Extends an alarm block by 4 additional alarm inputs (passed on via AlarmsStatus).
AlarmsExtender8 Alarm Extender (8 Inputs) Lib.Mervis Libraries Alarms Extends an alarm block by 8 additional alarm inputs (passed on via AlarmsStatus).
AlarmsInterface Alarm Interface Lib.Mervis Libraries Alarms The block is a simplified version of the Alarms Aggregator, with the alarm inputs removed.
alarmspriorities Alarm Priorities in Lib.Mervis Lib.Mervis Libraries Alarms If the priority is odd , it will automatically reset after it ceases.
AnalogToDiscrete Analog to Discrete Value Conversion Lib.Mervis Libraries Signal processing, switches, selection A block used for converting continuous values (e.g., voltage or resistance) that encode binary values based on their magnitude.
AND AND Basic Digital Boxes Logic and latches Logical “AND” of two or more inputs.
ASIN ASIN Basic Analogue Boxes Math and comparison Returns value of the inverse function to sine function.
ASINH ASINH Basic Analogue Boxes Math and comparison Returns value of the inverse function to hyperbolic sine function.
ATAN ATAN Basic Analogue Boxes Math and comparison Returns value of the inverse function to tangent function.
ATANH ATANH Basic Analogue Boxes Math and comparison Returns value of the inverse function to hyperbolic tangent function.
AVG AVG Basic Analogue Boxes Math and comparison Returns the arithmetic average of all input values.
Block Page title Library Group What it is for
b100_time_conversion Time conversion Basic Analogue Boxes Timers and time The block is used for conversions of time and date values to the required formats.
b105_analogmemory Analogue (real) memory Basic Analogue Boxes Signal processing, switches, selection The block is a register of up to 16 real values.
b106_integermemory Integer (lint) memory Basic Analogue Boxes Signal processing, switches, selection The block is a register of up to 16 long integer (lint) values.
b107_analogueincrementalcounter Analogue incremental counter Basic Analogue Boxes Signal processing, switches, selection The block processes input value coming from a pulse counter.
b10_analogue_demultiplexer Analogue demultiplexer Basic Analogue Boxes Signal processing, switches, selection The block implements a demultiplexer for REAL variables.
b110_shift_register Shift register Basic Analogue Boxes Signal processing, switches, selection Shift register containing up to 24 analogue values.
b111_integer_shift_register Integer shift register Basic Analogue Boxes Signal processing, switches, selection Shift register containing up to 24 integer values.
b113_integrator Integrator Basic Analogue Boxes Signal processing, switches, selection The block integrates the input signal in in time.
b12_integer_demultiplexer Integer demultiplexer Basic Analogue Boxes Signal processing, switches, selection The block is a demultiplexer for INT variables.
b30_on_off_control_sequence On/Off controller - cooling Basic Analogue Boxes Control (PID, valves) The block is an On/Off controller, parametrable according to CONTROLLERTYPE, bandwidth Xp, and offset OFF.
b31_reverse_on_off_control_sequence On/Off controller - heating Basic Analogue Boxes Control (PID, valves) The block is an On/Off controller, parametrable according to CONTROLLERTYPE, bandwidth Xp, and offset OFF.
b32_p_controller P controller - Cooling Basic Analogue Boxes Control (PID, valves) The block is an implementation of a P controller (with parameters: P-band, Offset, Min and Max values, and output value of an inactive controller).
b33_reverse_p_controller P controller - Heating Basic Analogue Boxes Control (PID, valves) The block is an implementation of a P controller (with parameters: P-band, Offset, Min and Max values, and output value of an inactive controller).
b34_pi_controller PI controller - Cooling Basic Analogue Boxes Control (PID, valves) The block is an implementation of a PI controller (with parameters: P-band, Integration constant, Offset, Min and Max values, and output value of an inactive controller).
b35_reverse_pi_controller PI Controller - Heating Basic Analogue Boxes Control (PID, valves) The block is an implementation of a PI controller (with parameters: P-band, Integration constant, Offset, Min and Max values, and output value of an inactive controller).
b36_pid_controller PID controller Basic Analogue Boxes Control (PID, valves) The block is an implementation of a PID controller (with parameters: P-band, Integration constant, Derivative constant, Offset, Min and Max values, and output value of an inactive controller).
b37_reverse_pid_controller PID controller - heating Basic Analogue Boxes Control (PID, valves) The block is an implementation of a PID controller (with parameters: P-band, Integration constant, Derivative constant, Offset, Min and Max values, and output value of an inactive controller).
b3_sinus_generator Sine wave generator Basic Analogue Boxes Signal processing, switches, selection The block generates a sine signal at which period, and minimum and maximum values can be set.
b48_smart_average Smart Average Basic Analogue Boxes Math and comparison This block is an extension of the AVG block.
b4_saw_generator Saw signal generator Basic Analogue Boxes Signal processing, switches, selection The block is a saw signal generator with minimum and maximum value setting, minimum and maximum value time duration setting, and ramp time setting.
b80_twopointfunction Two-point function Basic Analogue Boxes Control (PID, valves) Linear function, recalculation of input value to output value defined by two points.
b81_fourpointfunctionnode Four-point function Basic Analogue Boxes Control (PID, valves) Block defines an arbitrary transfer curve given by four points.
b82_limits Limits Basic Analogue Boxes Control (PID, valves) The block is limitating the input signal by upper and lower bounds.
b83_linearinterpolation Linear interpolation Basic Analogue Boxes Control (PID, valves) The block converts the input signal to the output using interpolation curve consisting of 10 segments.
b84_slew_rate_limit Ramp with a constant slope Basic Analogue Boxes Timers and time The block prevents the signal from rapid changes, the maximum slew rate is defined by the tup and tdown times which define the time for the signal to change from 0 to 100 and back.
b85_variableslewratelimit Ramp with a constant time of change Basic Analogue Boxes Timers and time The block prevents the signal from rapid changes.
b86_filter Filter Basic Analogue Boxes Timers and time The block is an analogue filter of the input signal in time.
b87_pulse_width_modulation Pulse width modulation signal Basic Analogue Boxes Timers and time The block generates PWM (pulse width modulation) signal with variable duty time according to the input signal.
b97_time_date_to_total_seconds Conversion of Time/Date to seconds Basic Analogue Boxes Timers and time The block converts time and date to total seconds (starting at 1.1.1970, 0:00).
b98_total_seconds_to_time_date Conversion of Seconds to Time/Date Basic Analogue Boxes Timers and time The block converts the total seconds starting at 1.1.1970, 0:00, to seconds, minutes, hours etc.
b99_pctimenode PC (PLC) Time Basic Analogue Boxes Timers and time The block returns UTC or local time, together with iother time units.
BCD_TO_UDINT BCD_TO_UDINT Basic Analogue Boxes Type conversion and composition Function converts a bit array (ANY_BIT) to an integer type.
BCD_TO_UINT BCD_TO_UINT Basic Analogue Boxes Type conversion and composition Function converts a bit array (ANY_BIT) to an integer type.
BCD_TO_ULINT BCD_TO_ULINT Basic Analogue Boxes Type conversion and composition Function converts a bit array (ANY_BIT) to an integer type.
BCD_TO_USINT BCD_TO_USINT Basic Analogue Boxes Type conversion and composition Function converts a bit array (ANY_BIT) to an integer type.
bd11_digital_demultiplexer Digital demultiplexer Basic Digital Boxes Signal processing, switches, selection The block is a logical values demultiplexer.
bd12_switchondelay Switch-on delay Basic Digital Boxes Timers and time The delay block transforms the input signal IN so that each rising edge is delayed by TON .
bd13_switchoffdelay Switch-off delay Basic Digital Boxes Timers and time The delay block transforms the input signal IN so that each falling edge is delayed by TOFF .
bd14_switchonoffdelay Switch-on/off delay Basic Digital Boxes Timers and time The delay block transforms the input signal IN so that each rising edge longer than TON is delayed by TON and each falling edge longer than TOFF is delayed by TOFF .
bd15_digital_filter Digital filter Basic Digital Boxes Timers and time The block copies the input IN to the output OUT with a functionality that the OUT value changes not more frequently than every T seconds.
bd18_bit_composition Bit composition Basic Analogue Boxes Type conversion and composition Function brings bits together to create an integer value.
bd18_bit_composition_8bit Bit composition, 8 bits Basic Analogue Boxes Type conversion and composition The function brings 8 bits together to create an integer value.
bd19_bit_decomposition Bit decomposition Basic Analogue Boxes Type conversion and composition The function decomposes an integer value to bits (which are formed in an array).
bd19_bit_decomposition_8bit Bit decomposition, 8 bits Basic Analogue Boxes Type conversion and composition The function decomposes an integer value to 8 bits (which are formed in an array).
bd2_pulse_generator Pulse generator Basic Digital Boxes Signal processing, switches, selection The block is a binary pulses generator with settable true and false time for testing purposes.
bd30_counter Counter Basic Digital Boxes Counters The block is a pulse counter.
bd49_singlealarmmemory Single alarm memory Basic Digital Boxes Logic and latches This block is dedicated to deal with alarm states.
bd50_alarm_memory Alarm memory Basic Digital Boxes Logic and latches The block is an alarm memory, with up to 16 alarms.
bd51_boolean_memory Boolean memory Basic Digital Boxes Logic and latches The block is a single-cycle signal delay block, or a boolean signal memory cell.
bd52_flipflop Flip-flop Basic Digital Boxes Logic and latches The block controls its output value based on inputs, which read rising or falling edge, and thus set or reset the output.
bd53_latchflipflopnode Latch flip-flop Basic Digital Boxes Logic and latches The block is a gate for logical signals.
bd54_int_decomposition Integer decomposition Basic Analogue Boxes Type conversion and composition The block decomposes the input data to up to four (integer) values composed from defined range of bits.
bd55_int_composition Integer Composition Basic Analogue Boxes Type conversion and composition The block composes the output value from up to 4 binary input vectors with defined positioning within the output vector.
bd56_singlealarmmemorydelay Single alarm memory with delay (v1.1) Basic Digital Boxes Logic and latches The block is an alarm memory which responds after a time delay only.
bd57_alarmmemoryext Extended alarm memory Basic Digital Boxes Logic and latches The block is an alarm memory with up to 16 alarm inputs.
bool4_to_alrtrig Alarm Trigger for Boolean Variables (4 Inputs) Lib.Mervis Libraries Alarms Auxiliary block used for generating alarms for up to four boolean variables.
bool8_to_alrtrig Alarm Trigger for Boolean Variables (8 Inputs) Lib.Mervis Libraries Alarms Auxiliary block used for generating alarms for up to eight boolean variables.
bool_to_alrtrig Alarm Trigger for Boolean Variables Lib.Mervis Libraries Alarms Auxiliary block used for generating an alarm from a boolean variable.
BYTES_TO_STRING BYTES_TO_STRING Basic String Boxes Strings Function converts an array of numbers representing ASCII characters to an ASCII string.
Block Page title Library Group What it is for
CascadeController Cascade Controller (v1.2) Lib.Mervis Libraries Heating, HVAC and heat sources Block used for controlling devices connected in a cascade, it is an extension of the previous version.
CascadeControllerSwitcher Cascade Controller Switcher (v1.1) Lib.Mervis Libraries Heating, HVAC and heat sources Auxiliary block used to enable the use of a combination of one modulated source and several non-regulatable sources with a cascade controller.
CEIL CEIL Basic Analogue Boxes Math and comparison Returns value of the lowest whole number which is not lower than the input value.
checkproductfeaturelicense Licensed Feature Check System Function System functions The ''CheckProductFeatureLicense'' function can be used at runtime to determine whether the active license contains a specific key/flag.
closeport Port closing Communications Communication and messaging The function closes communication at the given port.
COMPOSEDATETIME COMPOSEDATETIME Basic Analogue Boxes Timers and time Returns value of DATETIME type, corresponding to combination of input time values entered as integers.
CONCAT CONCAT Basic String Boxes Strings Function links all input strings to a single output string.
CONCAT_DATE_TOD CONCAT_DATE_TOD Basic Analogue Boxes Timers and time Links together the input date and time of day values to a single datetime value.
converttolocaltime Convert to local time Basic Analogue Boxes Timers and time The block converts UTC date and time to local date and time, using the time zone settings.
converttoutctime Convert to UTC time Basic Analogue Boxes Timers and time The block converts local time and date (according to time zone) to UTC.
COS COS Basic Analogue Boxes Math and comparison Returns value of cosine function for a particular angle.
COSH COSH Basic Analogue Boxes Math and comparison Returns value of hyperbolic cosine function for a particular angle.
CTD CTD Basic Digital Boxes Counters The block acts as a counter counting down to zero from the preset value pv .
CTD_DINT CTD_DINT Basic Digital Boxes Counters The block acts as a counter counting down to zero from the preset value pv .
CTD_LINT CTD_LINT Basic Digital Boxes Counters The block acts as a counter counting down to zero from the preset value pv .
CTD_UDINT CTD_UDINT Basic Digital Boxes Counters The block acts as a counter counting down to zero from the preset value pv .
CTD_ULINT CTD_ULINT Basic Digital Boxes Counters The block acts as a counter counting down to zero from the preset value pv .
CTU CTU Basic Digital Boxes Counters The block acts as a counter counting up from zero to the preset value pv .
CTU_DINT CTU_DINT Basic Digital Boxes Counters The block acts as a counter counting up from zero to the preset value pv .
CTU_LINT CTU_LINT Basic Digital Boxes Counters The block acts as a counter counting up from zero to the preset value pv .
CTU_UDINT CTU_UDINT Basic Digital Boxes Counters The block acts as a counter counting up from zero to the preset value pv .
CTU_ULINT CTU_ULINT Basic Digital Boxes Counters The block acts as a counter counting up from zero to the preset value pv .
CTUD CTUD Basic Digital Boxes Counters The block is an up and down counter.
CTUD_DINT CTUD_DINT Basic Digital Boxes Counters The block is an up and down counter.
ctud_lint ctud_lint Basic Digital Boxes Counters The block is an up and down counter.
CTUD_UDINT CTUD_UDINT Basic Digital Boxes Counters The block is an up and down counter.
CTUD_ULINT CTUD_ULINT Basic Digital Boxes Counters The block is an up and down counter.
Block Page title Library Group What it is for
DATE_TO_DT DATE_TO_DT Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a absolute time.
DATE_TO_LDATE DATE_TO_LDATE Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a date.
DATE_TO_LDT DATE_TO_LDT Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a absolute time.
DATE_TO_LTOD DATE_TO_LTOD Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a time in a day.
DATE_TO_TOD DATE_TO_TOD Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a time in a day.
DateTimeTransformation I/O Transformation for Time Conversion Lib.Mervis Libraries Signal processing, switches, selection Lib.Mervis.v1_0.DateTimeTransformation
DateTimeTransformationInt I/O Transformation for Time Conversion (Int) Lib.Mervis Libraries Signal processing, switches, selection Lib.Mervis.v1_0.DateTimeTransformationInt
DATETOTALDAYS DATETOTALDAYS Basic Analogue Boxes Timers and time Returns number of days since the beginning of our era (since 1.1.
DATETOTALHOURS DATETOTALHOURS Basic Analogue Boxes Timers and time Returns number of hours since the beginning of our era (since 1.1.
DATETOTALMILLISECONDS DATETOTALMILLISECONDS Basic Analogue Boxes Timers and time Returns number of miliseconds since the beginning of our era (since 1.1.
DATETOTALMINUTES DATETOTALMINUTES Basic Analogue Boxes Timers and time Returns number of minutes since the beginning of our era (since 1.1.
DATETOTALSECONDS DATETOTALSECONDS Basic Analogue Boxes Timers and time Returns number of seconds since the beginning of our era (since 1.1.
DeadZone Dead Zone Lib.Mervis Libraries Signal processing, switches, selection The block is used to implement a dead zone.
DECOMPOSEDATE DECOMPOSEDATE Basic Analogue Boxes Timers and time Converts a DATETIME variable to individual date components as integer values.
DECOMPOSETIME DECOMPOSETIME Basic Analogue Boxes Timers and time Converts a DATETIME variable to individual time components as integer values.
DELETE DELETE Basic String Boxes Strings The DELETE function removes part of the input string.
directswitch-force Force Direct Switch Lib.Unipi Library Hardware-specific (Unipi, Jablotron) This block allows overriding DirectSwitch behaviour with a specific value.
DIV DIV Basic Analogue Boxes Math and comparison Returns the division of input values, IN1/IN2.
DIVTIME DIVTIME Basic Analogue Boxes Timers and time Returns value of input time divided by the IN2 value.
ds18b20-filter DS18b20 Filter Lib.Unipi Library Hardware-specific (Unipi, Jablotron) This block ensures valid value of temperature.
DT_TO_DATE DT_TO_DATE Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a date.
DT_TO_LDT DT_TO_LDT Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a absolute time.
DT_TO_LTOD DT_TO_LTOD Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a time in a day.
DT_TO_TOD DT_TO_TOD Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a time in a day.
Block Page title Library Group What it is for
EdgeCoupler Edge Coupler Block for Rising Edge Detection Lib.Mervis Libraries Signal processing, switches, selection A helper block used for detecting a rising edge coming from multiple sources.
EQ EQ Basic Analogue Boxes Math and comparison Function compares two or more inputs.
EquithermalCurve Equithermal Curve (v1.0) Lib.Mervis Libraries Heating, HVAC and heat sources Block for calculating the heating medium temperature according to the equithermal curve.
EquithermalCurve4Point Equithermal Curve - Using Four Points Lib.Mervis Libraries Heating, HVAC and heat sources A block for calculating the heating medium temperature according to an equithermal curve defined by four points.
EXP EXP Basic Analogue Boxes Math and comparison Returns the exponential function value.
EXP10 EXP10 Basic Analogue Boxes Math and comparison Returns the exponential function value with base of 10, i.e.
EXP2 EXP2 Basic Analogue Boxes Math and comparison Returns the exponential function value with base of 2, i.e.
EXPT EXPT Basic Analogue Boxes Math and comparison Returns the exponential function value with base of T, i.e.
Block Page title Library Group What it is for
F_TRIG F_TRIG Basic Digital Boxes Logic and latches The block detects a falling edge and generates a pulse on the output with duration of one cycle.
Find Find Basic String Boxes Strings Find the characterposition of the beginning of the first occurence of IN2 in IN1.
FLOOR FLOOR Basic Analogue Boxes Math and comparison Returns the largest whole number which is not greater than the input value.
Block Page title Library Group What it is for
GE GE Basic Analogue Boxes Math and comparison Function compares two or more inputs.
GETDELTATIME GETDELTATIME Basic Analogue Boxes Timers and time Returns the time difference since the last processing of the function.
GETDELTATIME4 GETDELTATIME4 Basic Analogue Boxes Timers and time Returns the time difference since the last processing of the function in ms (miliseconds).
getdsttooffset Time shift summer/winter time Basic Analogue Boxes Timers and time The block returns the time difference between standard zone time and zone daylight saving time.
GETEVALTIME GETEVALTIME Basic Analogue Boxes Timers and time Returns the value of total time when the program was active.
GETEVALTIME4 GETEVALTIME4 Basic Analogue Boxes Timers and time Returns the value of total time when the program was active, in ms (miliseconds).
getexceptionerrorcode Get Exception Error Code System Function System functions The function returns number codes of error messages.
GETLOCALTIME GETLOCALTIME Basic Analogue Boxes Timers and time Returns the time of local time zone, inclusive daylight saving shift.
getportstatus Port status Communications Communication and messaging This function gets the communication status of a handle.
getstartupflags Acquiring of starting parameters of the program System Function System functions The function returns value indicating the circumstances of the program start.
gettimezoneoffset Time zone offset Basic Analogue Boxes Timers and time The block returns time zone shift according to the local zone, or time difference between the local time zone and the standard time (UTC).
GETUTCTIME GETUTCTIME Basic Analogue Boxes Timers and time Returns the UTC time value, as provided by the RTC clock of the controller (PLC).
GT GT Basic Analogue Boxes Math and comparison Function compares two or more inputs.
Block Page title Library Group What it is for
helper_multiinbool8 Helper: Multi In Bool 8 Basic Analogue Boxes Control (PID, valves) The block converts 8 boolean values to an array of bools.
helper_multiinlint Helper: Multi In Lint Basic Analogue Boxes Control (PID, valves) The block converts 16 lint (Long Integer) values to an array of lint values.
helper_multiinreal Helper: Multi In Real Basic Analogue Boxes Control (PID, valves) The block converts 16 real values to an array of real values.
helper_multioutbool Helper: Multi Out Bool Basic Analogue Boxes Control (PID, valves) The block converts a Bool array to 16 Bool values.
helper_multioutbool8 Helper: Multi Out Bool 8 Basic Analogue Boxes Control (PID, valves) The block converts an array of bools to 8 boolean values.
helper_multioutlint Helper: Multi Out Lint Basic Analogue Boxes Control (PID, valves) The block converts a lint array to 16 individual lint values.
helper_multioutreal Helper: Multi Out Real Basic Analogue Boxes Control (PID, valves) The block converts an array of real to 16 real values.
Hysteresis Comparison with Hysteresis Lib.Mervis Libraries Signal processing, switches, selection A helper block used for comparing two values with hysteresis between transitions.
Block Page title Library Group What it is for
IncrementalCounter Counter with Overflow Protection Lib.Mervis Libraries Counters A helper block used for handling counter inputs that are at risk of overflow.
INSERT INSERT Basic String Boxes Strings Function merges two strings, the second string can be inserted into the first string.
InvertedDeadZone Inverted Dead Zone Lib.Mervis Libraries Signal processing, switches, selection The block is used to eliminate the dead zone of actuators by creating its inversion.
ISINFINITY ISINFINITY Basic Analogue Boxes Math and comparison Compares the input variable value with infinity.
ISNAN ISNAN Basic Analogue Boxes Math and comparison Compares the input variable value with NaN (Not-A-Number, i.e.
ISNEGATIVEINFINITY ISNEGATIVEINFINITY Basic Analogue Boxes Math and comparison Compares the input variable value with negative infinity.
ISPOSITIVEINFINITY ISPOSITIVEINFINITY Basic Analogue Boxes Math and comparison Compares the input variable value with positive infinity.
Block Page title Library Group What it is for
LDATE_TO_DATE LDATE_TO_DATE Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a date.
LDATE_TO_DT LDATE_TO_DT Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a absolute time.
LDT_TO_DATE LDT_TO_DATE Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a date.
LDT_TO_DT LDT_TO_DT Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a absolute time.
LDT_TO_LDATE LDT_TO_LDATE Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a date.
LDT_TO_TOD LDT_TO_TOD Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a time in a day.
LE LE Basic Analogue Boxes Math and comparison Function compares two or more inputs.
LEFT LEFT Basic String Boxes Strings Function returns part of the string.
LEN LEN Basic String Boxes Strings Function returns length of a string.
LIMIT LIMIT Basic Analogue Boxes Control (PID, valves) Limits the output value in the ranges from MN (minimum) to MX (maximum).
LinearWithShift I/O Transformation with Linear Shift Lib.Mervis Libraries Signal processing, switches, selection Lib.Mervis.v1_0.LinearWithShift
LinearWithShiftByTwoPoints I/O Transformation with Linear Shift Defined by Two Points Lib.Mervis Libraries Signal processing, switches, selection Lib.Mervis.v1_0.LinearWithShiftByTwoPoints
LINT_TO_STRING LINT_TO_STRING Basic String Boxes Strings Function converts the input numerical value to a string.
LN LN Basic Analogue Boxes Math and comparison Returns the natural logarithm value.
LOG LOG Basic Analogue Boxes Math and comparison Returns the decadic logarithm value.
LREAL_TO_STRING LREAL_TO_STRING Basic String Boxes Strings Function converts the input value on value to a string.
LT LT Basic Analogue Boxes Math and comparison Function compares two or more inputs.
LTIME_TO_TIME LTIME_TO_TIME Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a time period duration.
LTOD_TO_DT LTOD_TO_DT Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a time in a day.
LTOD_TO_LDT LTOD_TO_LDT Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a time in a day.
LTOD_TO_TOD LTOD_TO_TOD Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a time in a day.
Block Page title Library Group What it is for
MAX MAX Basic Analogue Boxes Math and comparison Returns the maximum value from all the inputs.
MessageSender Bulk Message Sender (8 inputs) Lib.Mervis Libraries Communication and messaging ===== Usage in ST =====
MID MID Basic String Boxes Strings The function returns part of the string.
MIN MIN Basic Analogue Boxes Math and comparison Returns the minimum value from all the inputs.
MOD MOD Basic Analogue Boxes Math and comparison Returns the remainder after division of the input values.
ModulatedBoiler Modulated Boiler (v1.5) Lib.Mervis Libraries Heating, HVAC and heat sources Block used for controlling the performance of a boiler with a modulated burner and a circulation pump.
ModulatedSource Modulated Source (v2.0) Lib.Mervis Libraries Heating, HVAC and heat sources Block used for controlling the performance of a source (primarily a boiler with a modulated burner and a circulation pump).
ModulatedStage Modulated Stage (v1.0) Lib.Mervis Libraries Heating, HVAC and heat sources Block used for controlling the performance of a general modulated source.
monostableflipflop Monostable Flip-Flop Basic Digital Boxes Timers and time Function outputs a true pulse with length of delay on a rising edge at the in input.
monostableflipflopnonrst Monostable Flip-Flop Non Reset Basic Digital Boxes Timers and time Function outputs a true pulse with length of delay on a rising edge at the in input.
MUL MUL Basic Analogue Boxes Math and comparison Returns the product of multiplication of all inputs.
MULTIME MULTIME Basic Analogue Boxes Timers and time Returns the input time multiplied by IN2.
mutexlock Mutex Lock System Function System functions The MutexLock function locks the communication lock (for SSCP server, Modbus server, LCD, …).
mutexunlock Mutex Unlock System Function System functions The MutexUnlock function unlocks the communication lock (for SSCP server, Modbus server, LCD, …).
MUX MUX Basic Analogue Boxes Signal processing, switches, selection The function multiplexes the input signals to a single output.
Block Page title Library Group What it is for
NE NE Basic Analogue Boxes Math and comparison Function compares two or more inputs.
NEG NEG Basic Digital Boxes Logic and latches The function negates the input.
NOT NOT Basic Digital Boxes Logic and latches The function negates the input.
Block Page title Library Group What it is for
OneStageBoiler One-stage Boiler (v1.1) Lib.Mervis Libraries Heating, HVAC and heat sources Block used for controlling the performance of a boiler with a single-stage burner and a circulation pump.
openport Port opening Communications Communication and messaging Function opens a port communication according to the entered data.
OR OR Basic Digital Boxes Logic and latches The function performs a logical OR of two or more inputs.
OutsideTemperature Outside Temperature (v1.2) Lib.Mervis Libraries Heating, HVAC and heat sources Block used for processing outside temperature, calculating average daily temperatures, and blocking heating.
Block Page title Library Group What it is for
R_TRIG R_TRIG Basic Digital Boxes Logic and latches The block sends a pulse with duration of one cycle on the input signal's rising edge.
RAND RAND Basic Analogue Boxes Signal processing, switches, selection Returns a random value from the interval 0 to 1.
readport Reading data from a port Communications Communication and messaging Function readport reads data from a given communication port.
real_to_alrtrig Alarm Trigger for Real Variables (v1.1) Lib.Mervis Libraries Alarms Auxiliary block used for generating an alarm from a real variable.
receivesms Receive SMS Communications Communication and messaging The function asks the connected modems for received SMS messages in each PLC computing cycle.
receivesms-fbd Receiving SMS by FUPLA Lib.Unipi Library Hardware-specific (Unipi, Jablotron) With a rising edge on the “ReadSMS” input, the function block will query the last received SMS message.
REPLACE REPLACE Basic String Boxes Strings The REPLACE function replaces part of the input string in1 by another string, in2.
ResetBlock Reset Block (v1.0) Lib.Mervis Libraries Signal processing, switches, selection, Alarms A block used to generate reset pulses based on input from I/O or HMI.
ResetBlockWithAck Reset Block with Acknowledgement Lib.Mervis Libraries Signal processing, switches, selection, Alarms A block used to generate reset and acknowledgement pulses based on input from I/O or HMI.
resumenormaltasks Resume Normal Task System Function System functions The function reruns frozen tasks.
ReturnTempController Return Temperature Controller for Boiler Blocks (v2.0) Lib.Mervis Libraries Heating, HVAC and heat sources Auxiliary block for boilers used for controlling the return water temperature.
RIGHT RIGHT Basic String Boxes Strings Function returns part of the input string.
ROL ROL Basic Digital Boxes Logic and latches The function rotates the input vector to the left.
ROR ROR Basic Digital Boxes Logic and latches The function rotates the input vector to the right.
RS RS Basic Digital Boxes Logic and latches Classical RS Flip-Flop circuit.
Block Page title Library Group What it is for
SafeInput Input with Range Monitoring (v1.3) Lib.Mervis Libraries Signal processing, switches, selection The auxiliary block is used for monitoring the range of the input variable, filtering it, and potentially switching to a backup value.
SafeInputWithTransform Input with Range Monitoring and Value Transformation (v1.2) Lib.Mervis Libraries Signal processing, switches, selection The auxiliary block is used for monitoring the range of the input variable, filtering it, and potentially switching to a backup value.
ScadaAnimation State Animation for SCADA Lib.Mervis Libraries HMI helpers An auxiliary block used for generating state numbers for the animation of operation and alarm for SCADA.
ScadaAnimation2 State Animation for SCADA #2 Lib.Mervis Libraries HMI helpers An auxiliary block used for generating state numbers for the animation of operation and alarm for SCADA.
SectionFlags SectionFlags Lib.Jablotron Hardware-specific (Unipi, Jablotron) The block divides the Flags input value into individual bits.
SectionFlagsHolder SectionFlagsHolder Lib.Jablotron Hardware-specific (Unipi, Jablotron) A variant of SectionFlags with enhanced functionality.
SEL SEL Basic Analogue Boxes Signal processing, switches, selection Switch between two input signals, controlled by the binary input G.
sendmail Send mail - ST Communications Communication and messaging The function sends an e-mail in each PLC computing cycle.
sendmailcustom Sending e-mails – ST – from more accounts Communications Communication and messaging The function sends an e-mail in each PLC computing cycle.
sendmailtrig Send e-mail - FUPLA Communications Communication and messaging The function sends an e-mail at each transition of the control variable send from FALSE to TRUE.
sendsms Sending SMS - ST Communications Communication and messaging The function sends a SMS in each PLC computing cycle.
sendsmstrig Send SMS - FUPLA Communications Communication and messaging The function sends a SMS at each transition of the control variable send from FALSE to TRUE.
setsystemtime System time setting System Function System functions The function sets the PLC system time to the requested value.
SHL SHL Basic Digital Boxes Logic and latches The function moves the bit pattern from right to left.
SHR SHR Basic Digital Boxes Logic and latches The function moves the bit pattern from left to right.
SimpleLatch Value Memory - Real Lib.Mervis Libraries Signal processing, switches, selection A helper block used to store a snapshot of a value.
SimplePiControllerWithEn Simple PI Controller with Enable Input (v1.2) Lib.Mervis Libraries Control (PID, valves) This auxiliary block is used to implement a simple PI controller with an Enable input.
SIN SIN Basic Analogue Boxes Math and comparison Returns value of sine function for a particular angle.
SINH SINH Basic Analogue Boxes Math and comparison Returns value of hyperbolic sine function for a particular angle.
SQRT SQRT Basic Analogue Boxes Math and comparison Returns a square root value of the input value.
SR SR Basic Digital Boxes Logic and latches The circuit acts as a classical RS flip-flop circuit.
StartDetector Start Detector Lib.Mervis Libraries Signal processing, switches, selection A helper block used to detect the start of a program.
stopinterfaceentrypoint Controlled stop of runtime System Function System functions The function controls safe termination of a technological process when the runtime is stopped.
STRING_TO_BYTES STRING_TO_BYTES Basic String Boxes Strings The function converts a string to ASCII code values.
SUB SUB Basic Analogue Boxes Math and comparison Subtracts the input variables, OUT = IN1 - IN2.
SUB_DATE_DATE SUB_DATE_DATE Basic Analogue Boxes Timers and time Subtracts the input variables, OUT = IN1 - IN2.
SUB_DT_DT SUB_DT_DT Basic Analogue Boxes Timers and time Subtracts the input variables, OUT = IN1 - IN2.
SUB_DT_TIME SUB_DT_TIME Basic Analogue Boxes Timers and time Subtracts the input variables, OUT = IN1 - IN2.
SUB_TOD_TIME SUB_TOD_TIME Basic Analogue Boxes Timers and time Subtracts the input variables, OUT = IN1 - IN2.
SUB_TOD_TOD SUB_TOD_TOD Basic Analogue Boxes Timers and time Subtracts the input variables, OUT = IN1 - IN2.
SwitcherBlock Switcher Block (v3.2) Lib.Mervis Libraries Signal processing, switches, selection Switcher Block (v3.2)
SwitcherBlockValue Switch Block - Desired Value Switcher Lib.Mervis Libraries Signal processing, switches, selection A helper block used, in combination with a switch block, for switching the desired value.
Block Page title Library Group What it is for
t14_bit_rotation Bit rotation HVAC Heating, HVAC and heat sources Bit rotation shifts and rotates bits in a vector, based on rising or falling edges on the inputs.
t17_boolean_scheduler Time scheduler, bool HVAC Time programs (schedules) Time scheduler is a source of a binary signal which changes according to a weekly schedule with maximum 42 events (changes of state).
t17_boolean_scheduler_base Time scheduler bool, basic HVAC Time programs (schedules) Time scheduler basic is a source of a binary signal which changes according to a weekly schedule with maximum 42 events (changes of state).
t18_real_scheduler Time scheduler, real HVAC Time programs (schedules) Time scheduler is a source of a real variable which value changes according to a weekly schedule with maximum 42 events (changes of state).
t18_real_scheduler_base Time scheduler real, basic HVAC Time programs (schedules) Time scheduler is a source of a real variable which value changes according to a weekly schedule with maximum 42 events (changes of state).
t19_int_scheduler Time scheduler, integer HVAC Time programs (schedules) Time scheduler is a source of an integer variable which value changes according to a weekly schedule with maximum 42 events (changes of state).
t19_int_scheduler_base Time scheduler integer, basic HVAC Time programs (schedules) Time scheduler is a source of an integer variable which value changes according to a weekly schedule with maximum 42 events (changes of state).
t1_equithermalcurve Heating curve HVAC Heating, HVAC and heat sources A heating curve calculates heating water setpoint based on the outside temperature: the lower the outside temperature, the higher the heating water setpoint.
t28_dew_point Dew point calculation HVAC Heating, HVAC and heat sources The function calculates dew point temperature of humid air at standard pressure of 101 325 Pa, based on air temperature and relative humidity.
t29_enthalpy Enthalpy HVAC Heating, HVAC and heat sources The function calculates enthalpy, or energy of humid air, partial water vapour pressure, and absolute humidity from air pressure, temperature and humidity.
t2_three_point_control Three-point control HVAC Heating, HVAC and heat sources The block converts a 0…100 % signal to opening and closing pulses to control a three-point peripherial, such as a valve or damper actuator.
t32_operating_hours Operating hours counter HVAC Heating, HVAC and heat sources The block measures total activity time of a binary input, or cumulated operating time of the connected aggregate (pump, fan, boiler).
t33_min_max_controller Minimum and maximum controller HVAC Heating, HVAC and heat sources The block monitors the measured value and announces exceeding of alarm limits.
t34_e_max Load shedding (E-Max) HVAC Heating, HVAC and heat sources The block controls (shuts off) up to 8 groups of aggregates to keep the energy consumed in a 15 minutes interval below a given limit.
t35_pump_switch Pump switch HVAC Heating, HVAC and heat sources The block switches pumps or other aggregates on a periodical basis, and automatic changeover if one pump fails.
t36_power_meter Power meter HVAC Heating, HVAC and heat sources The block calculates instantaneous power (or any other value, like flow etc.) from a cumulated value which is brought to the input (energy, water volume).
t37_average_power_meter Average power meter HVAC Heating, HVAC and heat sources Calculation of derivation of input signal.
t39_recuperation Heat / Cool recovery HVAC Heating, HVAC and heat sources The block is a decision and control element for heat (or cool) recovery strategy at an air handling unit with mixing dampers or heat recovery plate / wheel.
t40_solarcalculator Solar calculator - Astronomical clock HVAC Heating, HVAC and heat sources The function calculates the position of the Sun for given geographical coordinates and time.
T41_GenericConsumptionMeter Generic Consumption Meter Lib.Mervis Libraries Energy monitoring A counter that allows processing of states for different time intervals.
T42_ElectricityMeter Electricity Meter Lib.Mervis Libraries Energy monitoring Counters for active, inductive, and capacitive components of energy.
t6_three_point_control_feedback Three-point control with feedback HVAC Heating, HVAC and heat sources The block converts a 0…100 % signal to opening and closing pulses to control a three-point peripherial, such as a valve or damper actuator.
t8_three_point_controller Three-point P controller HVAC Heating, HVAC and heat sources The block is a P-controller with a three-point output.
TAN TAN Basic Analogue Boxes Math and comparison Returns value of the tangent function.
TANH TANH Basic Analogue Boxes Math and comparison Returns value of the hyperbolic tangent function.
ThreePointValve Three-point Valve Control (v1.4) Lib.Mervis Libraries Control (PID, valves) The block is used for controlling a three-point valve by generating commands for opening and closing.
ThreeStateBool Three-State Boolean Input Lib.Mervis Libraries Signal processing, switches, selection A helper block used to implement a BOOL input with the ability to indicate that the input is not connected in the software - in this case, it outputs the value of UnconnectedValue .
TIME_TO_LTIME TIME_TO_LTIME Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a time period duration.
TIMETOTALDAYS TIMETOTALDAYS Basic Analogue Boxes Timers and time Returns value corresponding to the number of days for a particular time interval.
TIMETOTALHOURS TIMETOTALHOURS Basic Analogue Boxes Timers and time Returns value corresponding to the number of hours for a particular time interval.
TIMETOTALMILLISECONDS TIMETOTALMILLISECONDS Basic Analogue Boxes Timers and time Returns value corresponding to the number of milliseconds for a particular time interval.
TIMETOTALMINUTES TIMETOTALMINUTES Basic Analogue Boxes Timers and time Returns value corresponding to the number of minutes for a particular time interval.
TIMETOTALSECONDS TIMETOTALSECONDS Basic Analogue Boxes Timers and time Returns value corresponding to the number of seconds for a particular time interval.
TO_BCD_BOOL TO_BCD_BOOL Basic Analogue Boxes Type conversion and composition The function performs conversion of an integer (ANY_INT) to a logical value (BOOL).
TO_BCD_BYTE TO_BCD_BYTE Basic Analogue Boxes Type conversion and composition The function converts any integer number (ANY_INT) to a binary-coded decimal bit array (BYTE).
TO_BCD_DWORD TO_BCD_DWORD Basic Analogue Boxes Type conversion and composition The function converts any integer number (ANY_INT) to a binary-coded decimal bit array (DWORD).
TO_BCD_LWORD TO_BCD_LWORD Basic Analogue Boxes Type conversion and composition The function converts any integer number (ANY_INT) to a binary-coded decimal bit array (LWORD).
TO_BCD_WORD TO_BCD_WORD Basic Analogue Boxes Type conversion and composition The function converts any integer number (ANY_INT) to a binary-coded decimal bit array (WORD).
TO_BOOL TO_BOOL Basic Digital Boxes Type conversion and composition The function brings the last bit of the input value to the output.
TO_BYTE TO_BYTE Basic Analogue Boxes Type conversion and composition The function brings the bit value of the input value to the output.
TO_DINT TO_DINT Basic Analogue Boxes Type conversion and composition The function brings the whole number of the input value to the output.
TO_DWORD TO_DWORD Basic Analogue Boxes Type conversion and composition The function brings the bit value of the input value to the output.
TO_INT TO_INT Basic Analogue Boxes Type conversion and composition The function brings the whole number of the input value to the output.
TO_LINT TO_LINT Basic Analogue Boxes Type conversion and composition The function brings the whole number of the input value to the output.
TO_LREAL TO_LREAL Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a real number.
TO_LWORD TO_LWORD Basic Analogue Boxes Type conversion and composition The function brings the bit value of the input value to the output.
TO_REAL TO_REAL Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a real number.
TO_SINT TO_SINT Basic Analogue Boxes Type conversion and composition The function brings the whole number of the input value to the output.
TO_STRING TO_STRING Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a string.
TO_STRING TO_STRING Basic String Boxes Strings The function brings the input value to the output as a string.
TO_UDINT TO_UDINT Basic Analogue Boxes Type conversion and composition The function brings the whole number of the input value to the output.
TO_ULINT TO_ULINT Basic Analogue Boxes Type conversion and composition The function brings the whole number of the input value to the output.
TO_USINT TO_USINT Basic Analogue Boxes Type conversion and composition The function brings the whole number of the input value to the output.
TO_WORD TO_WORD Basic Analogue Boxes Type conversion and composition The function brings the bit value of the input value to the output.
TOD_TO_LTOD TOD_TO_LTOD Basic Analogue Boxes Type conversion and composition The function brings the input value to the output as a time in a day.
TOF TOF Basic Digital Boxes Timers and time The block delays the falling edge of the input signal.
Toggle Toggle Basic Digital Boxes Logic and latches Block works as a toggle switch, Input In reacts on raising edge, The first raising edge switches the output to TURE.
TON TON Basic Digital Boxes Timers and time The block delays the rising edge of the input signal.
TP TP Basic Digital Boxes Timers and time The rising edge of the input signal generates an output pulse of the length pt .
TrackingPiSelector Tracking PI Selector Lib.Mervis Libraries Control (PID, valves) This auxiliary block is used for selecting a PI controller in tracking mode.
TRUNC TRUNC Basic Analogue Boxes Math and comparison Returns the input value truncated to a whole number, cutting off the decimal part.
TRUNC_TO_LINT TRUNC_TO_LINT Basic Analogue Boxes Math and comparison Returns the input value truncated to a whole number, cutting off the decimal part.
TwinPump Twin Pump Control (v1.4) Lib.Mervis Libraries Heating, HVAC and heat sources A block used for controlling twin pumps.
TwoStageBoiler Two-stage Boiler (v1.4) Lib.Mervis Libraries Heating, HVAC and heat sources Block used for controlling the performance of a boiler with a two-stage burner and a circulation pump.
TwoStageBoilerWithReturnTemp Two-stage Boiler with Return Temperature Controller (v1.3) Lib.Mervis Libraries Heating, HVAC and heat sources Block used for controlling the performance of a boiler with a two-stage burner and a circulation pump, where monitoring of the boiler return temperature is necessary.
TwoStageSource Two-stage Source (v2.0) Lib.Mervis Libraries Heating, HVAC and heat sources Block used for controlling the performance of a source (primarily a boiler with a modulated burner and a circulation pump).
Block Page title Library Group What it is for
unipi-1w-th Unipi 1W-TH Lib.Unipi Library Hardware-specific (Unipi, Jablotron) This function block calculates relative humidity from the data of Unipi 1W-TH sensor.
UpDownController Up-Down Controller Lib.Mervis Libraries Control (PID, valves) Up-Down Controller
Block Page title Library Group What it is for
ValueSelector Selection of Minimum, Maximum, or Average from Multiple Values Lib.Mervis Libraries Signal processing, switches, selection A block used for selecting the minimum, maximum, or average value from up to four input values.
VelocityToFlow_m3ph Converting Pipe Velocity to Volumetric Flow Lib.Mervis Libraries Signal processing, switches, selection A function used to convert pipe flow velocity to volumetric flow rate.
Block Page title Library Group What it is for
writeport Writing data to a port Communications Communication and messaging Function writeport writes data to a given communication port.
Block Page title Library Group What it is for
XOR XOR Basic Digital Boxes Logic and latches Function calculates the exclusive disjunction of two or more inputs.

Back to the function block overview