Waveform Capture
General Description
The system stores the variables V1N, V2N, V3N, I1, I2, I3, IN during four cycles (64 points per cycles) in the file number 5.
This file consists of a fixed number of records (29). All records are of similar size that is 64 registers wide.
The capture is triggered as follows:
-
manually (user request) by using the command Forcelog (see the MasterPact Legacy Modbus User Guide)
-
automatically attached to analog predefined alarms (1 to 53) by setting the log action to 1
File Header
The following table describes the file header content:
Address |
Register |
RW |
X |
Unit |
Type |
Range |
A/E/P/H |
Description |
---|---|---|---|---|---|---|---|---|
0x1BDB |
7132 |
RW |
– |
– |
INT16U |
– |
H |
File status: 0x0000 = file disabled 0xFFFF = file enabled (factory setting) |
0x1BDC |
7133 |
R |
– |
– |
INT16U |
– |
H |
Type of file: 5 = waveform capture |
0x1BDD |
7134 |
R |
1 |
– |
INT16U |
– |
H |
Size of a file = 29 records |
0x1BDE |
7135 |
R |
1 |
– |
INT16U |
– |
H |
Size of a record = 64 registers |
0x1BDF |
7136 |
R |
– |
– |
INT16U |
1 |
H |
File filling mode: 0 = circular 1 = disabled if log is full |
0x1BE0 |
7137 |
R |
1 |
– |
INT16U |
– |
H |
Number of cycle segments: 1 = 4 cycles for waveform capture |
0x1BE1 |
7138 |
R |
1 |
– |
INT16U |
– |
H |
Number of cycles before capture: 2 = waveform capture and fault waveform capture |
0x1BE2 |
7139 |
R |
1 |
– |
INT16U |
– |
H |
Number of points per cycle: 64 = waveform capture |
File Status
The following table describes the file status content:
Address |
Register |
RW |
X |
Unit |
Type |
Range |
A/E/P/H |
Description |
---|---|---|---|---|---|---|---|---|
0x1BEB |
7148 |
R |
1 |
– |
INT16U |
– |
H |
Size of a file = 29 records |
0x1BEC |
7149 |
R |
1 |
– |
INT16U |
– |
H |
Size of a record = 64 registers |
0x1BED |
7150 |
R |
1 |
– |
INT16U |
– |
H |
0x0000 = file OK 0x000A = record size smaller than expected 0x0014 = record size larger than expected 0x001E = insufficient memory 0x00FA = internal error 0x00FD = corrupted allocation table 0x00FE = configuration zero 0x00FF = invalid configuration 0xFC00 = invalid file number 0xFD00 = invalid record number 0xFE00 = file not supported 0xFF00 = cannot allocate file |
0x1BEE |
7151 |
R |
1 |
– |
INT16U |
– |
H |
Number of records in the file = 29 |
0x1BEF |
7152 |
R |
1 |
– |
INT16U |
– |
H |
Sequence number of first record in the file (the oldest) = 1 |
0x1BF0 |
7153 |
R |
1 |
– |
INT16U |
– |
H |
Sequence number of last record in the file (the most recent) = 29 |
0x1BF1– 0x1BF3 |
7154– 7156 |
R |
– |
– |
DATE |
– |
H |
Date the last file was reset. Factory setting = 0x8000 0x8000 0x8000 |
Waveform Record
The waveform capture has a fixed number of records and all record has a fixed number of registers:
Record Number |
Registers |
Type |
Description |
---|---|---|---|
1 |
1–4 |
XDATE |
Extended date/time |
5–11 |
– |
Reserved |
|
12 |
INT16U |
||
13 |
– |
||
14 |
A |
Circuit breaker nominal current |
|
15 |
SFIXPT |
Voltage multiplier for phase 1 |
|
16 |
INT16 |
Voltage offset for phase 1 |
|
17 |
SFIXPT |
Voltage multiplier for phase 2 |
|
18 |
INT16 |
Voltage offset for phase 2 |
|
19 |
SFIXPT |
Voltage multiplier for phase 3 |
|
20 |
INT16 |
Voltage offset for phase 3 |
|
21 |
SFIXPT |
Current multiplier for phase 1 |
|
22 |
INT16 |
Current offset for phase 1 |
|
23 |
SFIXPT |
Current multiplier for phase 2 |
|
24 |
INT16 |
Current offset for phase 2 |
|
25 |
SFIXPT |
Current multiplier for phase 3 |
|
26 |
INT16 |
Current offset for phase 3 |
|
27 |
SFIXPT |
Current multiplier for neutral |
|
28 |
INT16 |
Current offset for neutral |
|
29 |
INT16U |
Scaling factor used for SFIXPT math on voltage samples |
|
30 |
INT16U |
Scaling factor used for SFIXPT math on phase-current samples |
|
31 |
INT16U |
Scaling factor used for SFIXPT math on neutral-current samples |
|
32–64 |
– |
Not used |
|
2–4 |
1–64 |
INT16U |
Voltage V1N sample points (16 points - 12 cycles) |
5–7 |
1–64 |
INT16U |
Voltage V2N sample points (16 points - 12 cycles) |
8–10 |
1–64 |
INT16U |
Voltage V3N sample points (16 points - 12 cycles) |
11–13 |
1–64 |
INT16U |
Current I1 sample points (16 points - 12 cycles) |
14–16 |
1–64 |
INT16U |
Current I2 sample points (16 points - 12 cycles) |
17–19 |
1–64 |
INT16U |
Current I3 sample points (16 points - 12 cycles) |
20–22 |
1–64 |
INT16U |
Current IN sample points (16 points - 12 cycles) Valid only with system type 41 |
Voltage Calculation
Apply the following rules to derive the voltages:
-
on phase 1:
Sample (Volt) = [(sample – mean value of Voltage V1N sample points) x register number 15 of first record]/(1000 x register number 29 of first record).
-
on phase 2:
Sample (Volt) = [(sample – mean value of Voltage V2N sample points) x register number 17 of first record]/(1000 x register number 29 of first record).
-
on phase 3:
Sample (Volt) = [(sample – mean value of Voltage V3N sample points) x register number 19 of first record]/(1000 x register number 29 of first record).
Current Calculation
Apply the following rules to derive the currents:
-
on phase 1:
Sample (Ampere) = [(sample – mean value of Current I1 sample points) x register number 21 of first record] / ((1000 x register number 30 of first record) / Circuit breaker nominal current).
-
on phase 2:
Sample (Ampere) = [(sample – mean value of Current I2 sample points) x register number 23 of first record] / ((1000 x register number 30 of first record) / Circuit breaker nominal current).
-
on phase 3:
Sample (Ampere) = [(sample – mean value of Current I3 sample points) x register number 25 of first record] / ((1000 x register number 30 of first record) / Circuit breaker nominal current).
-
on neutral:
Sample (Ampere) = [(sample – mean value of Current IN sample points) x register number 27 of first record] / ((1000 x register number 31 of first record) / Circuit breaker nominal current).