Porovnávané verzie

Kľúč

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

...

The protocol supports communication with ELCOR-2, microELCOR-2, ELCORLiteminiELCOR,and ELCORplus devices (made by the ELGAS company ) that recalculate a gas quantity.

When communication is established, the current device configuration is read. From it, for each configured object (identified by the "Name" field), its address ("ID" field) necessary for the configuration of the I/O tag and the object type ("Object type" field) can be determined. Example of a reading:

--> :  2. ( 263)RECORD_TYPE_30
Length        : 75
Object type   : 30
Number        : 0
ID            : 1
Adr_inCurrent : 6
Adr_inArchiv  : 10
BitControl    : 155-DATA,DAY,INVOICE,METROL,
Name          : Pressure p1
Unit          : bar
Digit         : 8.697641897E-05
Offset        : 0
Low_Limit     : 0.80000001192093
High_Limit    : 5.1999998092651
Serial Nr     : 1986200392
ErrBit(T_ERR_CURRENT) offset=1076
ErrBit(T_ERR_BIN_ARC) offset=94
ErrBit(T_ERR_DAT_ARC) offset=0
AdrRec inCur  : 10
AdrRec inMonth: 0
Nr of Pattern : 0
Tithe         : v

The following object types are currently supported:

Object typeDescription
30Analog value (unsigned short)
31Binary (bit)
32Counter (unsigned long)
33Counter - normalized (double float)
34Flow (float)
35Flow - normalized (float)
36Conversion factor (float)
45Counter - default  (unsigned long)
46Counter - normalized default  (double float)
47Compressibility (float)
49Counter - correctional (unsigned long)
53Counter (double float)
54Counter - default (double float)
61Device error (bit)
62Sum of alarms (bit)
64Code of input (bit)
65Timer (unsigned long)
70Setpoint (bit ?)
74Compressibility Z (float)
75Compressibility Zb (float)
80Analog statistical quantity (unsigned short)
81Counter - statistical (unsigned long)
82Counter - recalculated statistical (unsigned long)
83Statistical quantity of flow/compressibility/recalc.number (float)

Kotva
komunikacna_linka
komunikacna_linka
Communication line configuration

...

Full nameMeaningUnitDefault value
Kotva
devt
devt
Device Type
Selection of device type.ELCOR-2 or microELCOR-2ELCOR-2
Kotva
rc
rc
Retry Count
The delay between request retries in case of a communication failure.
3
Kotva
wft
wft
Wait First Timeout
Delay after sending the request before reading the response.ms100 ms
Kotva
wt
wt
Wait Timeout
Delay The delay between response readings until it is completed.ms100 ms
Kotva
mwr
mwr
Max. Wait Retry
Retry count of response reading until it is completed.
30
Kotva
srdtm
srdtm
Static Data Read Period
Period of reading static - configuration data (microELCOR-2 only).min60 min
Kotva
hardp
hardp
Hourly Archive Periodic Reading
A period for the reading of hourly archives (0-60 min). Value 0 disables the reading.min0 min
Kotva
wusl
wusl
Wake Up Sequence Length
Length of 'wake-up' data sequence, which is sent before the request after a longer communication pause.0 .. 50 bytes25 bytes
Kotva
wueq
wueq
Wake Up Each Query
Insert 'wake-up' data sequence before each request.YES/NONO
Kotva
wuch
wuch
Wake Up Character
Form 'wake-up' data sequence from the specified characters.0 .. 255255
Kotva
ga
ga
Group Source Address
Group source address (address of the D2000 KOM process).0 .. 655350
Kotva
sa
sa
Source Address
Source address (address of the D2000 KOM process).0 .. 2550
Full DebugA high level of communication tracking, the received values of I/O tags and other debug information is shown.YES/NONO

...

Table 2 contains the list of the main parameters of the device.
Tables 3 to 8 contains the list of variable configuration and informative data according to the parameter type. DESC(ind) parameter represents the common data of all parameters. It describes the quantity. The current value of quantity can be acquired by the configuration of the I/O tag with numerical address - index ind (number from 1 and higher). To find out the technical units - configure text of I/O tag with the address UNIT(ind).


Table 2 - Device parameters - Main device parameters

...