This UDT belongs to the Module LGF_DataLogC
and lists all possible parameter to configure its behaviour.
Identifier | Data type | Default value | Description |
---|---|---|---|
header | String | '' | Headline of datalog, string of all data fields, separated by a comma: "field1,field2,field3,..." |
maxNumberOfEntries | UDInt | 1000 | Maximum number of entries in datalog |
timestampFormat | USInt | 0 | Timestamp format - see manual in "DataLogCreate" for used PLC Type (S7-1200 or S7-1500) |
clearOnOpen | Bool | FALSE | Clear datalog during opening datalog while enabling block |
deleteFile | Bool | FALSE | Delete as well datalog file during datalog delete |
enableRingBuffer | Bool | FALSE | TRUE: Overwrite old values and start from the beginning if datalog reaches its maximum entries FALSE: Stop logging if `maxNumberOfEntries` entries reached |
loggingByInterval | Bool | FALSE | TRUE: Log on interval time parameter FALSE: log on "triggerEntry" |
loggingInterval | Time | T#1M | Time for automatic logging interval |