76
2553/ 2553E Command Guide
MULTIPLE BANK USAGE
In this example application the same measurement results as shown in the example above
will normally be needed, however there will be times when the voltage waveform will be
needed, and other occasions when historical RMS Voltage and Voltage THD data will be
needed. In this case three banks will be programmed to provide this data, with the main
execution portion of the application changing between these banks as required. In
practice it is possible that the entire history data might not be full when the history data is
read, thus the number of valid history data will also be read to determine the valid data
points. The following commands would be sent to the 2553/ 2553E to achieve
programming of these banks.
BANK0=VOLTS[RMS]/VOLTS[CF]/VOLTS[THD]/WATTS[RMS]<NL>
BANK1=V-WAVEFORM<NL>
BANK2=HISTORY-SIZE/V-HISTORY[RMS]/V-HISTORY[THD]<NL>
BANK3;BANK4<NL>
When bank #0 is read, the RMS Voltage, Voltage Crest Factor, Voltage Total Harmonic
Distortion and Total Load Power measurement results will be obtained, all in floating
point format, comma delimited, all for phase A (using the default for no phase
specification).
When bank #1 is read, a 200 point, comma delimited, set of floating point voltage
waveform amplitudes will be read. This may be plotted within the user application by
parsing the data into an array and then plotting the array, or the actual response may be
written as a file and the file imported at a later date into a spreadsheet program for
analysis or plotting.
When bank #2 is read, the number of valid data points (comma delimited), followed by a
200 point, comma delimited set of RMS Voltage historical results, followed by a 200
point, comma delimited set of Voltage THD historical results, will be read. The valid
historical data points within each set of 200 will reside in the end of the set. It is
guaranteed that both historical data sets (since they are obtained in the same bank) are
consistent with each other. If historical data is read from different banks then consistency
between data sets cannot be guaranteed unless the storing of historical data is frozen
using the HISTORY or MEASURE commands. Similar to the waveform data, this may
be plotted within the user application by parsing the data into arrays and then plotting the
arrays, or the actual response may be written as a file and the file imported at a later date
into a spreadsheet program for analysis or plotting.
Deciding How Often to Read the Measurement
Results
In most applications, measurement results will be read from the 2553/ 2553E at slow
rates (e.g., once a second or slower) and merely reading the 2553/ 2553E whenever
required is the best method. In these cases the UPDATEn commands are not needed, as
the default bank update rate of the 2553/ 2553E (250ms) is sufficient for this purpose.
Summary of Contents for Xitron 2553
Page 1: ...IEEE488 COMMAND GUIDE 2553 2553E Three Phase Power Analyser ...
Page 2: ......
Page 10: ...10 2553 2553E Command Guide ...
Page 38: ...38 2553 2553E Command Guide ...