Baer UniMod 01/I User manual

UniMod 01/I
2
COPYRIGHT
Copyright © 2019 Baer Energie- & Messtechnik GmbH.
All rights, including those originating from translation, (re)-printing and copying of this document or
parts thereof are reserved. No part of this manual may be copied or distributed by electronic, me-
chanic, photographic or indeed any other means without prior written consent of Baer
Energie- & Messtechnik GmbH. All names of products or companies contained in this document
may be trademarks or trade names of their respective owners.
Note
Based on its policies, Baer Energie- & Messtechnik GmbH develops and improves
their products on an ongoing basis. In consequence, Baer Energie- & Messtechnik
GmbH preserve the right to modify and improve the software product described in this document.
Specifications and other information contained in this document can change without prior notice.
This document does not cover all functions in all possible detail or variations that may be encoun-
tered during installation, maintenance and usage of the software.
Under no circumstances whatsoever will Baer Energie- & Messtechnik GmbH accept
any liability for mistakes in this document or for any sub sequential damage arising from installation
or usage of the software.
Baer Energie- & Messtechnik GmbH preserves the right to modify or withdraw this
document at any time without prior announcement.
Baer Energie- & Messtechnik GmbH does not accept any responsibility or liability for
the installation, usage, maintenance or support of third party products.
Printed in Germany

UniMod 01/I
3
Table of Contents
1. General..........................................................................................................5
2. Power Supply Unit........................................................................................5
3. Interfaces......................................................................................................5
4. Display ..........................................................................................................5
5. Installation Hints ..........................................................................................5
6. Programming the Modem............................................................................6
7. SMS .............................................................................................................11
8. Reset Function ...........................................................................................12
9. Inserting the Interface Modules ................................................................12
10. Technical Data............................................................................................13
11. Terminal Block ...........................................................................................14
12. Phone Line Interface..................................................................................14
13. Dimensions.................................................................................................15

UniMod 01/I
4

UniMod 01/I
5
1. General
The universal analogue/PSTN (Public Switched Telephone Network) modem UniMod 01/I is sup-
posed for remote inquiry of measurement data of any kind, especially however for telecounting
applications.
For the UniMod 01/I communication modules produced by internationally renowned companies are
used. These companies update their software packages regularly and add or change features. The
software releases are continuously checked by the development department, but no responsibility
for this software releases can be take over except of warranty granted by the module producer.
2. Power Supply Unit
The UniMod 01/I modem is equipped with a built-in, low-loss switched power supply, which enables
it to operate on a wide-range AC or DC supply voltage:
80VAC to 270VAC or 60VDC to 375VDC
3. Interfaces
The interface for connecting the target device can be specified by plugging the appropriate inter-
face module. The following module types are available now:
CS (20mA current loop) interface module, active (supplies current) or passive
RS232 interface module (uses signals RxD, TxD, CTS, RTS, GND, DTR, DCD/DSR)
RS485 interface module
M-Bus interface module, active (can supply 20 devices max., 10/old version)
Communication is possible with many standard protocols, like SCTM, LSV1, DLMS, IEC1107,
IEC60870 (transparent reading) etc.
4. Display
The following LEDs displaythe current operating status of themodem and give information about the
data transfer.
Operate-LED signals, that the modem is supplied with power.
Rst-LED flashes, when the reset function is active.
Hook-LED lights, when the modem has connected.
DCD-LED lights, when the modem has built a data link to remote station.
TxD-LED lights, when data is transferred from target device to modem.
RxD-LED lights, when data is transferred from modem to target device (e.g. meter).
5. Installation Hints
Although the UniMod 01/I is equipped with an insulating plastic housing, it is approved protection
class 1 and MUST therefore be connected to protective earth (PE).
The installation must be done in a way, that even in the case of cable break no dangerous voltages
are applied to touchable parts of the device including the antenna. This can be accomplished e.g.
by using cable ties and appropriate shortening of the cables.
Attention: NEVER remove the interface modules when the device is powered!

