PLC Advanced Libraries

These functions and function blocks perform advanced operations.

All Functions - Alphabetical

Name

Description

Alarm_A

Alarm with automatic reset.

Alarm_M

Alarm with manual reset.

ApplyRecipeColumn

Apply the values of a column from a recipe file.

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.

FIFO

Manages a first in / first out list.

FilterOrder1

First order filter.

hyster

Hysteresis detection.

integral

Calculates the integral of a signal with respect to time.

LIFO

Manages a last in / first out list.

lim_alrm

Detects high and low limits of a signal with hysteresis.

LogFileCSV

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

PID

PID loop.

PWM

Generate a PWM signal.

RAMP

Limit the ascendance or descendance of a signal.

rand

Returns a pseudo-random integer value between 0 (zero) and (base - 1).

SD Card Mounting Functions

Mounting an SD card.

SerializeIn

Extract the value of a variable from a binary frame.

SerializeOut

Copy the value of a variable to a binary frame.

SigID

Get the identifier of a Signal resource.

SigPlay

Generate a signal defined in a resource.

SigScale

Get a point from a Signal resource.

stackint

Manages a stack of DINT integers.

SurfLin

Linear interpolation on a surface.

VLID

Gets the identifier (ID) of an embedded list of variables.

Alarm Management

Name

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.

Analog Signal Processing

Name

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

Limit the ascendance or descendance of a signal.

rand

Returns a pseudo-random integer value between 0 (zero) and (base - 1).

SigPlay

Generate a signal defined in a resource.

SigScale

Get a point from a Signal resource.

SurfLin

Linear interpolation on a surface.

Communication

Data Collections and Serialization

Name

Description

FIFO

Manages a first in / first out list.

LIFO

Manages a last in / first out list.

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

Name

Description

LogFileCSV

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

Special Operations

Name

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.

FilterOrder1

First order filter.

GetSysInfo

Get system information.

printf

Display a trace output.

SigID

Get the identifier of a Signal resource.

VLID

Gets the identifier (ID) of an embedded list of variables.

See Also