System Library

These tables list the System functions and function blocks:

See PrintMessage - Generates a log message with any wanted strings in the Log Messages tabs window.

Controller

Name

Description

ClearCtrlErrors

Clears the list of active errors and alarms on the controller.

GetCtrlErrors

Get a list of the active errors and alarms on the controller.

GetCtrlInfo

Get the serial, model, and/or part number of the controller.

GetCtrlPerf

Returns controller CPU performance statistics.

File

Name

Description

FileClose

Closes an open file.

FileCopy

Copies a file's contents to a new file.

FileDelete

Removes a file from the file system.

FileEOF

Test if the end of the file is reached in a file that is open for reading.

FileExists

Tests if a file exists.

FileOpenA

Create or open a file in append mode.

FileOpenR

Open a file for reading.

FileOpenW

Create or reset a file and open it for writing.

FileReadBinData

Read binary data from a file.

FileReadLine

Reads a string value from a text file.

FileRename

Renames a file.

FileSeek

Sets the current position in an open file.

FileSize

Gets the size of a file.

FileWriteBinData

Write binary data to a file.

FileWriteLine

Writes a string value to a text file.

TCP/IP Sockets

Name

Description

TcpAccept

Performs the accept operation.

TcpBinReceive

Receives characters over a socket connection.

TcpBinSend

Sends characters over a socket.

TcpClose

Closes and releases a socket.

TcpConnect

Creates a new socket and performs the connect operation.

TcpIsConnected

Tests if a client socket is connected.

TcpIsValid

Tests if a socket is valid.

TcpListen

Creates a new socket by performing the bind and listen operations.

TcpReceive

Receives characters over a socket connection.

TcpSend

Sends characters over a socket.

UDP

Name

Description

udpAddrMake

Build an address buffer for UDP functions.

udpClose

Closes a socket.

udpCreate

Creates a UDP socket.

udpIsValid

Tests if a socket is valid.

udpRcvFrom

Receives a UDP telegram.

udpRcvFromArray

Receives a byte array through UDP.

udpRcvFromVar

Receives the contents of a variable from another controller through UDP.

udpSendTo

Sends a UDP telegram.

udpSendToArray

Sends a byte array through UDP.

udpSendToVar

Sends the contents of a local variable to another controller through UDP.