With user-defined format files you can create your own log file format.
Only multi-byte ASCII characters are allowed.
Comments start with a "#" character. Each comment ends with the end of the line.
The end of the line is defined by <CR><LF>.
User-defined text must be enclosed in quotation marks.
All variable names begin with a "%" character.
The expression is set in quotation marks.
Outside of quotation marks, "," and ";" are replaced by the character defined with %DEF_SEPARATOR.
All other characters are ignored.
Defines a separator character other than ";" or "," for the CSV file.
Example: %DEF_SEPARATOR="/"
Defines an error string (max. 16 characters) for invalid values, communication errors (no data received), or difference values when initial values are missing.
Default value: "-"; the error string for invalid REAL values is always "NaN".
Example: %DEF_INVALID="invalid"
Specifies the log file name. Any ASCII character and the following designators (including ISO 8601 date and time designators) can be used:
Example: %DEF_FILENAME="%F(%Y%m%d_%H%M%S_TRG).csv"
Sets the data point number (n) that contains time stamp information. Specify n-1 because "0" refers to the first data point.
Example: %DEF_DATA_TIMESTAMP="0"
Sets the data point number (n) that contains batch number information (used together with %x or %X in %DEF_FILENAME). Specify n-1 because "0" refers to the first data point.
Example: %DEF_DATA_FILEEXT="0"
Specifies a user-defined time format for the time stamp.
Example: %DEF_TIME="%H:%M:%S"
Specifies a user-defined date format for the time stamp.
Example: %DEF_DATE="%Y/%m/%d"
Specifies a user-defined time and date format for the time stamp (combines %DEF_DATE and %DEF_DATE).
Example: %DEF_DATETIME="%Y-%m-%d %H:%M:%S"
Specifies a user-defined file splitting interval in minutes. Valid settings: 1, 10, 60, 1440 (1 day), 10080 (1 week). Example: %DEF_SPLIT_MINUTES="10"
Text to display if %DATAFORMATS is used. Example: %DEF_INT="S16"
Text to display if %DATAFORMATS is used. Example: %DEF_UINT="US16"
Text to display if %DATAFORMATS is used. Example: %DEF_WORD="HEX4"
Text to display if %DATAFORMATS is used. Example: %DEF_BIN="BITS"
Text to display if %DATAFORMATS is used. Example: %DEF_DINT="S32"
Text to display if %DATAFORMATS is used. Example: %DEF_UDINT="US32"
Text to display if %DATAFORMATS is used. Example: %DEF_DWORD="HEX8"
Text to display if %DATAFORMATS is used. Example: %DEF_REAL="FLT"
Text to display if %DATAFORMATS is used. Example: %DEF_REALEXP="FLT"
Text to display if %DATAFORMATS is used. Example: %DEF_ASCII="CHAR2"
Text to display if %DATAFORMATS is used. Example: %DEF_DT="DATE AND TIME"
Included for compatibility reasons only. Example: %DEF_TITLE="KW Watcher"
Use %HEADER to specify an arbitrary text and variables.
If the header consists of more than one row, each row must begin with %HEADER followed by "+=" instead of "=".
Automatically adds sequential numbers to all columns.
Writes the name of all data points separated by the separator character.
Writes the station number of all data points separated by the separator character.
Writes the register address (e.g. DT100) of all data points separated by the separator character.
Writes the register type (MOMENT/DIFFERENCE) of all data points separated by the separator character.
Writes the data format (INT, DINT...) of all data points separated by the separator character.
The text for each data format can be set with the %DEF_... variables.
Writes the unit (m³, °C, kWh...) of all data points separated by the separator character.
Writes the column number for each data point separated by the separator character.
Specifies the order of the data in a record row (e.g. for date, time, additional text and data).
Use the date format set with %DEF_DATE.
Use the time format set with %DEF_TIME.
Use the Unix time format (seconds since 1970-01-01). Example: %LOGDATA=%UNIXTIME,%DATE,%TIME,%VALUES
Writes the logged data values separated by the separator character.
Make sure you put a separator character between variables and text.