User Documentation

Table Of Contents
Data recorder
System manual
2696790000/02/04.2020
76
14 Data recorder
Using the data recorder, variable values can be recorded on the control dur-
ing runtime.
Access to the data recorder is possible via the following interfaces:
Library "KREC" for IEC applications (real-time access) in u-create studio
"DataRecApi" interface for C applications
For additional information, refer to the online help for u-create studio.
A data recorder has to be created and configured by the application first.
This is possible via the IEC application or using u-create scope.
14.1 Configuration
Within an IEC application, one (or more) data recorders can be created and
configured. The necessary configurations (properties, variables, etc.) are
compiled and stored in what is known as a "profile".
The basic properties of a profile are the following:
Maximum number of variables
Buffer capacity
Buffer type
Persistence
Maximum number of variables
Every variable whose value is to be recorded must be registered with the
data recorder. This requires the complete path of the variable. The maximum
number of variables defines the upper limit for the number of variable regis-
trations. Variables can be registered and deregistered, but the number can-
not exceed the specified number of variables.
Only variables with the following data types can be registered with the data
recorder:
BOOL REAL LREAL BYTE
ENUM WORD DWORD LWORD
SINT8 SINT16 SINT32 SINT64
ENUM_SINT8 ENUM_SINT16 ENUM_SINT32 ENUM_SINT64
UINT8 UINT16 UINT32 UINT64
ENUM_UINT8 ENUM_UINT16 ENUM_UINT32 ENUM_UINT64
DATE DATE64us TIME TIME64us
DT DT64us TOD TOD64us