User manual

IEC61131 User and Reference Manual
April 22, 2008
244
Outputs
Type
Description
error
Boolean
TRUE if the log is not configured or if there was a
data reading error. FALSE in all other cases.
status
Integer
The status code. See the Status Codes table.
seqNum
Integer
Same as the seqNo if it is present in the log; or the
sequence number of the oldest record if the
seqNum is within the size of the log preceding the
oldest sequence number. See the Notes section
below.
data1
real
Real type output of Field #1 data.
data2
real
Real type output of Field #2 data.
data3
real
Real type output of Field #3 data.
data4
real
Real type output of Field #4 data.
data5
real
Real type output of Field #5 data.
data6
real
Real type output of Field #6 data.
data7
real
Real type output of Field #7 data.
data8
real
Real type output of Field #8 data.
hundredthSeconds
integer
See Notes.
Notes
If an input type for a field is defined as 5 (Days and hundredths of seconds in two 32 bit
unsigned integers) then the field output data (data1 to data8) will contain the number of
whole days since 01/01/97 and the hundredthSeconds output will contain the number of
hundredths of a second since the start of the current day. If there are no type 5 fields defined
the hundredthSeconds output is set to 0.
To get the oldest sequence number in the log, toggle the enable input while the readRecord
input is set to FALSE. The seqNum, error, and status outputs are updated. The remaining
outputs are set to 0.
Status Code
Code
Description
20
The configuration is valid or data can be read.
21
The log ID is invalid.
22
The log is not configured.
23
The requested sequence number was not in the valid range.