zLogGvlConstant
(GVL)
List of global constants used in the data logger library.
- :General information for constants and parameter
Dataset: 1 dataset always has 400 bytes (zLOG_CONST_LENGTH_1DS)
FifoIn: has a maximum capacity of zLOG_CONST_FIFOLIMIT datasets and is stored in persistent memory
FifoOut: has a maximum capacity of zLOG_CONST_FIFOLIMIT datasets and is stored in non-persistent memory
File: 1 file stores up to 65535 data records (zLOG_CONST_DSproFILE), which are copied block by block from the FifoIn in case of a communication lost
A maximum of 999 files (zLOG_CONST_FILELIMIT) can be saved
In purely mathematical terms, that would be 999 files * 65535 datasets * 400 byte / dataset = 26,187,786,000 bytes = 26 GB
- InOut:
Scope
Name
Type
Initial
Comment
Constant
zLOG_CONST_LENGTH_1DS
UDINT
400
1 DataSet in FIFO/FILE has maximum 400 Bytes
zLOG_CONST_ARRAYLIMIT_1DS
UDINT
399
zLOG_CONST_FILELIMIT
UDINT
999
1…999 Files possible (0 is not used = “NoFile”)
zLOG_CONST_DSproFILE
UDINT
65535
Maximum 65535 Datasets/File possible