The #DataLog object is used to log PLC data/variables in a DataLog file. The data entries are in ASCII text or binary format. The columns are separated by a separator. Each entry takes up one line and is accompanied with a time stamp (see also Exporting alarm history). DataLog is a global object. One or several #DataLog objects can be defined in an EPAM project.
Parameters
Object
Column A, object
|
M/O
|
Default
|
Description
|
#DataLog
|
M
|
|
Logging PLC data/variables in a DataLog file
|
Text/File
Option
Column S
|
M/O
|
Default
|
Description
|
Type=<name>
|
O
|
Name of the definition file without extension ".TXT"
|
Datalog type (allows the definition of several DataLog objects with the same DataLog definition)
|
VarValue
Spalte P
|
M/O
|
Default
|
Beschreibung
|
Group-Parameter
|
O
|
|
Instead of a variable, one ore group parameters may be defined. They replace the placeholders in the variable list of the datalog definition ( like Group). Thereby one datalog-definition may be used for multiple #Datalog objects.
|
See also
Difference to EPAM3
• | In EPAM3 the DataLog variables were transferred in a structure. In EPAM4 individual variables are read from the PLC. The PLC project may therefore also have to be adapted in certain circumstances. |
|