UniMod 01/I
6
6. Programming the Modem
Before installing the modem it has to be programmed in order to meet the demands. The baud rate
and data format for connecting the target device (e.g. meter) and the transmission mode and
transmission rates must be adjusted. On delivery the following default parameters are active:
Baud rate: 9600 Baud (if not differently mentioned)
Data format: 7, Even, 1 (if not differently mentioned)
S0=1: This parameter setting determines the number of rings (here 1) before
automatic answering.
\N3 Error correction V.42 or MNP 4 possible
&D0: This parameter determines how the modem responds when circuit 108/2 (DTR)
is changed from ON to OFF during data mode.
With setting 0 the modem ignores DTR.
&K0: No local flow control
E0: This setting determines whether or not the modem echoes characters received
from PC during command state. (0 = no echo)
Q1: This parameter setting determines whether or not the modem transmits any
result code to the PC. Information text transmitted in response is not affected by
this setting. (1 = result codes suppressed)
This configuration allows for reading meters of type VDEW (IEC1107 / IEC62056-21). If you want
to change this parameters, you need a PC with terminal software (e.g. UniModSet, Windows
HyperTerminal etc.). Moreover experiences with the Hayes AT modem command set are very rec-
ommended. To establish connection between PC and modem you have to use:
A) the parametering adapter with USB port (#12823)
B) the parametering adapter with RS232 port (no more available)
C) the converter (converter box or ConvBox) to adapt the interfaces (#12685)
Description of the connection options:
A)
The parametering adapter with USB port (Micro-
USB Type A or B), which can be plugged instead of
an interface module. This adapter can be ordered
as accessory (Order No.: #12823).
1. First connect the adapter with the USB port at the PC and wait for confirmation. The new COM-
Port can be find in the device manager (control panel): USB Serial Port (COM…).
2. Then disconnect the modem from the supply (important!) and remove the interface module.
3. Now you can plug the parametering adapter into the 7-pole jack (the LED’s must point downwards).
4. The UniMod 01/I can now be programmed with the software UniModSet.
5. After programming switch off the UniMod and insert the interface module carefully again.

UniMod 01/I
7
B)
The parametering adapter with RS232 port, which can be
plugged instead of an interface module.
This adapter is no more available.
1. First disconnect the modem from the supply
(important!) and remove the interface mod-
ule.
2. Set the switch to left position "01L", as
shown in the picture:
Position "01L".
3. Insert the 7 pole plug of the parametering
adapter instead of the interface module. The
notch must point upwards.
4. Then connect the 25 pole plug (RS232) to
the PC port and switch on the voltage supply
at the modem.
5. The UniMod 01/I can now be programmed with the software UniModSet.
6. After programming switch off the UniMod and insert the interface module carefully again.

UniMod 01/I
8
Programming with the software UniModSet/MetcomTSet
After program start, select the register tab “Analogue / PSTN”. Then choose one of the standard
configurations („Assign“, for E-Meters, Metcom MWT32 or M-Bus-Systems) or assign the follow-
ing parameters manually:
Baud rate, e.g.: 9600 Baud
Data format, e.g.: 7E1
Control, e.g.: ignore DTR, no handshake
Responses, e.g.: as text or numbers
Automatic unhook
Transmission mode, e.g.: secured
Data transmit control
Then select in the menu „Settings - Interface“ the serial port (e.g. COM1) and send („Write“) the
chosen device configuration to the UniMod 01/I. Additionally you can receive („Read“) the configu-
ration from a connected UniMod 01/I.
In the menu „File“ the current configuration can be saved („File save as...“).
An existing configuration can be loaded by means of „File load“.
Experienced users can alter the device configuration with the internal terminal program using AT
commands.

