User manual
IEC61131 User and Reference Manual
April 22, 2008
252
Inputs
Type
Description
numLo
(numLogFile)
Integer
The maximum number of log files that will be used.
maxLo
(maxLogFile)
Integer
The number of records in each (full) log file. A minimum
of 600 records per file is required
fullH
(fullHandle)
Integer
Specify the action to take when all the log files are full. 0
= overwrite oldest, 1 = stop logging.
logMo
(logMode)
Integer
Specify how logging is to be performed.
0 = internal drive
1 = internal drive, auto copy enabled
2 = internal drive, auto move enabled
3 = external mass storage device
secur
(securityToken)
Integer
A security token that must be present on an inserted
mass storage device for these logs to be copied. Note
that the input of the securityToken can be done in
decimal, octal (8#), hexadecimal (16#) and even binary
(2#) format using the according prefix. In the end every
chosen input format must represent the hex value listed
in the controller.xml file. Example of a hexadecimal input:
16#1a2b3c4d. The security token is only considered for
auto transfer logs which are not supported on controllers
without USB host port.
descr
(description)
message
A string that is placed in each log file to identify the
source. This is optional.
numFi
(numFields)
Integer
Specify how many data fields will be recorded. i.e. from
data field (1) to data field (numFields).
type1
Integer
Field #1 data type (see data types below)
type2
Integer
Field #2 data type (see data types below)
type3
Integer
Field #3 data type (see data types below)
type4
Integer
Field #4 data type (see data types below)
type5
Integer
Field #5 data type (see data types below)
type6
Integer
Field #6 data type (see data types below)
type7
Integer
Field #7 data type (see data types below)
type8
Integer
Field #8 data type (see data types below)
Outputs
Type
Description
logID
Integer
A value representing this log. This is used in the dlogf
block to write to the data log.
error
Boolean
TRUE when there is a creation or deletion error.
FALSE in all other cases.
statu
(status)
Integer
The status code. See the Status Code table below.