Porovnávané verzie

Kľúč

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

...

LPEX V2.0
Datum;Zeit;Kundennummer;Kundenname;eindeutigeKDNr;GEId;GEKANr;KALINr;Linie;eindeutigeLINr;ZPB;Kennzahl;Einheit;Wandlerfaktor;MPDauer;Werte
15.04.14;00:07:00;;;;;;;;;SK40000041499000000000BESENOVA_T1;AP-M;kWh;1;01;0;00000
15.04.14;00:07:00;;;;;;;;;SK40000041499000000000BESENOVA_T1;AP+M;kWh;1;01;0;00000
15.04.14;00:07:00;;;;;;;;;SK40000041499000000000BESENOVA_T2;AP-M;kWh;1;01;27;00000
21.12.22;11:45:00;;;;;;;;;SK100000314990000LMARA_F45Q5_KSP2;KSP;IMP;1;15;99;00000

One row of a table corresponds to one row in a text file. A symbol ";" is used as a separator, which may be redefined in the station parameters - the "Column Delimiter" parameter.

...

LPEX V2.0















DatumZeit 







ZPB Kennzahl Einheit Wandlerfaktor MPDauer Werte 
15.4.20140:07:00 







xxxSK40000041499000000000BESENOVA_T1AP-MkWh11010000000
15.4.20140:07:00 







yyySK40000041499000000000BESENOVA_T1AP+MkWh11010000000
15.4.20140:07:00 







zzzSK40000041499000000000BESENOVA_T2AP-M kWh1012712700000
21.12.202211:45:00







SK100000314990000LMARA_F45Q5_KSP2KSPIMP11599000000


The MPX file is an even more primitive text file protocol that has only a data portion. The body of the MPX file may look as follows:

SK10000022099000000000ETRENCIN_G1;AP-M;1;01;00;0;1805151136;92.4;kWh

SK10000022099000000000ETRENCIN_G2;AP-M;1;01;00;0;1805151136;94.8;kWh
SK10000022099000000000ETRENCIN_T1;AP-M;1;01;00;0;1805151136;91;kWh


For a better visibility, the data is displayed in the table below. The header columns are described in Protocol parameters in the section section Communication station configuration.

...

ParameterDefault valueMeaning

Kotva
ft
ft
File Type

LPEXType of processed files - LPEX (*.lpx) or MPX (*.mpx).

Kotva
n_date
n_date
Date Column Name

DatumColumn name containing the date.
Kotva
n_time
n_time
Time Column Name
ZeitColumn name that contains time data.
Kotva
n_addr
n_addr
Address Column Name
ZPBColumn name that contains a value address.
Kotva
n_units
n_units
Tech. Units Column Name
EinHeitColumn name that contains a unit of a measured value (or IMP for a KSP value type).
Kotva
n_val
n_val
Value Column Name
WerteColumn name that contains the measured values.
Kotva
n_tval
n_tval
Value Type Column Name
KennzahlColumn name that contains a value type (AP+ ,AP- ,AQ+ ,AQ-, KSP).
Kotva
n_int
n_int
Interval Name
MPDauerColumn name that contains a granularity of measurements [min].
Kotva
mc
mc
Max. Columns Number
30Defines maximum count of columns, that are scanned when data acquisition.
Kotva
delim
delim
Column Delimiter
;Value separator in the header and body.
Kotva
dmask
dmask
Date Conversion Mask
dd.mm.rrA mask for the conversion of the date in the text format to an internal date. In the case of MPX files, the mask is ignored.
Kotva
tmask
tmask
Time Conversion Mask
hh:mi:ssA mask for the conversion of time in the text format to an internal time. In the case of MPX files, the mask is ignored.
Note: time in LPEX, as well as the MPX file, is presumed to be in the wintertime. 
Kotva
cp
cp
Command Path

Directory for storing the batch files (e.g. unpacked ZIP archive).
Kotva
cpvms
cpvms
Command Path VMS