UniMod 01/I
9
Programming with the terminal software
First set your terminal program to the appropriate data rate and data format for reading out the
target device (i.e. meter). Use one of the AT commands (e.g. ATS0?, ATI, AT&V) to check whether
the modem answers. If you see the answer on the screen, the interface is working correctly.
Note: Simply typing „AT“ does not result in an answer, because the modem is by default pro-
grammed not to send messages and echoes (Parameters ATQ1 and ATE0).
Important: The modem is factory programmed to "auto mode". This enables it to communicate
with maximum possible speed to the remote modem using data compression and error correcting.
The data rate between the modems is independent from the data rate between modem and target
device. This method has the advantage of superior immunity against line noise. If the UniMod is
called by an older modem. which doesn't support those features, it is possible, that no connection
can be established. In that case it is better, to use a fixed transmission speed (over phone line) and
disable the compression and error correcting feature (see commands ATFx, ATNx, AT\Nx,
AT+MS= ).
If multiple target devices are connected to the modem using different data rates, communication is
only possible in synchronous direct mode (see command AT\N1). In this operating mode the data
rates of the target devices are identical to the data rate over the phone line. This enables the call-
ing modem to determine the data rate, which is used to read the target device. The modem leaves
in direct mode all transmission parameters unchanged. Data compression and error correction are
disabled. But beware: In case of bad connection or noisy line it may be possible that the UniMod
doesn't hang up after the call has finished!
At the end of every programming the settings have to be saved permanently using the AT&W
command. This ensures that the parameters are restored after power failure.
Example:
Establish connection PC to modem (e.g. using the parametering adapter). Start terminal pro-
gram and set data rate correctly.
The modem does not reply to a simple "AT" command by default. In order to test communica-
tion you have to use a command which results always in an answer (e.g. "AT&V" displays the
actual configuration of). This should give an readable output on your screen.
Input "AT&F" to restore factory settings. Modem should reply "OK".
Select automatic answering: "ATS0=1", Modem reply: "OK".
Select error correction: "AT\N3", Modem reply: "OK".
DTR-control is ignored: "AT&D0", Modem reply: "OK".
Disable local flow control: "AT&K0", Modem reply: "OK".
Disable echo: Enter "ATE0", Modem reply: "OK".
With this setting the modem does not echo characters sent by the target device. Some meters
may not communicate correctly if they receive their own output.
Suppress modem result codes: Enter "ATQ1". No answer from modem.
This prevents the modem from sending result codes to the target device. The result codes can
cause trouble with some meters.
Save current parameters: Enter "AT&W". No answer if ATQ1 command issued before.
Parametering finished.

UniMod 01/I
10
Password authentication after establishment of connection
Using command AT*P the password authentication can be enabled ("AT*P1", see register 14 bit 6)
or disabled ("AT*P0"). As factory default it is disabled.
With authentication enabled the UniMod asks the remote station immediately after the CONNECT
message for the password. This works in originate mode as well as in answer mode. The correct
password (factory default: "modem1", alternative “qwerty”) then must be sent by the remote station
to the modem:
REMOTE PASSWORD: m*o*d*e*m*1* (every entered character will be answered with '*')
When the password was entered correctly and diagnostic messages are enabled (using command
"ATQ0"), then again "CONNECT" is sent and the connection is established. With messages dis-
abled, no "CONNECT" is sent. If the password was wrong the modem performs a reset, which
causes it to hang up.
It is urgently recommended to use the password feature with error corrected connections (see
"AT\N3") only, otherwise the correct transmission of the password is not guaranteed (Faulty char-
acters are taken as part of the password.).
Using the "AT*C" command the password can be changed and saved in the modem. After "AT*C"
the modem asks first for the old password: OLD PASSWORD (factory default is "modem1"). Wrong
input causes an ERROR message. If the entered password was correct, the modem asks for the
new password . It's length must be 6 to 12 characters . Finally the modem requests for confirma-
tion: CONFIRM.
Example: Changing the password from "modem1" to "12345678":
AT*C
OLD PASSWORD: modem1
NEW PASSWORD: 12345678
CONFIRM: 12345678
OK (the new password has been taken)
Data Transmit Control (DTC)
Data Transmit Control is a firmware integrated feature for supervising the online data transfer. The
feature prevents the modem from staying online infinitely, even if no data are transferred at all.
In register S11 an arbitrary time span from 1 to 255 seconds can be programmed. DTC is disabled,
if S11 is set to 0 (default value). The contents of this register can be inquired using command
"ATS11?". If the value is not 0, the time counter starts running immediately after the connection is
established. As soon as it is run out the modem is reset, which causes it to hang up.
The time counter is reset by every transmitted or received character. That means, the modem
holds the line for <n> seconds after the last transmitted or received byte, where <n> is the setting
of register S11.
Note: While establishing the connection the modem can neither send nor receive data. The DTC
time counter however starts immediately after the modem hooks off. This can in the worst
case cause the modem to hang up even before the connection is ready. For that reason we
urgently recommend to set the S11 register to a value of 30 at least. The time counter is
started intentionally after hook off, because then it is possible to reset the modem in case of
misbehaviour because a faulty connection.

