Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

This protocol analyzes the files containing measurement data about measurement according to the IEC 62056 international standard IEC 62056.

Kotva
komunikacna_linka
komunikacna_linka
Communication line configuration

...

  • Communication line category File I/O (communication by via files).

Communication line configuration parameters File I/O communication line configuration parameters:

  • Kotva
    inputfile
    inputfile
    Input file
    - complete path to the file or directory with data.

In the case of analyzing the particular file, its size is tested with a period of 1 secsecond. If the file does not increase in size during two consecutive periods, it is processed.

If a directory is entered (in case of a Win32 platform Win32 with reverse solidus a backslash (\) at the end), all files that match the mask are processed (see station Station protocol parameters).

  • Archive directory -path to the directory, where the processed files are archived. If the directory is not setspecified, the processed files will be cancelleddeleted.

Kotva
linka_parametre
linka_parametre
Communication line protocol parameters

...

Dialog window communication line configuration - Protocol parameters tab Protocol parameters, select the protocol "IEC62056-21:2002 File I/O" protocol.

Table 1

ParameterDescriptionUnitDefault value
Kotva
prof
prof
Profile
Analyzed profile.-P.01
Gorlitz PRM62 ModuleFiles from device Gorlitz PRM62 are analyzed.YES/NONO
Kotva
adm
adm
Archive Subdirectory Time Mask
Mask for
generation of
creating subdirectories in the main archive directory according to time of file processing or
time stamp
timestamp of the file (if the Input file
is the entered
parameter specifies a directory).-rrrrmmdd
Kotva
fcc
fcc
Formatted Codes (Annex C)

Numerical addresses of I/O tags are used according to the specification of

standard

IEC62056-21 standard, Annex C.
If numerical addresses are used, the station address is acquired from the value of the object with address D000, the timestamp is acquired from the value of the object with address C001.

YES/NONO
Kotva
cec
cec
External Command File 1, 2
Complete
The complete path to a periodically called external command file (.cmd). It is used only if a non-empty value has been configured. It is possible to configure two independently executed command files with different periods.--
Kotva
cep
cep
External Command File Period 1,2
Call period of the external command file 1 or 2.mi:ss1:00
Kotva
ces
ces
Call External Command File 1,2 Synchronously
Call external command file 1 or 2 synchronously.YES/NOYES
Kotva
ceaa
ceaa
Ext. Command File After Activation
Complete
The complete path to the external command file
wich
which is launched
at
on change of redundancy status to HS. It is called only once and always synchronously. It is used only if a non-empty value has been configured.--
Kotva
dff
dff
Debug Files Flow
Show debug information about processed files.YES/NOYES
Kotva
dfc
dfc
Debug Files Content
Show debug information with the content of processed files.YES/NOYES
Kotva
dval
dval
Debug Values
Show debug information with measured values of the measure points.YES/NOYES
Kotva
fcp
fcp
Files Checking Period
Period of input directory content check (if the
input
Input file
is
parameter specifies a directory).mi:ss1:00
Kotva
ufdir
ufdir
Unknown Files Backup Directory
File, where unknown files are saved (if the
input
Input file is directory). If it is not written, the files will be
cancelled
canceled. The unknown files are the files
inconvenient to
not-matching the configured mask (see
station
Station protocol parameters) or the station with the required device number was not found.--
Kotva
fdf
fdf
Future Data Filter
Time data filter. If the
time stamp
timestamp of acquired values is
different
newer from the current time by more than
stated
the configured number of hours
in future
, they are ignored. Enter 0 (zero) to ignore the time filter.hours24
Kotva
hdf
hdf
History Data Filter
Time data filter. If the
time stamp
timestamp of acquired values is
different
older from the current time by more than
stated
the configured number of hours
in past
, they are ignored. Enter 0 (zero) to ignore the time filter.days31
Kotva
addir
addir
Abnormal Timestamp Data Dir
Directory where the files with ignored data by time filter will be saved (Future Data Filter and History Data Filter).--
Kotva
apt
apt
After Processing Timeout
Timeout
A delay,
it
which is inserted after the file was analyzed.ss.mss0.100
Kotva
addef
addef
Additional Error Logfile
Error file to write information about errors during processing (unknown file in directory, too old or too new values).
Empty
An empty value means that this error file will not be created.--

Kotva
komunikacna_stanica
komunikacna_stanica
Communication station configuration

