User manual
IEC61131 User and Reference Manual
April 22, 2008
251
dlogcfg Description
The dlogcfg function block creates a data log to file identified by LogName. Entries to the
data log are called records. Each record contains 1 to 8 fields of data. The size of the log,
the number of data fields in a record and the data types of the fields are defined using the
dlogfcfg function block. Unused data inputs must be set to the Real value 0.0.
This function block is supported by the SCADAPack 350, SCADAPack 330, and the
SCADASense 4203.
logMo
secur
descr
numFi
type1
type2
type3
error
statu
dlogfcfg
type4
type5
type6
type7
type8
logID
fullH
maxLo
numLo
logNa
delet
enabl
Arguments
Inputs
Type
Description
enabl
(enable)
Boolean
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 logName must be used or the
data log must be deleted using the delete input.
See the Status Code table below.
delet
(delete)
Boolean
When enable is TRUE and the delete input transients
from FALSE to TRUE, the log configuration is deleted.
logNa
(logName)
Message
The name of the data log. This is a path qualified file
name.