Porovnávané verzie

Kľúč

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

...

Modem Telephone Numberopmopm

ParameterMeaningUnit / sizeDefault value
Kotva
telnrtelnrPhone number for modem connection with a device (only for MODEM lines).  
--- DLMS/HDLC parameters ---
Kotva
apx
apx
Application Context
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
 
Kotva
cliaddr
cliaddr
Client MAC Address
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 .. 7FH10H
Kotva
hdlcmr
hdlcmr
HDLC Max_info_field_length-receive parameter
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
Kotva
hdlcmt
hdlcmt
HDLC Max_info_field_length-transmit parameter
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

Kotva
cmpdu
cmpdu
Client Max Receive PDU Size

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 .. 2400655351200

Kotva

nd

nd
No Disconnect

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).
This allows for greater data throughput and increase of the frequency of reading values from the device.

YES/NONO

Kotva
pas
pas
Password

Device password. If entered, the "Low Level Security" authentication with the entered password is used within the AARQ Association Request.

Kotva
opm
opm
Opening Mode

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:

  • baud rate 300 Baud,
  • 7 data bits,
  • even parity,
  • 1 stop bit.

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:

  • baud rate 300 Baud,
  • 7 data bits,
  • even parity,
  • 1 stop bit.

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
Kotva

iecda
iecda
IEC Device Address

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.

 -

Kotva
brch
brch
Baudrate Changeover (Z)

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:

Blok kódu
languageesl
themeRDark
10:46:05.809 30-05-2011|D|DLMS> Z Detected: '4' = 4800 Bd

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:

  • 8 data bits,
  • none parity,
  • 1 stop bit.

See the parameter "Software 7E1" and the chapter Settings of transmission parameters.

300
600
1200
2400
4800
9600
19200
AUTOAUTO
Kotva
sw7e1
sw7e1
Software 7E1
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/NONO
Kotva
wupml
wupml
Wake-up Message Length
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 .. 1200

Kotva
wupmd
wupmd
Delay After Wake-up

Message

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.

ms0 KotvandndNo 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/NONO

7 s.

ms0--- Send/receive parameters ---

Kotva
wft
wft
Wait First Timeout

Delay after sending the request but before reading the response.

ms100 ms

Kotva
wt
wt
Wait Timeout

Delay between reading the till its completion.ms200 ms
Kotva
mwr
mwr
Max. Wait Retry
Retry count of reading response till its completion.1 .. 10020
Kotva
rt
rt
Retry Timeout
Delay between the request retry if the error communication occurs.ms500 ms
Kotva
rc
rc
Retry Count
Retry count of request as far as the error communication.1 .. 203--- Modem parameters ---

Kotva
telnr
telnr
Modem Telephone Number

Phone number for modem connection with a device (only for MODEM lines).

Kotva
dialtm
dialtm
Dial Timeout

Maximum waiting time for dial-up modem connection (only for MODEM lines).1 .. 600 s60 s
Kotva
dialrc
dialrc
Dial Retry Count
Maximum retry count of dial-up modem connection (only for MODEM lines).1 .. 201
Kotva
dialrt
dialrt
Dial Retry Timeout
Delay before attempting to dial after an unsuccessful connection attempt (only for MODEM lines).1 .. 600 s30 s
Kotva
acdel
acdel
After Connect Delay
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 s5 s KotvadialtmdialtmDial TimeoutMaximum waiting time for dial-up modem connection (only for MODEM lines).1 .. 600 s60 s KotvadialrcdialrcDial Retry CountMaximum retry count of dial-up modem connection (only for MODEM lines).1 .. 201 KotvadialrtdialrtDial Retry TimeoutDelay before attempting to dial after an unsuccessful connection attempt (only for MODEM lines).1 .. 600 s30 s KotvaacdelacdelAfter 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 s5 s KotvawftwftWait First TimeoutDelay after sending the request but before reading the response.ms100 ms KotvawtwtWait TimeoutDelay between reading the till its completion.ms200 ms KotvamwrmwrMax. Wait RetryRetry count of reading response till its completion.1 .. 10020 KotvartrtRetry TimeoutDelay between the request retry if the error communication occurs.ms500 ms KotvarcrcRetry CountRetry count of request as far as the error communication.1 .. 203
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 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
Kotva
fd
fd
Full Debug
Full communication monitoring. It enables to show the I/O tag values and other debug information.YES/NONO

...