UniMod 01/I
11
7. SMS
Optional it is possible to activate SMS (old device UniMod 01/It, undeliverable!). This function is
monitoring of on/off state changes of DTR input (terminals 8 and 9). This function is possible only
at Germany (area Deutsche Telekom / German Telecom).
Standard RS232 - Function DTR/DCD:
X15: Norm X10
X20: DTR
X21: DCD/DSR/Hook
SMS - Function UE/UA:
X20: UE
X21: UA
Example: 20mA interface with two meters and SMS input (contact):
XXXXXXX XXXXXXX
110
9
87
65
43
2
80 - 270 VAC
60 - 375 VDC
SMS
20mA
11 12 13 14
UniMod 01/I
Interface: 20mA
Baudrate: 9600 7e1
80VAC - 270VAC 50/60Hz, 60VDC - 375VDC
2007

UniMod 01/I
12
8. Reset Function
Optional it is possible to activate the time-controlled modem-reset. The functionality is activated by
the jumper and displayed by the Rst-LED (Rst-LED flashes every 10 seconds).
Reset-Timer
Jumper
Function
Rst-LED
Disable: without re-
sets
Without flashes
24h: reset every 24
hours (standard)
12h: reset every 12
hours
6h: reset every 6
hours
Without jumper: reset
every 3 hours
9. Inserting the Interface Modules
When inserting the interface modules their component side must be at the left side and wired ac-
cording the picture. In the following sketch the components are at the left side.
RS232 20mA active20mA pas. RS485 M-Bus active M-Bus pas.
Pin used, connected
Pin used, not connected
Pin not used

UniMod 01/I
13
10.Technical Data
Housing:
Wall-mounted housing (DIN 43861-2)
Degree of protection:
IP52
Dimensions:
W = 105 mm,
H = 179 mm
D = 72 mm
Protection class:
1
Supply voltage:
80VAC to 270VAC or 60VDC to 375VDC
Power consumption:
About 4 VA
(depends upon supply voltage, kind of interface
module and operating status of transmission unit)
Interfaces:
Plug-in modules; available are:
- RS232 (supports signals RxD, TxD, RTS, CTS, GND, DTR,
DCD/DSR)
- CS (20mA current loop) active or passive
- RS485 (2 or 4 wires)
- M-Bus active: can supply 20 devices max.
Display:
LED’s for signals: operation, Hook, Rst, DCD, TxD and RxD.
Transmission rate remote
modem to UniMod:
300 –33600 bit/sec (V.21 / V.22 / V.22bis / V.32 / V.32bis / V.34),
tone or pulse dialling
Transmission rate UniMod
to connected device:
300 to 19200 (115200) Baud, automatic baud rate detection
Data format:
7E1, 8N1, 8E1, ...
Data compression:
V.42bis / MNP5
Error correction:
V.42 / MNP4
Password:
Possible
Remote access:
Possible (with restriction)
Data Transmit Control:
Possible
Reset function:
Possible: every 3, 6, 12 or 24 hours
License:
EU-License CETECOM CE0682, reg. no. D800739K/CTR21
Extent of delivery:
- UniMod 01/I including interface module as ordered
- Standard cable TAE (length of cable about 3m)
- Operation manual
Accessories:
- Adapter for parametering with USB port (Order No.: #12823)
- Additional interface modules
- Suspension eye (Order No.: #9141)
- Software UniModSet

UniMod 01/I
14
11.Terminal Block
12.Phone Line Interface
TAE plug used (for Germany only).
Standard configuration:
1: a (La) white
2: b (Lb) brown
Note: Cable colours may be different.
Alternative:
RJ12 plug used.
Standard configuration:
3: a (La) green
4: b (Lb) yellow
Note: Cable colours may be different.

UniMod 01/I
15
13.Dimensions
Wall-mounted housing (DIN 43861-2)

UniMod 01/I
16
Table of contents
Other Baer Modem manuals