...
Parameter | Meaning | Unit / size | Default value | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Kotva | telnr | telnr | Modem Telephone NumberPhone number for modem connection with a device (only for MODEM lines). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
--- DLMS/HDLC parameters --- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Setting of this parameter of DLMS/COSEM protocol. Only Short_Name_Referencing_No_Ciphering is supported. Do not change value of this parameter. | Logical_Name_Referencing_No_Ciphering Short_Name_Referencing_No_Ciphering Logical_Name_Referencing_With_Ciphering Short_Name_Referencing_With_Ciphering | Short_Name_Referencing_No_Ciphering | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| HDLC MAC address of a client (i.e. D2000 KOM process). A default value is 10H which is the reserved value "Public client". See "DLMS UA 1000-2 Ed. 7.0" document, chapter 8.4.2.3 "Reserved special HDLC addresses". | 0 .. 7FH | 10H | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Maximal length of one HDLC frame packet on the receiver from the device. When occurring some communication problems (e.g. checksum error and so on), we recommend you to decrease the value of this parameter. | 250 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Maximal length of one HDLC frame packet on the transmitter to the device. When occurring some communication problems (e.g. checksum error and so on), we recommend you to decrease the value of this parameter. | 250 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Maximal length of PDU (data packet). One PDU can be divided into more HDLC frame packets according to settings of HDLC protocol parameters Max_info_field_length-receive parameter and HDLC Max_info_field_length-transmit parameter. Note: a specific electrometer (Landis ZMD.B23) only accepted value of 0. | 0 32 .. 240065535 | 1200 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| opm
| opm
| A Disconnect request will not be used after the readout of values from a device is finished. During next readout a connection establishment phase is omitted (HDLC mode-setting request and AARQ negotiation request). | YES/NO | NO | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Device password. If entered, the "Low Level Security" authentication with the entered password is used within the AARQ Association Request. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Opening mode of connection with device. If device is configured so that it directly uses DLMS/COSEM protocol on the given interface, set "Direct HDLC". Mostly (e.g. when reading through IR opto interface by optical reading head) you must open the connection by IEC protocol in so-called "mode E" and then transfer to HDLC binary protocol (i.e. DLMS/COSEM). "Mode E", according to specification of IEC protocol, uses the following setting of the transmission parameters:
If "Opening Mode" is set on "IEC mode E", above mentioned transmission parameters must be set. As for Serial communication line, the parameters must be set in the line parameters "Mode 1". See the protocol parameter "Software 7E1". The setting of the baud rate on 300 Baud is not required when using the line of MODEM category. It uses so-called DTE speed, between PC and modem. If this speed is higher than 300 Baud, you have to activate "handshaking" parameter on RTS/CTS in proper line mode. If parameter "Direct HDLC" is set, any dynamic change of transfer parameters is not expected. You can use any Serial line mode and set it by parameter "Line mode" on the station. More information is mentioned in IEC 62056-21, Electricity metering - Data exchange for meter reading, tariff and load Opening ModeOpening mode of connection with device.If device is configured so that it directly uses DLMS/COSEM protocol on the given interface, set "Direct HDLC". Mostly (e.g. when reading through IR opto interface by optical reading head) you must open the connection by IEC protocol in so-called "mode E" and then transfer to HDLC binary protocol (i.e. DLMS/COSEM). "Mode E", according to specification of IEC protocol, uses the following setting of the transmission parameters:
If "Opening Mode" is set on "IEC mode E", above mentioned transmission parameters must be set. As for Serial communication line, the parameters must be set in the line parameters "Mode 1". See the protocol parameter "Software 7E1". The setting of the baud rate on 300 Baud is not required when using the line of MODEM category. It uses so-called DTE speed, between PC and modem. If this speed is higher than 300 Baud, you have to activate "handshaking" parameter on RTS/CTS in proper line mode. If parameter "Direct HDLC" is set, any dynamic change of transfer parameters is not expected. You can use any Serial line mode and set it by parameter "Line mode" on the station. More information is mentioned in IEC 62056-21, Electricity metering - Data exchange for meter reading, tariff and load control - Part 21: Direct local data exchange, Annex E: "METERING HDLC protocol using protocol mode E for direct local data exchange". See also chapter "Setting of transmission parameters". | Direct HDLC IEC mode E | Direct HDLC | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
--- IEC Parameters --- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Kotva |
| It is a station address (device) and is used only if Opening mode is set on "IEC Mode E". The parameter is optional. It identifies the address of device at the beginning of communication via IEC protocol. If this parameter is not defined, the address will not be set and the device will always respond. If several devices are connected to one line (e.g. RS485 bus), IEC address of device must be set so that the devices could be identified and avoid a collision. A device address is max. 32 characters consisting of figures (0...9), capital letters (A...Z), small letters (a...z) or blank space ( ). Zeros in front of valid figure are ignored (i.e. address 10203 = 010203 = 000010203). "IEC Device Address" is a serial number of device. This register has address "0-0:C.1.0" - Device ID 1, manufacturing number in OBIS addressing. The picture below shows the front panel of EMH LZQJ device. There is serial number, i.e. IEC address (563911). If device contains a display, this value may be displayed as you can see on the picture. | - | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| This parameter is used only if Opening mode is set on "IEC Mode E". It defines baud rate for the communication through HDLC protocol DLMS/COSEM after changeover from IEC mode E to the HDLC binary communication. As for Serial line, this parameter must set the baud rate on "Mode 2". AUTO option sets the baud rate according to the value from a device. If this baud rate can not be identified, you should trace the diagnostic communication logs. You can find there the following message:
and set the baud rate according to it. HDLC binary communication through DLMS/COSEM protocol unlike the opening IEC step is realized by different parameters which have to be set in "Mode 2" of the Serial line category:
See the parameter "Software 7E1" and the chapter Settings of transmission parameters. | 300 600 1200 2400 4800 9600 19200 AUTO | AUTO | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| It is used if "Opening mode" is set on "IEC Mode E". YES option switches SW emulation of transfer parameters of 7 data bits, even parity when the transfer parameters of 8 data bits are set, none parity (i.e. emulation 7E1 when 8N1 is set). It enables to use "IEC mode E" option for SerialOverUDP lines that do not support a dynamic changes of transfer parameters. See the chapter Settings of transmission parameters. | YES/NO | NO | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| It is used if "Opening mode" is set on "IEC Mode E". Nonzero value activates the sending of so-called "wake-up message" which activates the communication interface of battery-powered device. The null characters (0x00) are sent according to quantity that is characterized by the parameter value. The baud rate must be 300 Baud (select "Mode 1" for Serial lines). More information is mentioned in IEC 62056-21, Electricity metering - Data exchange for meter reading, tariff and load control - Part 21: Direct local data exchange, Annex B: "Wake-up methods for battery-operated tariff devices". | 0 .. 120 | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Message | It is used if "Opening mode" is set on "IEC Mode E". If so-called "wake-up" message is activated, this parameter defines a delay after sending of "wake-up" message even before beginning of communication. As for Serial line, we recommend to set "WaitTxEMPTY" parameter in particular line mode. According to the document IEC 62056-21, you should set this parameter on 1,5 up to 1,7 s. | ms | 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Kotva | nd | nd | No DisconnectA Disconnect request will not be used after the readout of values from a device is finished. During next readout a connection establishment phase is omitted (HDLC mode-setting request and AARQ negotiation request). This allows for greater data throughput and increase of the frequency of reading values from the device. | YES/NO | NO | 7 s. | ms | 0 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
--- Send/receive parameters --- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Delay after sending the request but before reading the response. | ms | 100 ms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Delay between reading the till its completion. | ms | 200 ms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Retry count of reading response till its completion. | 1 .. 100 | 20 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Delay between the request retry if the error communication occurs. | ms | 500 ms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Retry count of request as far as the error communication. | 1 .. 20 | 3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
--- Modem parameters --- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Phone number for modem connection with a device (only for MODEM lines). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Maximum waiting time for dial-up modem connection (only for MODEM lines). | 1 .. 600 s | 60 s | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Maximum retry count of dial-up modem connection (only for MODEM lines). | 1 .. 20 | 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Delay before attempting to dial after an unsuccessful connection attempt (only for MODEM lines). | 1 .. 600 s | 30 s | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Time delay after the dial-up connection has been established (only for MODEM lines) but before the beginning of communication. It is used to stabilize the modem connection mostly as far as the old types of modems. After this timeout passes, all the redundant symbols (the residues of AT modem communication) will be read and ignored. | 0 .. 30 s | 5 s | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Kotva | dialtm | dialtm | Dial TimeoutMaximum waiting time for dial-up modem connection (only for MODEM lines). | 1 .. 600 s | 60 s | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Kotva | dialrc | dialrc | Dial Retry CountMaximum retry count of dial-up modem connection (only for MODEM lines). | 1 .. 20 | 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Kotva | dialrt | dialrt | Dial Retry TimeoutDelay before attempting to dial after an unsuccessful connection attempt (only for MODEM lines). | 1 .. 600 s | 30 s | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Kotva | acdel | acdel | After Connect DelayTime delay after the dial-up connection has been established (only for MODEM lines) but before the beginning of communication. It is used to stabilize the modem connection mostly as far as the old types of modems. After this timeout passes, all the redundant symbols (the residues of AT modem communication) will be read and ignored. | 0 .. 30 s | 5 s | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Kotva | wft | wft | Wait First TimeoutDelay after sending the request but before reading the response. | ms | 100 ms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Kotva | wt | wt | Wait TimeoutDelay between reading the till its completion. | ms | 200 ms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Kotva | mwr | mwr | Max. Wait RetryRetry count of reading response till its completion. | 1 .. 100 | 20 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Kotva | rt | rt | Retry TimeoutDelay between the request retry if the error communication occurs. | ms | 500 ms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Kotva | rc | rc | Retry CountRetry count of request as far as the error communication. | 1 .. 20 | 3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 individualy. &D2 DTR drop to hangup - for matching with tha 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 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Full communication monitoring. It enables to show the I/O tag values and other debug information. | YES/NO | NO |
...