...
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).
...
- 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 wordKeyword | Full name | Meaning | Unit | Default value | ||||||
---|---|---|---|---|---|---|---|---|---|---|
| Wait Timeout | Timeout to receive a response or one of its fragments. | s.ms | 1.5 s | ||||||
| Fragmented answer is expected | The response may consist of several UDP packets (fragments). | - | False | ||||||
| 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 | ||||||
| 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 | ||||||
| 1min Archive Data Object ID | The 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 | ||||||
| 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 | ||||||
| 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 | ||||||
| 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 archivelog. | - | 0 | ||||||
| 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 | ||||||
| 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 | ||||||
| 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 ID, 1min Archive Data Object ID a , and 15min Archive Data Object ID objects. | - | 16 | ||||||
| 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 | ||||||
| Debug Packet Binary Contents | Activates advanced debugging with the listing of binary data being sent and received. | YES/NO | YES | ||||||
| Debug Values | Activates advanced debugging with the listing of I/O tag values. | YES/NO | NO |
...
I/O tag types: Ai, Ci, Qi, Di, TiA, Co.
The address of the I/O tag can have different forms.
...
- EiNr - electrometer number in EI structure (1..255). The total number of electrometers that the concentrator sends must be set in the "Number of EIs" protocol parameter.
- EiInd - measurement index of electrometer within the EI structure (1..255). The total number of measurements for one electrometer that the concentrator sends must be set in the "Number of values in EI" protocol parameter.
- EiParam - measurement parameter: AV|AV1|AV15|N|N1|N15|VN|1N|1V|2N|2V|3N|3V
- AV - Instant value of the counter [kWh, kVArh]
- AV1 - Instant value of the counter at the end of 1-minute interval
- AV15 - Instant value of the counter at the end of 15-minute interval
- N - Number of the last accumulation
- N1 - Number of the last accumulation at the end of 1-minute interval
- N15 - Number of the last accumulation at the end of 15-minute interval
- VN - Value of the counter at the last accumulation [kWh, kVArh]
- 1N - Number of the previous (1-st older) accumulation
- 1V - Value of the counter at the previous (1st older) accumulation
- 2N - Number of 2-nd older accumulation
- 2V - Value of the counter at the 2-nd older accumulation
- 3N - Number of 3-rd older accumulation
- 3V - Value of the counter at the 3-rd older accumulation
...
- EmNr - electrometer number in EM structure (1..255). The total number of electrometers that the concentrator sends must be set in the 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]
- PV1 - Average power at the end of the 1-minute interval [kW, kVAr]
- PV15 - Average 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 the "Number of word counters" protocol parameter.
Examples of addresses:
...
- 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.
Examples of addresses:
DWGA.0.FLOAT
DWGA.4.WORD.1615
DWGA.6.BYTE.1
An object with a Generic Event Object ID address is used to access events from the event log. For reading, a Co type I/O tag with a RECNR address is required. Writing an integer value into it will read the event with the corresponding record number from the event log. The format of the read data is application dependent (depending on the configuration of the Remia KME concentrator). The number of the most recent (or next) record in the event log can usually be obtained by reading a block with generic instant values. Writing of value into I/O tag with a RECNR address is finished after the read data have been inserted into defined input I/O tags.
Kotva | ||||
---|---|---|---|---|
|
...