
Rockwell Automation Publication 1426-UM001G-EN-P - November 2014 103
Logging Chapter 6
2. Write the Configuration.Log_Read table with Selected Log = 11.
The Configuration.Log_Read
table contains the following elements:
• Element 0. Write a value of 11 to request the next waveform file name
• Element 1: Write a 0 to return the most recent file name first or a 1 to
return the oldest file name first
3. Read the waveform file name from the
LoggingResults. WaveformFileName Data Table
one or more times until
the desired waveform file name is returned.
The LoggingResults. WaveformFileName Data Table
returns a string
containing the requested file name. The file name syntax is described
above in Waveform File Names on page [nn - ed. Please update and link].
The Configuration.WaveformFileName Data Table
contains the file
selection string
‘Waveform_ID_YYYYMMDD_HHMMSS_MicroS_hh/Cycle/
MagOrAng/Channel/iOrder’. Options include the following:
• The desired waveform file name from which to return records
• Appended selection switches:
– Cycle = present cycle offset to be returned; range = 0 … total cycles
in the waveform -1
– MagOrAng; 0 = magnitude data, 1 = angle data
– Channel = the selected channel to return; range = 0 (V1)…7 (I4)
– Order = the range of harmonic components to return; 0 = DC…31,
1 = 32…63
Following the write to the Configuration.WaveformFileName Data Table
,
each read of the LoggingResults
. Waveform_Log Data Table returns a
successive portion of the waveform record. The appended selection
switches in the filename written to the Configuration.WaveformFileName
Data Table define the first record retrieved in the sequence of data
retrieval. If no selection switches are included with the filename, the first
record returned is the waveform header.
The sequence of waveform data retrieval proceeds according to the
following logic.
For Cycle 0 to N
For MagOrAng = Magnitude to Angle
For Channel = 0 to 7
For iOrder = 0 to 3
Next iOrder
Next Channel
Next MagOrAng
Next Cycle
4. Write the selected file name into the Configuration.WaveformFileName
Data Table.
5. Perform sequential reads of the LoggingResults
. Waveform_Log Data
Table and store the results in a suitable location.
Commenti su questo manuale