Porovnávané verzie

Kľúč

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

...

The protocol implements serial communication with devices according to international standard IEC62056-21, protocol mode C or protocol mode D (passive readout).

Kotva
komunikacna_linka
komunikacna_linka
Communication line configuration

...

ParameterMeaningUnitDefault value

Kotva
telnr
telnr
Modem Telephone Number

The phone number for connection via modem with this station (only lines of MODEM category).


Kotva
dialtm
dialtm
Dial Timeout
The maximum waiting time on connection via modem (only lines of MODEM category).sec60
Kotva
dialrc
dialrc
Dial Retry Count
The maximum number of attempts to connect via modem (only lines of MODEM category).1..201
Kotva
dialrt
dialrt
Dial Retry Timeout
Delay before attempting to dial after an unsuccessful connection attempt (only lines of MODEM category).sec30
Kotva
wft
wft
Wait First Timeout
The time delay between sending the request and reading the answer.
Note: a device sends a 3-character manufacturer's identification in the identification message. The standard defines that if the 3-rd character is a lower case letter, (e.g. in identifications ELm or UNi), the minimum reaction time for such a device is 20 ms instead of 200 ms. If the 3-rd character is an upper case letter, this does not preclude supporting a 20 ms reaction time.
ms200
Kotva
wt
wt
Wait Timeout
The time delay between reading the answer till it is completed. See the note for the Wait First Timeout parameter.ms200
Kotva
mwr
mwr
Max Wait Retry
A retry count of reading response until its completion.1 .. 10020
Kotva
rt
rt
Retry Timeout
The delay between the request retries if the error communication occurs.ms1000 ms
Kotva
rc
rc
Retry Count
A retry count of request in case of the a communication error.1 .. 203
Kotva
dt
dt
Disconnect Timeout
Timeout for waiting for an answer to modem hangup operation (only lines of MODEM category).sec15

Kotva

ad

pm

ad

pm

Ack Delay
Delay after transmitting an acknowledgment of received data (ACK).ms

Passive Mode

Activation of a passive mode, which corresponds to IEC62056-21, protocol mode D (no requests are sent, data arrives spontaneously)YES/NONO100

Kotva
brch
brch
Baudrate Changeover (Z)
Value of 'Z' parameter - Baud rate identification (for baud rate changeover) of Acknowledgement/option select message request of protocol's C mode.

AUTO option finds out automatic automatically the value 'Z' from the acknowledging answer and uses it.

300 Baud
600 Baud
1200 Baud
2400 Baud
4800 Baud
9600 Baud
19200 Baud
38400 Baud
57600 Baud
115200 Baud
AUTO
2400 Baud
Kotva
lc
lc
Data Readout
The parameter enables the reading of the current values ("data readout").YES/NOYES
Kotva
mnfs
mnfs
Manuf. Spec. Table Readout Nr.1 (Y)
The parameter enables reading of the "manufacturer-specific table" values, 1-st block.
Choice '-' means the values are not read, choice '6' to '9' means the selected "manufacturer-specific table" will be read.
-
6
7
8
9
-
Manuf. Spec. Table Readout Nr.2 (Y)The parameter enables reading of the "manufacturer-specific table" values, 2-nd block.
Choice '-' means the values are not read, choice '6' to '9' means the selected "manufacturer-specific table" will be read.
-
6
7
8
9
-
Manuf. Spec. Table Readout Nr.3 (Y)The parameter enables reading of the "manufacturer-specific table" values, 3-rd block.
Choice '-' means the values are not read, choice '6' to '9' means the selected "manufacturer-specific table" will be read.
-
6
7
8
9
-
Kotva
lp
lp
Load Profile
The parameter enables the reading of the historical data from the profile.YES/NOYES
Kotva
prof
prof
Profile
Profile name - OBIS code of load profile used during the reading of historical data from profile.
P.01
Kotva
ptmas
ptmas
Profile Time Mask
Date and time mask masks used to read historical data from the profile.  Meaning Meaning of the "z" flag - see the description of the Session Recognition Flag parameter.
The letter " z" is used to set the time and is replaced by a value of 0, 1, or 2 according to the Session Recognition Flag parameter.

zyymmddhhmi
Kotva
tf
tf
Profile History Depth
Time depth of historical profile readings.hour24
Kotva
tr
tr
Time Round
Time rounding of data from a profile.min15
Kotva
tlx
tlx
Profile Read Step
The time range of data that is queried from the profile in one request. It is entered as a multiple of the "Time Round" parameter.x Time Round2

Kotva
prl
prl
Profile Read Level

Access level used to read historical data from profile.0-95

Kotva
prm
prm
Profile Read Mode

Method of reading from the profile:

  • VDEW read command (R5) : READ command will be used (the R5 default level can be changed by the Profile Read Level parameter).
  • VDEW block read command (R6) : BLOCK READ command will be used (the default level should be changed to R6 by Profile Read Level parameter).
  • P1 + VDEW read command (R5) : first, a Level 1 password will be set (see the Password - level 1 parameter), and then the READ command will be used 
  • P1 + VDEW block read command (R6): first, a Level 1 password will be set (see the Password - level 1 parameter), and then the BLOCK READ command will be used 