Only for OpenVMS. Directory (e.g. DKA0:[IFAZD]) containing the batch files TESTZIP.COM and UNZIP.COM.
Kotva
dc
dc
Download Command File
ftp_download.comBatch file for downloading data from the FTP server.
Kotva
tmpdc
tmpdc
Delete Temporary Files
deltmp.comBatch file for deleting temporary files (FTP_DELETECMD, MAKE_TESTZIP.COM, MAKE_UNZIP.COM).
Kotva
zipm
zipm
ZIP File Mask
GOEONL{rrrr}-{mm}-{dd}-{hh}-{mi}-{ss}.zip*Time and date mask for the name of the ZIP file. If the parameter is empty, it is assumed that LPEX or MPX files are located in the directory specified by the parameter Directory for Unzipped files.
Kotva
lpxm
lpxm
LPX File Mask
GOEONL_{rr}{mm}{dd}{hh}{mi}.lpx*

Time and date mask for the name of unzipped LPEX files. If MPX files are processed, their name must match mask *{yy}{mm}{dd}{hh}{mi}.mpx or at least *{yy}{mm}{dd}{hh}{mi} e.g. ETREN_03_1805151136.mpx


Kotva
ud
ud
Directory for Unzipped files
DKA200:[000000.IFAZD.UNZIPPED]Directory, from which the unzipped LPEX or MPX files will be read.
Kotva
rdd
rdd
Remote Data Directory
2RoveDirectory on the FTP server that contains ZIP files.
Kotva
ftpsp
ftpsp
Primary FTP Server
10.11.1.131Name/IP address of the primary FTP server.
Kotva
ftpss
ftpss
Secondary FTP Server
10.11.1.131Name/IP address of the secondary FTP server.
Kotva
ftpus
ftpus
FTP User
azdinterfaceFTP user name on both the primary and secondary FTP servers.
Kotva
ftppa
ftppa
FTP Password
***FTP user password on both the primary and secondary FTP servers.
Kotva
ftpct
ftpct
FTP Connection Timeout
30If the downloading or deleting of files on the FTP server took longer than this setting, this information is written into the log file of the KOM process.
Kotva
ptu
ptu
Active Energy Tech. Units
MWHTechnical units of active energy.
Kotva
qtu
qtu
Reactive Energy Tech. Units
MVARHTechnical units of reactive energy.
Kotva
expi
expi
Expected Interval
1 minThe expected time interval of all values. If the value in the processed file in the "Interval Name" column is higher than "Expected Interval", the value of energy will be evenly split into several intervals of "Expected Interval" size.
The value 0 disables this feature.

Kotva
hsa
hsa
Hour Subdirectories in Archive

NOThe parameter activates the archiving of processed files in subdirectories according to the hours within the day (i.e. 00 to 23).
In the case of a large number of processed files, further work with them is simplified.

Kotva
aafs
aafs
Analyze Archived Files on Startup

YESWhen starting, the KOM process inspects old data sources to recalculate the value of electrical work.
Note: if the "Hour Subdirectories in Archive" parameter is activated, only old files from the last hour will be inspected.
Kotva
sov
sov
Send Old Values
NOAnalyzes also the files that are older than "Maximum File Age".
Kotva
ofage
ofage
Maximum File Age
3 hodIf the interval is exceeded, the values are either ignored or processed as Old Values, depending on the "Send Old Values" parameter.

Kotva
sltw
sltw
Debug unknown and lost tags  

NOEnables displaying warnings about addresses of measurement points with missing I/O tags.

Kotva
anv
anv
Old Values As New Values

NOAll values from communication (even old ones) go to the system as new values.

...

The third part represents the value type (AP+, AP-, AQ+, AQ-, KSP), which is in the "Value Type Column Name".
Note: KSP means pulse values from the KSP devices (units are IMP = impulses). Such I/O tags should have a type of value equal to E (Energy), the technical units are ignored (the conversion is not performed).

Note: configuration of two I/O tags of types Power and Energy and the next two parts of their address is identical, is not currently supported. Only one of these I/O tags will work. Combinations of Power + Work or Work + Energy are supported.

...

  • Ver. 1.0 - April 23, 2014 - New document.
  • Ver. 1.1 - May 17, 2018 - Support for MPX files.
  • Ver. 1.2 - August 1, 2023 - Support for KSP (impulses) in LPX files.


Info
titleRelated pages:

Communication protocols

...