
IEC61131 User and Reference Manual
April 22, 2008
dlogcnfg
Data Logger Configuration Function Block
Description
The dlogcnf g function block creates a data log identified by LogID. A maximum of 16 data
logs, labeled 1 to 16 are available for use. Entries to the data log are called records. Each
record contains 1 to 8 fields of data. The number of records in the log, the number of data
fields in a record and the data types of the fields are defined using the dlogcnfg function
block. Unused data inputs must be set to the Real value 0.0.
Arguments
When a FALSE to TRUE transition occurs on the
enable input, the data log identified by LogID is
created and initialized. If the data log exists and has
a different configuration then an error will be
generated. If an error is generated then a different
logID must be used or the log must be deleted using
the delete input.
See the Status Code table below.
When enable is TRUE and the delet e inp ut
transients from FALSE to TRUE, all records in the
data log and the log configuration are deleted.
Identifies the data log (1 to 16).
Maximum number of records in the log. See the
Program Status Dialog section for information on
the memory available for dlog.
Specify how many data fields will be recorded. i.e.
from data field (1) to data field (numFields).
Field #1 data type (see data types below)
Kommentare zu diesen Handbüchern