BLOCK READ divides the data into several blocks with the size of Profile Read Block Length rows. Block reading makes sense on lines with higher error rates.

-VDEW read command (R5)

Kotva
bl
bl
Profile Read Block Length

Block size (number of rows) if BLOCK READ from the profile is used - if Profile Read Mode is VDEW block read command (R6) or P1 + VDEW block read command (R6)row4

Kotva
prfe
prfe
Profile Read Formatted Execution

This parameter enables specifying a special sequence that may be required by some electrometers. So far the only known sequence is F101()
(The whole sequence sent to electrometers is <SOH>E2<STX>F101()<ETX><SOH> ).
-
Kotva
pass1
pass1
Password - level 1
The password necessary for changing the configuration of the device (level 1) used to set the date and time.
"00000000"
Kotva
srflag
srflag
Session Recognition Flag
A flag that indicates the type of date/time used by the device. Electrometers LZQJ manufactured by EMH Elektrizitätszähler indicates the type of date/time by this flag (0=Normal Time, 1=Summer Time, 2=UTC Time).
This flag is used by Time Mask and Date Mask parameters to set the time and by Profile Time Mask parameter to read historical data from the profile.
Note: Both Normal Time and Summer Time values will cause the flag to be set depending on the time currently set or read.
Normal Time
Summer Time
UTC Time
Normal time
Kotva
treg
treg
Time Register
Register used to set the time.
The parameter is important only if the synchronization is enabled on the "Time parameters" tab in the configuration of the station.

0.9.1
Kotva
tmask
tmask
Time Mask
Mask used to set the time.
The letter "z" is used for time conversion according to the Session Recognition Flag parameter.
The parameter is important only if the synchronization is enabled on the "Time parameters" tab in the configuration of the station.
Note: Some meters are disturbed by summer/winter time ("z") flag and require mask hhmiss

zhhmiss
Kotva
dreg
dreg
Date Register
Register used to set the date.
The parameter is important only if the synchronization is enabled on the "Time parameters" tab in the configuration of the station.

0.9.2
Kotva
dmask
dmask
Date Mask
Mask used to set the date.
The letter "z" is used for dátumu conversion according to the Session Recognition Flag parameter.
The parameter is important only if the synchronization is enabled on the "Time parameters" tab in the configuration of the station.
Note: Some meters are meters are disturbed by the summer/winter time ("z") flag and require mask ddmmyy or require a year-month-day order (zyymmdd or yymmdd)

zddmmyy

Kotva
tm
tm
Time Date Mode

Special settings used when setting the date and time. These may be required by some electricity meters.

  • Normal: no special settings
  • (00000000): this string is added after the written date/time.
    Example: if Date Mask is zddmmyy,  the date 31 Dec 2019 is written as (0311219)(00000000)
Normal
(00000000)
Normal

Kotva
atcmd1
atcmd1
AT Command 1

A special initial string of modem 1 (only for MODEM lines).
AT&FE0V1Q0B0X3L0M0
Kotva
atcmd2
atcmd2
AT Command 2
A special initial string of modem 2 (only for MODEM lines).

Explanation of recommended settings:

S37=5   1200bps DTE-DTE speed - limits the speed for modems. Many devices use modems with limited transfer speeds and this setting can speed-up the connection establishment process. Higher transfer speeds must be negotiated individually.

&D2   DTR drop to hangup - for matching with the parameter of modem line (line configuration, tab "Modem - parameters", check the option "Use DTR for Hangup").

S0=0   Disable auto-answer. Auto-answer will not be used.

S30=2   20 sec inactivity timeout - automatic hangup after idle timeout expired. Necessary for assuring connection termination after the communication with the last device is over.



ATS37=5&D2S0=0S7=60S30=2

Kotva
fd
fd
Full Debug

Full tracing of communication, loaded values of I/O tags and other debug information are shown.YES/NONO

Kotva
inp
inp
Ignore Number of Periods

The parameter is used to ignore the "Number of Periods" value that a particular electricity meter (Schrack LZQJ) sent in the data reading for the Demand Register (class_id = 5). He sent this between the OBIS code and the value itself, which led to an unsuccessful attempt by the D2000 KOM process to interpret the value as an optional timestamp and subsequently to discard the entire data line read. Example of such a data line:
1.4.0(007)(0224*kW)
Note: sending "Number of Periods" does not comply with IEC62056-21.

YES/NONO
Kotva
ud
ud
Unicontrols Devices
It activates data processing according to software implementation of protocol from Unicontrols.YES/NONO

Kotva
ur
ur
Unicontrols Read Index

Activates reading of profile index (map of records stored in memory) within the reading of historical data from profile (Unicontrols device only). The retrieved index is not processed further and serves only as debugging information for Unicontrols.YES/NONO

Kotva
ibe
ibe
Ignore BCC Error

Ignore packet checksum. The packet will be processed even if the checksum does not match.

YES/NONO

Kotva
merany_bod
merany_bod
I/O tag configuration

...

  • Ver. 1.0 - April 24th, 2009 - document creation.
  • Ver. 1.1 - July 27th, 2022 - support for Mode D (parameter Passive Mode)


Info
titleRelated pages:

Communication protocols

...