
17
Magtrol Model 5300 Three Phase Power Analyzer
Chapter 7 - Instruction Set
This string transmits volts, watts and amps. To get line
voltage, power factor (PF) or kilowatts (KW), the host
computer must make the following calculations:
PF
W W W
E I E I E I
=
+ +
+ +
∅ ∅ ∅
∅ ∅ ∅ ∅ ∅ ∅
1 2 3
1 1 2 2 3 3
E E
LINE n PHASE n
( ) ( )
=
3
(Where “n” is the phase number)
KW
W W W
=
+ +
1 2 3
1000
DATA RATE
The OPEN and SYNC commands affect bus timing.
Selection is dependent upon what other instruments are
on the bus, their acquisition rate, and how you wish to
process the data.
“OPEN” INSTRUCTION
If your data acquisition is random, or you don't want to
wait for the full 0.1 second data sampling rate, you can
use the OPEN instruction. Data output is nearly
immediate, depending upon the MPU status at the time
of request. If multiple data
requests are made within the MPU's 0.1 second sample
rate, you will receive multiple transmissions of the same
data. If your program is accumulating data in an array,
you will want to include a routine to ignore the second
of any two identical received data words.
INSTRUCTION
The host PC will be held by the 5300 PA until the
sampling period is over. In this mode, data will always
be the result of the most recent sampling period.
However, if you are using a Magtrol controller like the
Model 4629B or 5240, the two instruments should be
synchronized to avoid a timing conflict. This
synchronization is done as follows:
Output any instruction (except "RES") to each
of the instruments without including the
combination carriage return/line feed (oo)
terminating instruction. Now, both instruments
are "hung up" at fixed program locations
waiting for the carriage return/line feed
instruction. Synchronization is accomplished by
restarting both programs by outputting only the
carriage return/line feed instruction (oo) in
successive statements to both instruments.
At restarting, the instrument will be synchronized, but
will slowly drift apart and require re-synchronization.
If you are acquiring data in batches, execute the above
synchronization routine just prior to each data input
routine.
PROGRAMMING EXAMPLE
The following program sets the 5300 PA in the "SYNC"
mode with "FULL" data format. The CRT monitor
displays:
Amperes - summed for total 3-phase line.
Voltage - average 3-phase line.
Power - 3-phase kilowatts.
This example (on the following page) assumes that the
National GPI-PC interface hardware and Microsoft
Quick Basic are used.
Comentários a estes Manuais