DMK-DMG Data Logger: Software Manual
DMK-DMG Data Logger: Software Manual
I154 GB 0510
SOFTWARE MANUAL
INDEX
Introduction ............................................................................................................................................ 2
Minimum resources of the PC ........................................................................................................................ 2
Installation ............................................................................................................................................ 2
Activation of the PC - DMK connection ..................................................................................................... 3
Basic principles ............................................................................................................................................ 4
Main window ............................................................................................................................................ 4
System configuration ...................................................................................................................................... 5
Important note: ......................................................................................................................................... 9
Display menu .......................................................................................................................................... 10
Data Log ...................................................................................................................................................... 10
Graphs .......................................................................................................................................... 11
Front panel .......................................................................................................................................... 13
Password .......................................................................................................................................... 14
Communication menu ................................................................................................................................... 15
Online .......................................................................................................................................................... 15
Offline .......................................................................................................................................................... 15
Modem Call ................................................................................................................................................. 15
Hang up ....................................................................................................................................................... 16
Parameters menu .......................................................................................................................................... 17
Basic setup ................................................................................................................................................ 17
Save-Load-Print.......................................................................................................................................... 18
Installation
For installation, you need a PC with the operating system already installed and running and the program
®
setup CD. You should also have at least a basic knowledge of the PC and be familiar with Windows
operating system commands.
1. Make sure that the PC you intend to use has an available and free RS-232 serial interface port. The
serial ports are usually identified with the COM: code and usually range from COM1: to COM4: even
though most of the PCs available on the market have only two serial ports (COM1: and COM2:) which
can be identified by their 9-pin male receptacle connector. To use the program, you must first of all
identify which port of your PC you intend to use; remember that, in some cases, one of the serial ports
may already be occupied by the mouse
2. Configure the software for use of the port selected; you can do this during the initial installation phase or
subsequently using the Configuration-Options-General menu (see the specific paragraph). The default
serial port is COM1: set to 9600 baud, no parity.
3. Set up the RS-485 network, i.e. connect the Rs232/Rs485 converter to the PC and then all the
multimeters to each other and to the converter as indicated in the Connection diagrams paragraph
below. Comply scrupulously with the polarity of the Rs485 cables.
4. We recommend use of a Rs232/Rs485 converter furnished by Lovato. If you intend to use another type
of converter, Lovato will be unable to provide assistance in the case of wiring problems and to assure
correct functioning of the 485 network. In any case, the converter must be insulated and must have an
enable line automatic control circuit.
5. From the keypad of each multimeter, access the parameters of the serial interface (see the Addendum to
the manual furnished with the appliances) and set a different serial address for each multimeter starting
from 01 onwards. Check that the speed and parity settings all the multimeters match those of the PC.
6. At this point, you can run the program. If the wiring and the settings are correct, the connection with the
DMK 01 will be activated automatically.
• The number of the COM: port of the PC used must match that programmed in the Configuration-Options-
General-Serial port settings window.
• The communication speeds set on the PC and on the multimeters must match. For the PC, the speed is
selected in the Configuration-Options-General-Serial port settings window.
• For the DMK40, it is selected with parameter P.42 (see Addendum).
• For DMG800-DMG900 see parameter P07.n.02
Main window
The main window of the program contains all the menus and the toolbars for access to the various functions.
As they may modify the configuration of the software, some of these functions are protected by a password
and are therefore disabled when the program is started. The main window is illustrated in the figure below
showing the most frequently used controls.
Window type Toolbar for fast Manual start and stop Selection of the
menu for data access to settings of the acquisition multimeter in a
settings and and displays system of the RS485 network
display multimeter selected
To do this, open the File window and select New or Open. Create or open the file required. The file opened
is in Ms-Access format and contains all the information regarding the data logging system.
To access configuration, enter the password which, after installation of the program is, by default, LOVATO.
Click on the password menu, enter Lovato and then confirm with OK.
System configuration is a very important phase as regards definition of software functioning. In particular, if
several multimeters are connected, attention must be paid to programming the parameters of each DMK
connected to the network.
Before explaining the various functions of the program, the configuration window is illustrated below listing
the function of all the settings. A more detailed explanation of the purpose of each setting will be provided in
the following chapters.
Selection of
the language Settings of the
of the serial port of the
program. PC
Correct
multimeter date
and time based
on daylight
saving or
standard time
setting.
Type of graphic
representation Set the multimeter
of the data log. connection to be
by modem.
Enables/disables
serial
communication with Selects the
the selected multimeter model
multimeter.
Stop data-logger
when memory is full.
Description of the
multimeter. This
identifies the
Measure associated multimeter and
to threshold. will be displayed
in the selection
boxes, in the
alarms, in the data
See Note 1 log etc.
See Note 1
Note 1: For example, if threshold 1 is greater than threshold 2, the datalogger begins recording when
threshold 1 is exceeded. When the value of the selected measure is less than threshold 2, the
datalogger is stopped. The two thresholds can be inverted. In that case, the datalogger will trigger
when the value of the selected measure is less than threshold 1 but when it increases to greater than
threshold 2, the datalogger will stop.
If the selected measure indicates all three phases, it is sufficient the measure value of one of the
three phases is greater than threshold 1 to trigger the datalogger. The same procedure is done to
stop the datalogger.
Enables/disables
serial
communication with Selects the
the selected multimeter model
multimeter.
Stop data-logger
when memory is full. Description of the
multimeter. This
identifies the
multimeter and
will be displayed
in the selection
boxes, in the
alarms, in the data
log etc.
Data recording
mode.
See note 1.
Note 1: Data logging can be always ON (controlled only by the user) or can be controlled by the status of an
internal variable of the DMG. In this case, select the type of variable (LIMITS, INPUTS, OUTPUTS,
BOOLEANS, REMOTE etc.) and the channel number of the variable. For example, if variable LIM3
of the DMG is connected to a minimum voltage threshold, select LIMITS and channel number 3.
When voltage is lower than the threshold set in the multimeter, then LIM3 will be active and data
logging will run. When LIM3 is false, data recording will stop.
Selects the
measure to be
sampled
Selects the multimeter
from which to sample
List of the
measures that will
be sampled from
selected
multimeter
Transmits the settings made. Receives the settings Saves and confirms the
Note: on transmitting the saved in the multimeter. settings.
settings, all the data saved in
the multimeter will be lost
Number of DMK
units connected
to the modem.
To enter a new
record, first click
on New, fill the
fields and then
click on Add.
To eliminate a
record, first
select it in the
To modify an
table, then click
existing record,
Remove button.
first select it
from the table,
then do your
modification in
the field above,
finally click on
Update.
Important note:
Normally the user connects its multimeter network to the PC without modem. This allows to configure each
multimeter, defining the name, etc (this are the configurations that are entered in the Configuration-Options-
Multimeters window, see figure 2.2).
When using modem connection, all this setting can be used only if the remote connection is done always to
the same network, that is, if there is only one record in the Modem index because the user dials always the
same number. In this case, the couple of modems are used to reach a longer distance, but the
communication is the same as for direct connection.
The concept changes if there are more than one networks in the field. In this case, each network may be
different from the other, having different number of multimeters, working with different voltage etc.
The user can select one installation, connect to it and see the multimeter status, then disconnect and dial
another phone number to connect to another network.
Extracts the Opens the Displays all Permits export of Deletes the Starts Opens
values within a window for the record the data selected data downloading of the graph
specific interval specification of of the in ASCII or Excel selected data from window
of time from the interval of time database text files from the multimeter to
the database. to be selected database PC
Download data
To download data from the multimeter, click on Download data button. The new data can be added to the
existing ones, adding them at the end of the database table. If the database table is not empty, and some of
the records in the multimeter have already been downloaded (already present in the database table), the
software asks if the user wants to duplicate the records with same date/time or if only the new records must
be downloaded.
The download phase may take several minutes, depending on the amount of data stored in the multimeter
memory and from the serial speed / type of interface that is used for downloading.
Selects the measurement to To scroll the Selects start/end of Prints the window
be associated to the red graph horizontally display displayed
trace
Note:
The quality of the graphic representation of the front panel may vary according to the graphic resolution of
your PC and/or the monitor settings used.
Name of the
multimeter
selected
Password
When the program is started, some of the functions are disabled. You can enter the password that permits
access to all the functions, in particular those listed below, from the Password menu:
Communication menu
Online
The Communication-Online menu allows to re-establish the serial link after it has been stopped by the user
with the Offline command. When clicking Online, the software executes a complete scan of all configured
multimeters, to verify their status.
Offline
With communication-Offline the user has the possibility to temporarily suspend the serial communication link
between the PC and the multimeters network.
This command is to be used when, for instance, it is necessary to modify the network wiring or when DMK
are to be switched off. The System Offline status is displayed on the main page Toolbar (at the bottom of the
main window).
The system passes automatically in Offline mode when the user opens the Configuration window.
Modem Call
To connect to one or several multimeters via a couple of modems, it is necessary to select the Modem
connection checkbox in the Configuration-Options-General window. Selecting modem communication will
automatically change the communication protocol used by the software, from the standard Modbus RTU to
Modbus ASCII, which can be used with modems. From the user point of view, the difference between those
two protocols is only a little slower speed in case of the ASCII protocol, due to its length that is double than
the RTU and the modem modulation that requires also a certain amount of time.
When the program is configured for modem communication (see Configuration-Options-General window) it
automatically shows the modem call dialog after it has been started, because it is not possible to
communicate with the multimeter before dialing the phone number of the remote modem. The same window
can be opened manually using Communication-Modem call menu or the dedicated pushbutton on the
toolbar.
Hang up
This command interrupts a modem connection, closing the telephone line. It is the equivalent of hanging up
the handset in an ordinary phone call. It is carried out automatically every time you exit the program.
The parameters have been grouped in four menus that reflect the organization described in the operations
manual and in the Addendum of the DMK. The following four menus are available:
Basic setup
Fig. 9.1 – Parameters-Basic setup
Code of the Description Numeric value of the parameter. Highlighted in Graphic bar.
parameter yellow if different from the factory-set default Drag this with the
value. Double clicking on this box, you can set the mouse to modify the
parameter with the numeric keypad setting
Transmits the values Receives the values Resets the factory Drop-down box Closes the
displayed to the DMK and from the DMK and default values with possible setup window
saves them. displays them in the options
Enabled only with password. window