Vai al contenuto

Datalog editor

To activate a datalog, you have to add it to the GF_Project Datalog editor in the General node. Datalog editor-image_0You can add Datalogs to the grid and describe their characteristics.Log name: Datalog name. This is a variable and must have a univocal name.Sampled label: You can select any PLC/Field or I/O variable such as INT, DINT, REAL, BOOL, SINT, UINT, UDINT, USINT, STRING also member of a structure.Trigger: used to start sampling when the value changes. You can select any PLC/Field or I/O variable such as INT, DINT, REAL, BOOL, SINT, UINT, UDINT, USINT, STRING also member of a structure. Note: sampling is not run if the time between one change and the next is less than one second.Sample time: in seconds. Value 0 indicates sampling on trigger only. If you want a variable sampling time, you can set a control trigger variable and increment it on the PLC at the required frequency.Buffer size: max. number of samplings to save on disk.Circular: indicates if the sampling runs until the buffer is full (circular = no) or if the sampling is continuous, with overwriting of the oldest data (circular = yes).Path: all Datalogs are stored in BIN files on disk, usually on /ata0a/datalog. This option allows to select a different database file storing path (local disk or removable media SD or USB).Info: indicates the max. length of sampling calculated with the set time and saving of the file on disk.