PLC Advanced Libraries

Below are the standard blocks that perform advanced operations.

Analog signal processing:

Block Description
Average / AverageL Calculate the average of signal samples
Integral Calculate the integral of a signal
Derivate Derive a signal
PID PIDClosed"Proportional-Integral-Derivative" A PID controller is a generic control-loop feedback mechanism widely used in industrial control systems. An "error" occurs when an event or a disturbance triggers off a change in the process variable. A PID controller attempts to correct the error between a measured process variable and a desired setpoint by calculating and then outputting a corrective action that can adjust the process accordingly loop
Ramp Ramp signal
Rand Give a Random value modulo the input value
Lim_Alrm Low / High level detection
Hyster, HysterAcc Hysterisis calculation
SigPlay Play an analog signal from a resource
SigScale Get a point from a signal resource
CurveLin Linear interpolation on a curve
SurfLin Linear interpolation on a surface

Alarm management:

Block Description
Lim_Alrm Low / High level detection
Alarm_M Alarm with manual reset
ALARM_A Alarm with automatic reset

Data collections and serialization:

Block Description
StackInt Stack of integers
FIFO "First in / first out" list
LIFO "Last in / first out" stack
SerializeIn Extract data from a binary frame.
SerializeOut Write data to a binary frame.

Data Logging:

Block Description

LogFileCSV

Log values of variables to a CSV file

Special operations:

Block Description
GetSysInfo Get system information
Printf Trace messages
CycleStop Sets the application in cycle stepping mode
FatalStop Breaks the cycle and stop with fatal error
EnableEvents Enable / disable produced events for binding
ApplyRecipeColumn Apply the values of a column from a recipe file
VLID Get the ID of an embedded list of variables
SigID Get the ID of a signal resource

Communication:

AS-interface

Others:

Real Time Clock

File Management Functions