...


  • Communication protocol "IEC62056-21:2002 File I/O".
  • Station address - the station address is ignored if the input Input file is  is the particular file. If the directory is entered, the device number (electrometer) must be entered to assign the processed file to a particular station. If the station with this number does not exist, the file is considered to be unknown (see communication line protocol parameter Unknown files backup directory).

Kotva
stanica_parametre
stanica_parametre
Station protocol parameters

...

Dialog window station configuration - tab Protocol parameters.
They influence some optional protocol parameters. The following station protocol parameters can be entered:

Table 2

ParameterDescriptionUnitDefault value
Kotva
wt
wt
Maximum File Timeout
If the
input
Input file
is
 is a particular file, after this timeout passes without a file being processed, then the
station value is transferred to
Station goes to a communication error.min45
Kotva
fnm
fnm
Filename Mask
Mask for the name testing of the processed files. The following digit placeholder can be used:
{N} - electrometer number,
beware of
mind the number of
figure
figures, e.g.{NNNNNNNN},
{yy} or {yyyy} - year,
{mm} - month,
{dd} - day,
{hh} - hour,
{mi} - minute,
{ss} - second.
Exmple of mask: "Meter_{NNNNNNNN}{yy}{mm}{dd}{hh}{mi}.abl".
Time stamp gained
If a timestamp can be obtained from the file name
(if
, it
is possible)
is used
at
for saving the file
saving
to the archive directory (see
communication
Communication line protocol
parameters
parameter Archive subdirectory time mask).
If the electrometer number
is gained
can be obtained, it is used for searching for the proper station.
In
case of not using
the mask is not used, leave the parameter
should be
empty. The station address is
,
then
, searched by acquired object value
acquired from the value of object 0.0.0, C.1.0, or ZNR1 (previously, ZNR1 was previously used only in the case ofGorlitz PRM62 Module, currently it is used also for other types of energy meters).--
Kotva
csec
csec
External Command File
Complete
The complete path to a periodically called external command file (.cmd). The command file is called before accessing the input file. It is used only if a non-empty value has been configured.--
Kotva
csep
csep
External Command File Period
Call period
Period of calling the external command file.mi:ss1:00

Kotva
cses
cses
Call Ext. Command File Synchronously

Call the external command file synchronously.YES/NOYES

Kotva
anv
anv
Old Values As New Values

All values from communication (even old ones) go to the system as new values.YES/NONO

Kotva
s2f
s2f
PRM62 Status To Flags

The parameter is only used when analyzing files from the Gorlitz PRM62 (see the Gorlitz PRM62 Module line parameter). When enabled, attributes Invalid (invalid value), ShortPeriod (data for the whole measurement period are not available to electrometer), and TimeSet (time has been set during the measurement period) are mapped into flags FA, FB, FC.

YES/NONO

Kotva
merany_bod
merany_bod
I/O tag configuration

...

Supported value types of I/O tags: Ai, Ci, TxtI.

Kotva
adresa_bodu
adresa_bodu
I/O address

...

Address The address of the I/O tag corresponds to standard IEC 62056-61:2002 Object Identification system System (OBIS), "Annex A - Code presentation".

Shortened The shortened address format is supported: C.D[.E][*F]

where is

  • C - Value group C (number within the range of 0..99 or symbols 'C', 'F', 'L' or 'P').
  • D - Value group D (number within the range of 0..99 or symbols 'C', 'F', 'L' or 'P').
  • E - Value group E (number within the range of 0..255).
  • F - Value group F (number within the range of 0..255).

A special I/O tag with address "$SW" acquires the value of the profile status word.

File example

...

[HEADER]
PROT = 0
ZNR1 = 00359487
TIME = 10:02:05
DATE = 22.10.04

[PDATA]
/EMH4\@01QJKB0660L0C1
0.0.0(00359487)
0.0.1(00359487)
0.9.1(100208)
0.9.2(041022)
F.F(00000000)
P.01(041022094500)(00000000)(15)(4)(1.5)(MW)(2.5)(MW)(3.5)(Mvar)(4.5)(Mvar)
(00.000)(00.000)(00.000)(00.000)
(00.000)(00.000)(00.000)(00.000)
!

...

P.01 - profile
(041022094500) - the time stamp timestamp of the first row with values
(00000000) - the profile status word
(15) - period of measurement in minutes
(4) - number of channels
(1.5) - first channel, 1 = Value Group C = Reactive power+, 5 = Value Group D = Last average 1
(MW) - unit of the first channel
etc.

...

Info
titleRelated pages:

Communication protocols


flags