Porovnávané verzie

Kľúč

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

...

The protocol supports reading data from the Remia KME concentrator. Internal The internal number of the REMIA protocol is 206.

The protocol supports reading of instant values as well as 1-minute and 15-minute archives of measurements from electrometers, which KME obtains:

...

The protocol also supports the reading of instant values of binary data and values of 16-bit counters.
The protocol also supports the reading of generic instant values  (I/O tags with GA address) and the reading of records from event log archives (I/O tags with RECNR address).

...

  • Communication line category: TCP/IP-UDP.
  • Parameters of TCP/IP-UDP line:
    • Host: IP address of KME concentrator
    • Port: UDP port of the concentrator where requests are send sent (default port is 5001).
    Note: The parameters of the backup server (Host and Port) are not used in this protocol.

...

  • Communication protocol: Remia KME.
  • Station The station address is not specified.

...

Station protocol parameters

Configuration The configuration dialog box of station - the tab "Protocol parameters".

Table 1

Key wordKeywordFull nameMeaningUnitDefault value

Kotva
wt
wt
WT

Wait TimeoutTimeout to receive a response or one of its fragments.s.ms1.5 s

Kotva
fa
fa
FA

Fragmented answer is expectedThe response may consist of several UDP packets (fragments).-False

Kotva
adoi
adoi
ADOI

Actual Data Object ID

The address of the object (16-bit number) that contains information about the instant values (analogs). A value of 0 disables the reading of the instant values as well as their 1 and 15-minute archives.

-8

Kotva
a15oi
a15oi
A15OI

15min Archive Data Object ID

The address of the object (a 16-bit number) that contains containing information about 15-minute values. A value of 0 disables the reading of 15-minute values.

-5

Kotva
a1oi
a1oi
A1OI

1min Archive Data Object IDThe address of the object (a 16-bit number) that contains containing information about 1-minute values. A value of 0 disables the reading of 1-minute values.-9

Kotva
abii
abii
ABII

Binary data Object ID

The address of the object (a 16-bit number) that contains information about binary values. A value of 0 disables the reading of binary values.

-0

Kotva
gadoi
gadoi
GADOI

Generic Actual Data Object ID

The address of the object (16-bit number) that contains information about the generic instant values (addresses of I/O tags of GA type). A value of 0 disables the reading of generic instant values.

-0

Kotva
geoi
geoi
GEOI

Generic Event Object ID

The address of the object (16-bit number) that contains event information from the event log of RemiaKME. A value of 0 disables work with the event log.
A specific event is read from the archive by writing to the I/O tag with RECNR address.

-0

Kotva
emnr
emnr
EMNR

Number of EMs

The number of electrometers (1-255) whose instant data from impulse measurement (instant counter value, instant power, average power since the start of the current time interval, the validity of the meter's data) are in response to reading the Actual Data Object ID, and whose historical data 1-minute and The 15-minute minutes minute data (end-of-period counter value,, average power per period, the validity of electrometer data) are in response to reading 1min Archive Data Object ID and 15min Archive Data Object ID.

-41

Kotva
einr
einr
EINR

Number of EIs

The number of meters (1-255) whose instant data from IEC communication (instant counter value, numbers of last 3 accumulations, counter values for the last 3 accumulations) are in response to reading the Actual Data Object ID, and historical data (last accumulation number, the counter value for the last accumulation) are in response to reading 1min Archive Data Object ID and 15min Archive Data Object ID objects.

-6

Kotva
eivr
eivr
EIVR

Number of values in EI

The number of measurements (1-255) in the EI section (data from IEC communication) in response to reading the Actual Data Object ID1min Archive Data Object ID , and 15min Archive Data Object ID objects.

-16

Kotva
wcnr
wcnr
WCNR

Number of word counters

The number of 16-bit counters (0-255) whose values are in response to reading the Actual Data Object ID object.

-0

Kotva
pbd
pbd
PBD

Debug Packet Binary Contents

Activates advanced debugging with the listing of binary data being sent and received.


YES/NOYES

Kotva
full_debug
full_debug
FULL_DEBUG

Debug Values

Activates advanced debugging with the listing of I/O tag values.

YES/NONO

...

I/O tag types: Ai, Ci, Qi, Di, TiA, Co.

The address of the I/O tag can have different forms.

...

  • EmNrelectrometer number in EM structure (1..255). The total number of electrometers that the concentrator sends must be set in the Number of EMs protocol parameter.
  • EmParam - measurement parameter: CA|CA1|CA15|OV|PV|PV1|PV15|PPO
    • CA - Instant value of the counter (0..9_9999_9999)
    • CA1 - Instant value of the counter (0..9_9999_9999) at the end of 1-minute interval
    • CA15 - Instant value of the counter (0..9_9999_9999) at the end of 15-minute interval
    • OV - Instant power [kW, kVAr]
    • PV - Average power since the beginning of current 15-minute interval [kW, kVAr]
    • PV1Average power at the end of the 1-minute interval [kW, kVAr]
    • PV15Average power at the end of the 15-minute interval [kW, kVAr]
    • PPO - Electrometer's data validity (a 16-bit number specifying the number of seconds)

Examples of addresses:

...

  • WrNr - ordinal number of word address (1..255) within a response
  • BitNr -  bit number (0..15)
  • DiParam - parameter INP|PPO
    • INP - binary value (digital input)
    • PPO - data validity (a 16-bit number specifying the number of seconds)

Examples of addresses:

...

For instant values of 16-bit counters - read from the object with address Actual Data Object ID - it has the form EW.EwNr  where:

  • EwNr ordinal number of the counter (1..255) within a response. The total number of counters that the concentrator sends must be set in the Number of word counters protocol parameter.

...

  • Offset - offset of value in the response(0..65535). For multibyte values, this is the offset of the first byte.
  • Type - the type of value. The following types are supported:
    • BYTE - 1-byte unsigned number
    • SBYTE - 1-byte signed number
    • WORD - 2-byte unsigned number
    • SWORD - 1-byte signed number
    • DWORD - 4-byte unsigned number
    • SDWORD - 4-byte signed number
    • FLOAT - 4-byte float number
    • DFLOAT - 8-byte float number
      Note: if the DFLOAT value type is configured on the I/O tag of the TiA type, it is interpreted as a Unix times time (number of seconds since January 1, 1970, in UTC)
      RTD - 4-byte timestamp (2 bytes hours/minutes/day, 2 bytes month/year)
  • BitNr - optional bit number for values of BYTE (0-7) and WORD (0-15) types, if the values are assigned to I/O tags of Di type.

...