Supported device types and versions
Communication line configuration
Communication line protocol parameters
Communication station configuration
Station protocol parameters
I/O tag configuration
I/O tag address
Literature
Changes and modifications
Document revisions
The protocol implements serial communication with devices according to international standard IEC62056-21, protocol mode C, or protocol mode D (passive readout).
Configuration dialog box, tab Protocol parameters - select the protocol "IEC62056-21:2002 Serial".
Table 1
| Parameter | Meaning | Unit | Default value |
|---|---|---|---|
| The parameter is implemented only for TCP/IP-TCP line category. The parameter activates the disconnection of the TCP connection after each reading cycle, or after time synchronization. The parameter was implemented to enable communication between other devices and electricity meters. | YES/NO | NO |
| The common call prefix for phone modem connection (only lines of the MODEM category). | |||
| The YES value activates SW emulation of transfer parameters of 7 data bits, even parity, when the transfer parameters of 8 data bits, no parity, are set (i.e., emulation 7E1 when 8N1 is set). | YES/NO | NO |
Configuration dialog box - tab Protocol parameters.
These parameters influence some optional protocol parameters. The following station protocol parameters can be set:
Table 2
| Parameter | Meaning | Unit | Default value |
|---|---|---|---|
| The phone number for connection via modem with this station (only lines of the MODEM category). | ||
| The maximum waiting time on connection via modem (only lines of the MODEM category). | sec | 60 | |
| The maximum number of attempts to connect via modem (only lines of the MODEM category). | 1..20 | 1 | |
| Delay before attempting to dial after an unsuccessful connection attempt (only lines of the MODEM category). | sec | 30 | |
| 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 lowercase 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 uppercase letter, this does not preclude supporting a 20 ms reaction time. | ms | 200 | |
| The time delay between reading the answer till it is completed. See the note for the Wait First Timeout parameter. | ms | 200 | |
| A retry count for reading the response until its completion. | 1 .. 100 | 20 | |
| The delay between the request retries, if a communication error occured. | ms | 1000 ms | |
| A number of retries in case of a communication error. | 1 .. 20 | 3 | |
| Timeout for waiting for an answer to the modem hangup operation (only lines of the MODEM category). | sec | 15 | |
| Activation of a passive mode, which corresponds to IEC62056-21, protocol mode D (no requests are sent, data arrives spontaneously) | YES/NO | NO |
| 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 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 | |
| The parameter enables the reading of the current values ("data readout"). | YES/NO | YES | |
| The parameter enables reading of the "manufacturer-specific table" values, 1st 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, 2nd 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, 3rd 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 | - |
| The parameter enables the reading of the historical data from the profile. | YES/NO | YES | |
| Profile name - OBIS code of the load profile used during the reading of historical data from the profile. | P.01 | ||
| Date and time masks used for reading historical data from the profile. 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 | ||
| Time depth of historical profile readings. | hour | 24 | |
| Time rounding of data from a profile. | min | 15 | |
| 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. Note: The value 0 means reading all historical data at once. | x Time Round | 2 | |
| Access level used to read historical data from the profile. | 0-9 | 5 |
| Method of reading from the profile:
BLOCK READ divides the data into several blocks with a size of Profile Read Block Length rows. Block reading makes sense on lines with higher error rates. | - | VDEW read command (R5) |
| 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) | row | 4 |
| 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> ). | - | |
| If the meter does not respond when reading data from the profile, the next time interval is read (YES) or the reading is interrupted and the reading of the profile for the problematic time interval is repeated during the next data reading from the station (NO). | YES/NO | NO |
| The password necessary for changing the configuration of the device (level 1) used to set the date and time. | "00000000" | ||
| A flag that indicates the type of date/time used by the device. Electrometers LZQJ, manufactured by EMH Elektrizitätszähler, indicate the type of date/time by this flag (0=Normal Time, 1=Summer Time, 2=UTC Time). This flag is used by the Time Mask and Date Mask parameters to set the time and by the 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 | |
| Register used to set the time. The parameter is important only if synchronization is enabled on the "Time parameters" tab in the configuration of the station. | 0.9.1 | ||
| 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 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 | ||
| Register used to set the date. The parameter is important only if synchronization is enabled on the "Time parameters" tab in the configuration of the station. | 0.9.2 | ||
| 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 synchronization is enabled on the "Time parameters" tab in the configuration of the station. Note: Some 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 | ||
| Special settings used when setting the date and time. These may be required by some electricity meters.
| Normal (00000000) | Normal |
| A special initial string of modem 1 (only for MODEM lines). | AT&FE0V1Q0B0X3L0M0 | |
| 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 the idle timeout expired. Necessary for assuring connection termination after the communication with the last device is over. | ATS37=5&D2S0=0S7=60S30=2 | ||
| Full tracing of communication, loaded values of I/O tags, and other debug information are shown. | YES/NO | NO |
| 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: | YES/NO | NO |
| It activates data processing according to the software implementation of the protocol from Unicontrols. | YES/NO | NO | |
| 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/NO | NO |
| Ignore packet checksum. The packet will be processed even if the checksum does not match. | YES/NO | NO |
Possible types of I/O tag values: Ai, Ci, Di, TxtI, TiA, TiR.
I/O tag address corresponds to standard IEC 62056-61:2002 Object Identification System (OBIS) in terms of "Annex A - Code presentation".
The I/O tag with an address starting with %IGNORE will be ignored.
Abbreviated format of the address is supported: C.D[.E][*F] as well as full format A.B.C.D[.E][*F]
(from 31.5.2021 also format containing colon and hyphen separators instead of a full stop, e.g. A-B:C.D.E)
in which:
Example of addresses:
0.0.0 Meter address
0.0.1 Identity number
0.9.1 Time
0.9.2 Date
1.2.1 Cumulative P+ Tariff 1
1.2.2 Cumulative P+ Tariff 2
1.6.1 Maximum P+ Tariff 1
1.8.1 Energy P+ Tariff 1
3.6.1 Maximum Q+ Tariff 1
3.6.1*01 01.Pre-value Maximum Q+ Tariff 1
-