Porovnávané verzie

Kľúč

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

Premex CALMEX II communication protocol

Supported device types and versions 
Communication line configuration
Communication station configuration
I/O tag configuration
Literature
Changes and modifications
Document revisions

Kotva
typy_verzie
typy_verzie
Supported device types and versions

...

Kotva
komunikacna_stanica
komunikacna_stanica
Communication station configuration

...

  • Communication protocol: Premex CALMEX II
  • Station address is a decimal number within the range of 1..250 250 (or a hexadecimal number with a hash at the beginning, e.g. #0A) – it is VKP address. By default, the address is set by the manufacturer according to the serial number (identification number) of the measuring device as the last three digits. If last three digits are greater than 250, the higher digit of them is not taken into account. If the serial number is one of the numbers of 000, 300, 400, 500, 600, 700, 800, 900 then must be changed.
  • Recommended polling parameters: Delay at least 1 minute.

...

The following station protocol parameters can be defined:

Table 1

KeywordFull nameMeaningUnitDefault value
Kotva
rc
rc
RC
Retry CountPoll repetition count in case of a communication error.-2 seconds
Kotva
rt
rt
RT
Retry TimeoutDelay between poll repetition in case of a communication error.ms100 ms
Kotva
wt
wt
WT
Wait TimeoutDelay between response readings till its finalization.ms500 ms
Kotva
wft
wft
WFT
Wait First TimeoutFirst waiting for response after sending the poll.ms800 ms
Kotva
mwr
mwr
MWR
Max Wait RetryRepetition count of response readings till its finalization.-40
Kotva
wul
wul
WUL
WakeUp LengthLength (given in characters) of so-called wake-up message sent before each poll.-20
Kotva
wud
wud
WUD
WakeUp DelayDelay between wake-up message and poll. It is recommended to enable the option WaitTxEMPTY in the line mode configuration.ms400

String containing the protocol parameters is being defined as follows:

...

Kotva
merany_bod
merany_bod
I/O tag configuration

...

Possible I/O tag types: Ai, Ci, TiA

Address: It requires to enter one number, listed in the following tableA number fro the following table must be entered (as a decimal number or as a hexadecimal number with a hash at the beginning, e.g. #0A):

Table 2

AddressMeaningTypeUnits
1Measuring device ID.Ci-
2Access number (measurement number incremented by 1 for each data reading).Ci-
3Status number, bit descriptions see the table 3, individual bits are sent to the value attributes.Ci-
4Heat quantity.AiMJ,GJ,kWh,MWh
5Heat rate.AiW,kW,MW
6Volume overflow.Ail,m3
7Volume flow.Ail/h,m3/h
8Forward temperature.AiºC
9Return temperature.AiºC
10Measuring device date+time.TiA-
11Heat quantity on the 1st date.AiMJ,GJ,kWh,MWh
12Heat quantity on the 2nd date.AiMJ,GJ,kWh,MWh
13Volume overflow on the 1st date.Ail,m3
14Volume overflow on the 2nd date.Ail,m3
151st date of data.TiA-
162nd date of data.TiA-

Values saved on 1st date or 2nd date are sent to the D2000 system with the save time. Measuring unit of individual parameters depends on the measuring device type.

Meaning of status word bits (Ci address - 3)

Table 3

Bit numberMeaningValue attribute
0Always 0.A
10 - current value, 1 - stored value.B
2Low input power.C
3Constant error.D
4Temporary error.E
5Water-meter error.F
6Temperature pickups error.G
7Always 0.H

Kotva
literatura
literatura
Literature

...