PLC Advanced Libraries

These are the standard blocks that perform advanced operations.

Analog Signal Processing

Block

Description

average / averageL

Calculates the average of signal samples.

CurveLin

Linear interpolation on a curve.

derivate

Computes the derivative of a signal with respect to time.

hyster

Hysteresis detection.

integral

Calculates the integral of a signal with respect to time.

lim_alrm

Detects high and low limits of a signal with hysteresis.

PID

PID loop.

RAMP

Ramp signal.

Rand

Give a Random value modulo the input value.

SigPlay

Play an analog signal from a resource.

SigScale

Get a point from a signal resource.

SurfLin

Linear interpolation on a surface.

Alarm Management

Block

Description

Alarm_A

Alarm with automatic reset.

Alarm_M

Alarm with manual reset.

lim_alrm

Detects high and low limits of a signal with hysteresis.

Data Collections and Serialization

Block

Description

FIFO

Manages a first in / first out list.

LIFO

Last in / first out stack.

SerializeIn

Extract the value of a variable from a binary frame.

SerializeOut

Copy the value of a variable to a binary frame.

stackint

Manages a stack of DINT integers.

Data Log

Block

Description

LogFileCSV

Create a log file in CSV format for a list of variables.

Special Operations

Block

Description

ApplyRecipeColumn

Apply the values of a column from a recipe file.

CycleStop

Sets the application in cycle stepping mode.

EnableEvents

Enable or disable the production of events for binding (runtimeClosed In computer science, runtime (or run-time) describes the operation of a computer program, the duration of its execution, from beginning to termination (compare compile time). Within KAS, runtime also refers to the virtual machine that manage the program written in a computer language while it is running to runtime variable exchange).

FatalStop

Breaks the cycle and stop with fatal error.

GetSysInfo

Get system information.

printf

Trace messages.

SigID

Get the ID of a signal resource.

VLID

Get the ID of an embedded list of variables.

Communication

Others