Extracting the comtrade data file
V01007
Start
(
Configuration
complete)
Read number of
r
egisters in data page
from address 3x00802
Send ‘Get next page of
data’ to register
4x00400
Store data to binary file
in the order the data
were received
Record complete
Read DR status value
f
rom register 3x00934
Check DR status
f
or error
conditions or
Busy status
What is the value
o
f DR status?
Busy
To parent
p
rocedure
Error
Other
Page ready
Read data page
r
egisters starting at
3x00803
Record complete (mark
record as extracted;
automatic extraction only)
Send ‘Select Data File’
t
o register 4x00400
Figure 54: Data file extraction
During the extraction of the COMTRADE files, an error may occur, which will be reported on the DR Status
register 3x00934. In this case, you must take action to re-start the record extraction or to abort according to
the table below.
Value State Description
0 Idle
This will be the state reported when no record is selected; such as after power on or after a record has
been marked as extracted.
1 Busy The relay is currently processing data.
2 Page ready The data page has been populated and the master station can now safely read the data.
3 Configuration complete All of the configuration data has been read without error.
4 Record complete All of the disturbance data has been extracted.
5 Disturbance overwritten
An error occurred during the extraction process where the disturbance being extracted was overwritten by
a new record.
MiCOM P747 Chapter 7 - SCADA Communications
P747-TM-EN-1 219