Introduction

This library contains functions and function blocks that use features on the devices of the Embedded PC CX series.

Function blocks

Name

Description

FB_CXProfiler

Runtime measurement of PLC code via the CPU counter

FB_CXSetTextDisplay

Control of the two-line display of the CX1100

FB_CXSetTextDisplayUSB

Writing and deleting of rows on the two-line display of the CX 2100 or the EL6090 terminal.

FB_CXGetTextDisplayUSB

Reading of rows on the two-line display of the CX 2100 or the EL6090 terminal.

FB_CXSimpleUps

Control of the UPS CX1190-UPS
(device name CX1100-0900, CX1100-0910, CX1100-0920)

FB_CX5010SetWatchdog

Activates a hardware watchdog on the CX5010.

FB_CX5020SetWatchdog

Activates a hardware watchdog on the CX5020.

Functions

Name

Description

F_CXSubTimeStamp

Calculates 64-bit subtraction (time A [100 ns] - time B [100 ns]) as result in µs; only for differences between 0 and 4294967295 us; see link.

F_CXNaviSwitch

This function converts the value of the CX1100 navigation switch to an enum value.

F_CXNaviSwitchUSB

This function converts the value of the CX2100 navigation switch to an enum value.