Vous êtes sur la page 1sur 73

DATA LOGGER WITH WWW SERVER SM61 TYPE

USERS MANUAL
1

SM61-09/1

User's manual
Spis treci:

1. Application........................................................................................................................................................... 3 2. Data logger set .................................................................................................................................................... 4 3. Basic requirements, safety of use........................................................................................................................ 4 4. Assembly............................................................................................................................................................ 5 4.1. Fixing way....................................................................................................................................................... 5 4.2. Electrical connections .................................................................................................................................... 6 4.3. Data logger configuration................................................................................................................................ 9 4.3.1. Configuration using USB interface ....................................................................................................... 11 4.3.2. Configuration using RS-485 interface................................................................................................... 12 4.3.3. Configuration using LAN interface........................................................................................................ 12 5. SM61Config software......................................................................................................................................... 13 5.1. Installation..................................................................................................................................................... 13 5.2. First start....................................................................................................................................................... 13 5.2.1. Selection of communication way.......................................................................................................... 13 5.2.2. First run using USB interface ............................................................................................................... 14 5.2.3. First run using LAN interface................................................................................................................ 14 5.3. Software functions........................................................................................................................................ 16 5.3.1. Main menu............................................................................................................................................ 16 5.3.2. List of SM61 devices............................................................................................................................. 17 5.3.3. Ethernet configuration........................................................................................................................... 17 5.3.4. Serial port configuration........................................................................................................................ 19 5.3.5. Downloading archive files..................................................................................................................... 20 6. Web browser...................................................................................................................................................... 23 6.1. The beginning of work with the browser........................................................................................................ 24 6.2. Logging......................................................................................................................................................... 24 6.3. Overall look................................................................................................................................................... 24 6.4. Website menu............................................................................................................................................... 26 6.5. Administration............................................................................................................................................... 27 6.5.1. General settings.................................................................................................................................... 27 6.5.2. Date and time settings.......................................................................................................................... 28 6.5.3. Users.................................................................................................................................................... 28 6.6. Configuration................................................................................................................................................. 29 6.6.1. Channels configuration......................................................................................................................... 29 6.6.2. Alarms configuration............................................................................................................................. 35 6.6.3. Synoptic map configuration................................................................................................................... 37 6.6.4. Serial port configuration........................................................................................................................ 40 6.6.5. Ethernet configuration........................................................................................................................... 42 6.7. Data presentation.......................................................................................................................................... 44 6.7.1. Channels values presentation............................................................................................................... 44 6.7.2. Synoptic map presentation................................................................................................................... 46 6.8. Language change......................................................................................................................................... 47 7. FTP Client.......................................................................................................................................................... 47 8. Internal archive.................................................................................................................................................. 49 8.1. Archiving configuration.................................................................................................................................. 50 8.2. Downloading archive data............................................................................................................................. 51 8.3. Structure of archive files............................................................................................................................... 51 9. Alarms and binary inputs................................................................................................................................... 52 10. Interface RS-485.............................................................................................................................................. 53 10.1. Description of functions............................................................................................................................... 53 10.2. Error codes................................................................................................................................................. 55 10.3. Registers map............................................................................................................................................. 56 11. Technical data.................................................................................................................................................. 70 12. Ordering codes............................................................................................................................................... 71 13. Copyright.......................................................................................................................................................... 72

SM61-09/1

User's manual

1. Application
The SM61 data logger is meant to communication and archiving data in distributed measuring and control systems. It can service remote analogue and binary inputs/outputs modules, measuring transducers, inverters, microcontrollers, recorders, display panels, HMI panels etc. There are available two serial ports to the communication. PORT 1 is for communication with PC computer and HMI panels (RS-485, RS-232, USB), PORT 2 is for communication with such Slave devices (RS-485). The SM61 data logger reads and archives data from devices equipped with protocol Modbus RTU and serial interfaces (RS-485 or RS-232). Data exchange with main computer is done through computer network (Ethernet) with the use of network protocols (TCP/IP, FTP). The data logger has an innovative configuration and data presentation interface which is user friendly. It has an ability to monitor and configure through SM61Config software and through web browser. The data logger features: - possibility of simultaneous connection of two Modbus TCP clients, - up to 1 GB FLASH memory, - readout of up to 2500 values from Slave devices. The exemplary use of SM61 data logger in a local computer network is presented on fig. 1.

Fig. 1. Exemplary use of SM61

SM61-09/1

User's manual

2. Data logger set


The set includes: 1. data logger SM61..................................................... 1 pc 2. quick start manual..................................................... 1 pc 3. guarantee card.......................................................... 1 pc 4. CD with the software and user's manual....................1 pc

3. Basic requirements, safety of use


Symbols placed in the manual means: Especially important, you should know before you connect the data logger. Failure to follow the remarks could lead to damage of the data logger. Pay special attention if a data logger works inconsistently to your expectations Notice: The removal of the data logger casing during the guarantee contract period lead to its cancellation.

Observations concerning the operational safety: All operations concerning transport, installation and commissioning as well as maintenance must be carried out by qualified, skilled personnel, and national regulations for the prevention of accidents must be observed. Before switching the data logger on, one must check the correctness of connections of the network. Before the remove of the casing one should switch off data logger power and measurement circuits. The device is destined to be installed and used in industrial electromagnetic environment conditions. A switch or a circuit - breaker should be located near the device, easy accessible by the operator and suitable marked.

SM61-09/1

User's manual

4. Assembly
4.1. Fixing way
The SM61 data logger is fixing on rail bracket 35 mm. Dimensions and fixing way are shown at fig. 2.

REC

LAN

Fig. 2. Dimensions and fixing way

SM61-09/1

User's manual

4.2. Electrical connections


Power and external inputs should be connect according to the fig. 3 and table 1 in which is described destiny of the particular terminals in SM61 data logger.
Terminals description of data logger Table 1

Terminal 1 2
Diode signaling correct supply (green) or system error (red) - PWR diode Diode signaling reception/transmission of data on PORT 1

Description Input line (+ input 1) or line of alarm 1 Input line (- input 1) or line of alarm 1 Input line (+ input 2) or line of alarm 2 Input line (- input 2) or line of alarm 2 GND line Line B (RS-485) Line A (RS-485) Line 5 V d.c. Line + of power Line - of power not used Output TxD (RS-232) Output RxD (RS-232) Line GND Line A (RS-485) Line B (RS-485)

3 4 5 6 7 8 9 10 11 12 13
LAN

Diode signaling reception/transmission of data on PORT 2

Diode signaling correct (green) or incorrect (red) data archive

14 15 16

Fig. 3. Electrical connections of SM61

The SM61 has four communication interfaces: 1. PORT 1 - serial interface: purpose - communication with Master device, bus - RS-232, RS-485, terminals - 14, 15, 16 (RS-485) and 12, 13, 14 (RS-232), galvanically isolated from rest of the system, maximum length of bus depends on the speed of transmission (for high speeds of up to several tens of meters, for small, e. g. 9600 bit/s to about 1.2 km). 2. PORT 2 - serial interface: purpose - communication with Slave device, bus - RS-485,

SM61-09/1

User's manual

terminals - 5,6,7,8, galvanically isolated from rest of the system, maximum length of bus depends on the speed of transmission (for high speeds of up to several tens of meters, for small, e. g. 9600 bit/s to about 1.2 km).

3. USB - serial interface: protocol of data exchange: Modbus RTU, purpose - device configuration, connection - mini USB. 4. LAN : protocol of data exchange: Modbus TCP, purpose - device configuration, allow to connect device to Ethernet network (the way of connection shown on fig. 4), connection - RJ-45. To connect SM61 to Ethernet network it is advisable to use a twisted-pair cable: U/FTP a twisted-pair cable with each pair on a separate screen with the film, F/FTP a twisted-pair cable with each pair on a separate screen in addition to filmscreen, S/FTP ( formerly SFTP) a twisted-pair cable with any pair foiled in addition to the screen mesh, SF/FTP ( formerly S-STP) a twisted pair cable with each pair twisted foil in addition to film and screen grid.

SM61-09/1

User's manual

RJ-45 socket

Ethernet cable

Fig. 4. Connecting Ethernet wire to RJ-45 socket

The category of twisted pair according to European standard EN 50171 minimal: class D (category 5) for fast local network, includes applications which uses the frequency band up to 100 MHz. Description of the connection is shown at table 2. For the interface Ethernet there should be applied a twisted-pair cable type STP (shielded) category 5 with a plug RJ-45 with cables colours (according to table 2) in the following standard: EIA/TIA 568A for both connectors in simple connections SM61 to a hub or switch, EIA/TIA 568A for first connector and EIA/TIA 568B for second connector in connection with crossover (connection SM61 to a computer).
Wire colors in a RJ-45 plug Table 2 Wire Signal Wire color in accordance to standard No. EIA/TIA 568A EIA/TIA 568B 1 2 3 4 5 6 7 8 TX+ TXRX+ EPWR+ EPWR+ RXEPWREPWRwhite - green green white - orange blue white - blue orange white - brown brown white - orange orange white - green blue white - blue green white - brown brown

After connection device to Ethernet network it is able to configure settings using HTTP protocol or Modbus TCP.

SM61-09/1

User's manual

The data logger set include CD with USB driver and software SM61Config, which is used to find devices in Ethernet network and configure them by Modbus RTU (USB) or Modbus TCP (Ethernet) protocol. Notice: To get full resistance of data logger on electromagnetic interference one should follow these rules: do not supply the data logger from the network which is near pulse noise generators (inverters) and do not use common with them grounding circuits; use network filters; all shields should be grounded or connected to the protective unit, one sided the nearest to the data logger; use the general rule, the wires leading different signals should be carried out in the greatest distance from each other (no less then 30 cm), the intersection of these beams is performed at 90 .

4.3. Data logger configuration


Notice: First run of a device requires configuration of basic parameters. Delivered device has default settings presented in table 3:

SM61-09/1

User's manual
Default settings PORT 1 RS-485 Address Mode Baud rate PORT 2 RS-232 Mode Baud rate RS-485 Mode Baud rate USB Address Mode Baud rate LAN LAN interface IP Address Mask Gateway LAN speed Modbus TCP Address Port Ports TCP/IP HTTP FTP command port FTP data port Search 80 21 22 2323 255 502 192.168.1.1 255.255.255.0 0.0.0.0 Auto 1 RTU 8N1 115200 bit/s RTU 8N1 9600 bit/s RTU 8N1 9600 bit/s 1 RTU 8N1 9600 bit/s Table 3

10

Running of SM61 comes in two stages. In the first stage the procedures of testing and configuration reading in the activated SM61, are initiated. First, the device makes a test of external memory. If the test result is not carried out correctly, the device will restart. After correct testing, the configuration data are read out. The configuration data readout error is signaled by switching on of a red diode PWR (fig. 3) and a proper setting of an error status value (table 21). The error of configuration readout imposes the setting of default data presented in the table 3. After configuring basic communication parameters, Modbus RTU for USB interface and RS-485/232 for Slave mode is activated.

SM61-09/1

User's manual

11

Then the device launches the next stage - the readout of channels configuration for Master RS-485. The configuration readout lasts for about 20 seconds and is signaled by switching on of REC diode (fig. 3) in green color. The occurrence of a configuration readout error disconnects the data readout and is signaled by switching on of a red diode PWR (fig. 3) and a proper setting of an error status value (table 21). The readout of the whole configuration imposes launching of remaining modules, such as: LAN module, Modbus RTU module for Master mode, archive module, alarms module, statistical data operation module. After reading the configuration, the device is ready for further work. At first run, the data logger is using default settings. However, right after the first activation the data logger configuration ought to be carried out in order to prepare it for work at a defined environment. Configuration may be carried out using: USB (VIRTUAL PORT COM, Modbus RTU), PORT1 (RS-485, Modbus RTU), LAN (Modbus TCP, HTTP).

4.3.1. Configuration using USB interface


In order to configure the device through USB interface, the device ought to be connected with the mini USB cable to PC. After connecting a data logger, the operational system will notify of the occurrence of a new device by displaying a message presented in fig. 5. Found New Wizard of Universal Serial Bus will activate automatically. Wizards suggestions ought to be followed by selecting installation from the indicated localization and giving a tract for drivers, which can be found on an attached CD. Drivers are compatible with the following systems: Windows 2000, XP, Server 2003, Vista, Windows 7, Server 2008 (x86 and x64). At drivers installation, a message signaling lack of drivers digital signature can occur. Ignored them and proceed with further installation.

Fig. 5. Message signaling detection of new device Data logger/Logger SM61

After closing the wizard, the system will immediately detect another device - USB Serial Port (fig. 6). Found new hardware wizard will be restarted. During the installation process, all wizard suggestions ought to be followed.

Fig. 6. System message on finding new device

After successful installation, the system will notify on installing a new device (fig. 7). Two new devices will appear in Device Manager - Data logger/Logger SM61 and Port COM named: data logger/Logger SM61, according to fig. 8.

SM61-09/1

User's manual

12

Fig. 7. System message finishing drivers installation of SM61

Succccessful instaled SM61 device with virtual port COM25

Fig. 8. Device manager window with installed SM61 with assigned port No. COM25

Then SM61Config software on attached CD ought to be run and installation procedures with user guide for first application run ought to be followed, point 5. SM61Config software. After entering configuration it ought to be saved and the device restarted so that a new configuration can be entered. Notice: After changing the parameters the device should be reset.

4.3.2. Configuration using RS-485 interface


In order to configure the device by interface RS-485, the device ought to be connected using a converter (e.g. PD 10) to a PC. Then in accordance with tables 19 and 20 from point 10.3. Registers map, which contains registers map of SM61, using own program or a device compatible with Modbus RTU do the data logger configuration.

4.3.3. Configuration using LAN interface


In order to configure the device by LAN interface, the device ought to be connected to the Ethernet network. Then SM61Config software on attached CD ought to be run and

SM61-09/1

User's manual

13

installation procedures from user guide for first application run ought to be followed, point 5. SM61Config software. Notice: After changing the parameters the device should be reset.

In case of problems it is advised to restore default parameters and restart configuration, in accordance with points 4.3.1-3. Restoring default parameters can be done: during device operation time by pressing the button located in the upper part of the casing, by selecting Default Settings in the program SM61Config (see point 5. SM61Config software).

5. SM61Config software
The SM61Config software allows for searching all data loggers in Ethernet network and to configure a selected SM61 device using protocol Modbus RTU (interface USB) or using protocol Modbus TCP (LAN interface). The SM61Config also allows for downloading archive files from data logger using FTP protocol. To apply any changes in configuration of the data logger it is required to enter the password for the administrator account. Default administrator password is: dbps For more information about users, see point 6.5.3. Users.

5.1. Installation
Installation program is found on CD attached to SM61. To run an installation on a computer, the software SM61Config_install.exe should be started. This is an application that installs SM61Config with essential accessories on a users computer. During installation one ought to proceed in accordance with the instructions displayed on the screen.

5.2. First start


At first start of SM61 it is required to configure basic IP settings, such as: IP address, subnet mask, default gateway address. Needed information should be given from local network administrator in which device will be joined. The SM61Config software enables the user to configure network setting of SM61 by USB interface or by Modbus TCP (LAN interface, Ethernet).

5.2.1. Selection of communication way


After installing the application one ought to run it and select the way of communication with the device, from the software menu (Option -> Communication), fig. 9.

SM61-09/1

User's manual

14

Fig. 9. Selection of communication way from the device

Then proceed to the further configuration.

5.2.2. First run using USB interface


After selecting communication way, proceed to device configuration by selecting a proper option from the menu (presented in fig. 10).

Configuration of the Ethernet settings Configuration of the serial port


Fig. 10. Left menu options

Configuration of individual settings is described in points 5.3.3. Ethernet configuration and 5.3.4. Serial port configuration in further part of the users manual. Notice: After changing the parameters the device should be reset.

5.2.3. First run using LAN interface


After selecting the communication way with the device, open the SM61Config and display the list of searched devices connected to Ethernet network by selecting the option List of SM61 device from the menu shown in fig. 11.

SM61-09/1

User's manual

15

The list of searched devices

Ethernet configuration Serial port configuration

Download the archive files

Fig. 11. Left menu options of SM61Config

After left click on a selected device from the list of searched data loggers, new context menu presented on the fig. 12 Will appear.

Fig. 12. Context menu allowing for IP settings change

Selecting Change IP causes the appearance of window that enables for configuration of the following settings (fig. 13):

Fig. 13. Change of IP settings

SM61-09/1

User's manual

16

After entering changes, clicking OK will cause the window to shut down and will save the changes in the device memory. Notice: After changing the parameters the device should be reset.

5.3. Software functions


After opening of the software the window presented on the fig. 14. It is possible to open only one application window.

Fig. 14. General appearance of SM61Config

5.3.1. Main menu


Main menu presented on the fig. 15 enables: 1. File Exit - close software. 2. View Status bar - show or hide status bar. 3. Options Languages - language change. Communication - allows for the change of communication way with the device. There are two ways of communication: USB (USB interface) and Modbus (LAN interface). Selecting an USB option requires connecting the device to the USB port and does not require selecting the device from the list. Selecting Modbus TCP option requires, for the sake of further work, selecting the device from the list. Communication via Modbus TCP is set as default. 4. Help About - information about software version.

SM61-09/1

User's manual

17

Fig. 15. Structure of the main menu

5.3.2. List of SM61 devices


Selecting an option List of SM61 devices allows for searching existing devices in Ethernet network (fig. 16).

Fig. 16. Searched data loggers

Selecting a device for configuration is done by left click on an IP address of a chosen device. Then the whole line will highlight in a way presented on the fig. 16. After selecting a device, move forward to its configuration by selecting a right option (Ethernet or Serial Port). Right click on an IP address of a selected device causes displaying of context menu presented on the fig. 17.

Fig. 17. Menu invoked with a right click

Functions of menu presented on the fig. 17 allow: Change IP - allows for configuration of a device in a way presented on the fig. 13 in the point 5.2.3. First run using LAN interface. Go to www - selecting this option causes moving to a site of a selected device in Internet browser. Restart - causes a restart of device. Delete archive - auses deleting the whole archive from the device memory (more about archive in the point 8. Internal archive). Default configuration - causes restoring default data, requires to restart the device. All activities described above are carried out using Ethernet network connection.

5.3.3. Ethernet configuration


One of the two possible ways of communication (USB or Modbus TCP) can be used for configuration. The selection of the communication way proceeds as follows: select Options from the main menu then Communication and from submenu way of communication as fig. 9 in the point 5.2.1. Selection of communication way presented.

SM61-09/1

User's manual

18

In case of selecting communication by Modbus TCP, it is first necessary to select a device with which a connection is to be made from the list. Configuration window is presented on the fig. 18.

Fig. 18. Window of Ethernet configuration

Parameters presented on the fig. 18 are described in the table 4.


Parameters describe Name Description Name Description DHCP IP Address Subnet mask Gateway MAC Address Baud rate device name, maximum 8 characters device description, maximum 20 characters on or off DHCP IP Address, address i fourth version Ipv4 subnet mask device gateway address MAC, MAC is given in such a format XX:XX:XX:XX:XX:XX baud rate: - auto (defalut) - 10Mbit - 100Mbit Table 4

Web server port number of web server port, values from 80 (defalut) to 65535 FTP server data number of FTP server data port, possible values from port 20 to 65535 (default value 22) FTP server number FTP server command port, possible values command port from 20 to 65535 (default value 21)

SM61-09/1

User's manual

19

After entering changes, select Save configuration. After saving the configuration the information on successful or unsuccessful entry will be displayed. In the case of communication with a device using USB, the saving procedure may take more time than in the case of communication using Modbus TCP (Ethernet network). Notice: After changing the parameters the device should be reset.

There is a possibility of re-loading of configuration by Load configuration. In the case of selecting communication using USB, there is an additional possibility to set default MAC Address (fig. 19).

Fig. 19. Setting of default MAC Address

5.3.4. Serial port configuration


For serial port configuration, like in the case of Ethernet configuration, one of the two possible ways of communication (USB and Modbus TCP) can be used. The selection of the way of communication is presented on the fig. 9 in the point 5.2.1. Selection of communication way. Configuration window is presented on the fig. 20.

Fig. 20: Serial port configuration

Parameters presented on the fig. 20 are described in the table 5.

SM61-09/1

User's manual
Parameter description Name Description Modbus Master Bud rate Modbus Master transmission speed can assume the following values: 1200bit/s, 2400bit/s, 4800bit/s, 960bit/s, 19200bit/s, 38400bit/s, 57600bit/s, 115200bit/s Modbus Master transmission mode, two following values are possible: 8N2, 8E1, 8O1, 8N1 Modbus Slave Device Address Baud rate Transmission mode Address TCP Modbus port number Number of simultaneous connections with TCP Modbus Device address can assume values from 1 up to 255 The same like for Modbus Master The same like for Modbus Master Modbus Slave TCP The same like for Modbus Slave TCP Modbus Port Number can assume values from 10 up to 100 (default port number) Maximum number of simultaneous connections (possible setting from 1 to 4 simultaneous connections) Table 5

20

Transmission mode

TCP port closing TCP port closing time, possible values from 10s time up to 600s

After entering changes, select Save configuration. After saving the configuration the information on successful or unsuccessful entry will be displayed. In the case of communication with a device using USB, the saving procedure may take more time than in the case of communication using Modbus TCP (Ethernet network). Notice: After changing the parameters the device should be reset.

There is a possibility of re-loading of configuration via Load configuration. In the case of selecting communication using USB, configuration window looks exactly the same like for communication via Modbus TCP.

5.3.5. Downloading archive files


The application allows to download archive files from the devices using FTP protocol. More information about FTP protocol can be found in point 7. FTP Client, the more information about internal archive can be found in point 8. Internal archive. To connect to the data logger one need to choose device from the list of searched devices and then choose the option Load archive files from left menu. The view with downloading archive files is shown on fig. 21.

SM61-09/1

User's manual

21

Fig. 21: Download archive files

To download files, connect to the device by entering user name, user password and FTP server port number and then select Connect, as shown on fig. 22. The data logger has a default user (more about users can be found in point 7. FTP Client): user name: root password: dbps Settings shown on fig. 22 are default.

Fig. 22: How to make connection

After connecting to the data logger, in the window Archive files in device the directory structure appears. Right clicking on the name of the file or directory it can be deleted from the data logger memory. Selecting file or directory to be copied can be done by:

SM61-09/1

User's manual

22

choosing option Select all, visible on fig. 23 will move to the window Files to download all files from the archive, select a file or directory in window Archive files in device and then choosing the button with an arrow pointing left will move the file to the window Files to download. Other options for transfer files: Deselect all will delete the selected file or directory from window Files to download, select a file or directory in window Files to download and then choosing the button with an arrow pointing right will remove the file or directory.

Fig. 23: Options for transfer files

After selecting files to be copied the destination directory should be set and then left click on option Download will start download (fig. 24).

Fig. 24: Selecting the destination directory

During the download archive the window shown in fig. 21 takes the form shown in fig. 25.

SM61-09/1

User's manual

23

Fig. 25: Downloading archive files

During downloading the files other activities can not be done in the application in addition to stop loading and disconnect the device. While downloading the files information about the duration of copying which is shown in fig. 25 appears. After finished download all function are restored and information about copying disappears.

6. Web browser
The data logger makes its own WWW server available to monitor and configure measurable values and a device condition. SM61 site enables to: obtain information on a device (serial No., name, etc.), view of current measurable values, configure data logger settings. Notice: For proper working of web site one need to have the browser with JavaScript enabled and compatible with XHTML 1.0 ( all popular browsers, Internet Explorer version minimum 8).

SM61-09/1

User's manual

24

6.1. The beginning of work with the browser


At its first run, the SM61 requires the setting of protocol IP essential information, such as: own IP address, network mask, default gateway address. Needed information should be given from local network administrator in which device will be joined. SM61 first run ought to be carried out in accordance with point 4.3. Data logger configuration. To obtain access to server it is required to connect SM61 to Ethernet working in accordance with the TCP/IP protocol. The access to server is gained through entering data recorder IP address in the web browser, e.g.: http://192.168.1.1 (where 192.168.1.1 is data logger default address). One can also use web browser call in SM61Config software, which is presented on the fig. 17 in the point 5.3.2. List of SM61 devices.

6.2. Logging
To start work with a browser it is necessary to be logged at the site. Users login and password need to be entered. SM61 has a default user: login: root password: dbps For safety reasons, after the first run of browser the logging and the password ought to be changed into different than default ones, (see point 6.5.3. Users).

6.3. Overall look


After logging in the main site presented on the fig. 26.

Main menu

Left menu

Fig. 26. Homepage

SM61-09/1

User's manual

25

There are the following elements of the site: a) The top menu of the site (fig. 27):

Fig. 27. Top menu

Detailed description of menu in the point 6.4. Site menu. b) Logout and language change option (fig. 28):

Fig. 28. Change of language and users logout

Language change option is described in the point 6.8. Language change. Logout option logs out the user. c) Left menu (fig. 29):

Fig. 29. Left menu

The content of the left menu depend on the option selected from the top menu. For all possible options the fixed element that appears in the left menu is general information about device, such as: name, IP Address, name of the logged user, the amount of an occupied area in data logger memory in percentage. d) Main part of the site (fig. 30):

SM61-09/1

User's manual

26

Fig. 30. Main part of the site

This element of the site changes according to the option selected from the top menu.

6.4. Website menu


The structure of the top menu of the site is presented on the fig. 31:

Fig. 31. The structure of the top menu of the site

The site menu consists of the following elements: a) Home - contains general information on module. b) Data presentation contains the following elements: - Channels values - contain the presentation of values loaded from the device, presented as a table and as a chart (point 6.7.1.Presentation of channels values), - Synoptic map - contains the presentation of the current synoptic map (point 6.7.2. Presentation of synoptic map). c) Configuration- consists of the following elements: - Channels - allows for configuration of all channels and their values (point 6.6.1. Channel configuration). - Alarms - allow for alarms configuration (point 6.6.2. Alarms configuration), - Synoptic map- allows for synoptic map configuration (point 6.6.3. Synoptic map configuration),

SM61-09/1

User's manual

27

- Serial port - allows for serial port configuration (point 6.6.4. Serial port configuration), - Ethernet - allows for Ethernet settings configuration (point 6.6.5. Ethernet configuration). d) Administration - contains the following options: - General - allows for the change of name and device description, the change of records number in an archive file, archive mode and setting of starting page (point 6.5.1. General settings), - Date and time - allows for the change of date and time in a device (point 6.5.2. Date and time setting), - Users- allows for the change of login and password (point 6.5.3. Users). e) Restart device - allows for device restart, after the restart configuration is reloaded.

6.5. Administration
The SM61 data logger allows for time synchronization by web browser. Option Administration allows for both time synchronization and users' accounts management. Going to Administration is presented on the fig. 32.

Fig. 32. Top menu - administration

6.5.1. General settings


To go to general settings select option Administration from the main menu and then from the submenu which is displayed select General in a way presented on the fig. 32. General settings possible for configuration are presented on the fig. 33 and in table 6.

Fig. 33. General settings

SM61-09/1
Device name Device description

User's manual
General settings description Name Description may contain maximum 8 characters may contain maximum 20 characters Table 6

28

Number of records in from 16000 up to 32000 archive file Archive mode following cases are possible: - archiving able - archiving disable - archiving invoked by A1 (for device with alarms) or by B1 (for device with inputs) - archiving invoked by A2 (for device with alarms) or by B2 (for device with inputs) there are three possibilities: - homepage - values - synoptic map

Starting page

6.5.2. Date and time settings


To set time and date choose option Administration from menu and then from submenu choose option Date and time, according to fig. 32 in the point 6.5. Administration. Data logger allows for the change of date and time, the window enabling for date and time configuration is presented on the fig. 34.

Fig. 34. Date and time settings

6.5.3. Users
To go to users settings choose option Administration from the menu and then choose option Users from the submenu according to fig. 32 in the point 6.5. Administration. Selecting the option Users displays the list of all users, presented on the fig. 35.

Fig. 35. List of users

There are two types of users accounts: administrator's account, normal account .

SM61-09/1

User's manual

29

Administrator has an access to a device configuration and to users accounts configuration. The normal account does not allow for changes in users accounts and does not have the option Administration in the menu. Administrator's account is the only one. The other accounts are of normal type. Option Add new (fig. 35) allows for adding a new user, giving a new user its name and password and defining an account type. Right click on one of the users name from the list displays a context menu presented on the fig. 36.

Fig. 36. Users options menu

Option Edit allows for editing user's settings and entering changes. The window editing a user is presented on the fig. 37.

Fig. 37. User's data edition

6.6. Configuration
Notice: Data logger requires configuration. It is absolutely necessary to reset the device after parameters change.

6.6.1. Channels configuration


The SM61 data logger has maximum 100 virtual channels, one channel has maximum 25 values. Values include measurable data delivered by registers. To go to channel configuration choose option Configuration from the menu and then option Channels from the submenu that will be displayed, as it is presented on the fig. 38.

SM61-09/1

User's manual

30

Fig. 38. Channels configuration

Then the site presented on the fig. 39 displays:

Fig. 39. Site view with channels configuration

The left menu contains data logger general data and the option of channel selection which are to be displayed in the main part of the site. The following options are available : a) All - all channels are displayed, b) Active - he option displays channels with the channel mode set on: monitored, archived, full, c) Monitored monitored, full, d) Archived archived, full,

SM61-09/1

User's manual

31

e) Turned off - the option displays channels with the channel mode set on- turned off. Displaying all channels is a default setting (regardless the work mode that is set on), they are displayed at the number of 25 on one site (fig. 39). The number of channels displayed on a site can be changed in a way presented on the fig. 40.

Entering a number in a marked place, e.g. 25 and pressing Enter, displays a defined number of channels on a site.

Fig. 40. Setting the number of channels displayed on a site

Graphic signs using in channels configuration are presented in the table 7.


Graphic signs Sign help re-loading of channels configuration from the device saving current configuration of all channels (setting memorized after the device restart), at channels edition saving the configuration of a single channel (not memorize d after the device restart) at channel edition returns to channels view Table 7 Meaning

The table presenting channels contains only selected information on a channel e.g.: channel number, name of the first channel value, channel mode, device address, base register address, register size, registers type, polling interval, archiving interval, device timeout, number of values, an icon informing whether the channel is active ( ) or not active ( ), To go to a selected channel right click on a number of a selected channel and choose Edit from the context menu presented on a the fig. 41. Option Copy allows for copying the configuration from the other channel.

SM61-09/1

User's manual

32

Fig. 41. Context menu

After selecting the option Edit the view containing all information about selected channel and its values is displayed. The view containing information about a channel is presented in the fig. 42.

Fig. 42. Channel configuration

Parameters displayed on the fig. 42 are described in the table 8.

SM61-09/1
Channels settings Name Channel mode

User's manual
Table 8 Description the mode of a selected channel: - turned off, - monitored, - archived, - full (monitored and archived), setting archived and full mode will make all values of a given channel archive in a file- details on archiving (see point 8. Internal archive) data source for a channel: - Modbus RS (Modbus Slave device), data is loaded from Modbus Slave device, - internal (constant or values from other channel), internal data of a device constitute the data source values from 1 up to 255 register address that contains data loaded from a device connected to a data logger the size of polling registers in bites (16 or 32 bites), all registers are 16-bite size except: - long, - ulong, - float, which can be set ether as 16 or 32-bite size sets the register type in a channel: - char 16 bites - character data type (two characters ASCII), - uchar - unsigned char- 16 bites - character data type (two characters ASCII), - short - 16 bites (values ranging from 32768 to 32767), - ushort- unsigned char - 16 bites (values ranging from 0 to 65535), - long - 32 bites or 2x16 bites (values ranging from - 2147483648 to 214748647), - ulong - unsigned long - 32 bites or 2x16 bites (values ranging from 0 to 4294967295), - float1234 - 32 bites or 2x16 bites, a floating - point number, the least significant bite on the first position, - float4321 - 32 bites or 2x16 bites, a floating point number, the least significant bite on the last position value from 1 to 65535 value is active when the mode is archived or full, may assume values from 10 up to 65535 values from 1 up to 65535

33

Source type

Device address Base register address Register size

Registers type

Pooling interval Archiving interval Device timeout

The table with channel values displays while editing a channel, fig. 43.

SM61-09/1

User's manual

34

Fig. 43. Editing channels value

Right click on a number of a selected value displays a context menu presented on the fig. 44.

Fig. 44. Context menu

Selecting the option Add here adds a new value in the place of a highlighted value (the highlighted one goes to the next position), the option Delete deletes the highlighted value. Values properties which can be configured are presented in the table 9.
Values settings Name Value number Value name Register address Unit Mathematical operator Table 9 Description values from 1 up to 25 the name consists of maximum 15 characters automatically calculated based on base register presents available units Mathematical operations +, -, /, *, = Argument of mathematical operations values from 1 up to 655 Mathematical operations with other channels Mathematical operator Channel number Value number +, - , / , *, = channel number is used for operations with other channels mathematical

value number of previously selected channel used for mathematical operations with other channels

It is possible to carry out mathematical operations on configured channel values. Mathematical operations with a quoted argument or selected value from a selected channel can be carried out on the values. After configuring a single channel, all settings ought to be saved. Saving the channel will cause saving the configuration of a single channel only to a volatile memory which will not be recalled after the device restart. For the configuration to be remembered after the computer restart, go from channel edition to the view of all channels (button - green arrow in left) and save the configuration.

SM61-09/1

User's manual

35

Setting mathematical operations for the value will cause carrying out a mathematical operation on a value being downloading from a device. Notice: After changing the parameters the device should be reset.

6.6.2. Alarms configuration


Alarms configuration is available to implementation with alarms, for implementation with binary inputs there is no this site element. Moving to alarms configuration is presented on the fig. 45.

Fig. 45. The way of going to alarms configuration

After the site downloads, the window presented on the fig. 46 will display.

Fig. 46. Alarms configuration

The data logger allows for setting of two alarms. Each of them have the same set of parameters to be configured. Alarms parameters are presented in the table 10.

SM61-09/1
Trigger source

User's manual
Alarms parameters Name Description alarm trigger sources; - none (lack of the alarm) - channel value - configuration error - archiving error - lack of space in FLASH memory - always turned on channel number applicable to an alarm, active when channel value is the trigger source channel value number that applies to an alarm, active when channel value is the trigger source - n-on (alarm sets when the value rises above the upper level and turns off when it drops below the lower level) - n-off (alarm turns off when the value rises above the upper level and turns on when it drops below the lower level) - on (when value within the range alarm on, when outside the range alarm off) - off (when value in the range alarm off, when outside the range alarm on) Table 10

36

Channel number Value number Alarm type

Lower alarm lower alarm threshold, max. 32500000 can be threshold set Upper alarm upper alarm threshold, max. 32500000 can be threshold set Delay which turns on Delay which turns off after max. value is 1000s alarm after max. value is 1000s alarm

After entering changes they ought to be saved. When an alarm is on, a bell symbol with the applicable alarm number is displayed on a site (fig. 47), left click on it cause information about the alarm (fig. 48), that contains the following data: number of alarm which is displayed, alarm trigger source.

Fig. 47. Information about the alarm

Fig. 48. Information about the alarm

It is not necessary to restart the device in order to save the settings. More information on alarms in the point 9. Alarms and binary inputs.

SM61-09/1 User's manual 6.6.3. Synoptic map configuration


Moving to synoptic map configuration is in accordance with fig. 49.

37

Fig. 49. The way of moving to synoptic map configuration

After the site downloads, the window presented on the fig. 50 displays:

Fig. 50. Edition of synoptic map configuration

On the left side of the window there is the menu allowing for creating and configuring of a synoptic map. The menu divides into the following parts: a) Background files - the element presented on the fig. 51 allows for setting a background file of a map.

Fig. 51. Selection of files background

SM61-09/1

User's manual

38

Positioning the mouse cursor on a question mark displays information on how to load your own background files (fig. 51). In order to load your own background file, send your image files using FTP client to WWW/bitmaps catalog. Servicing FTP client is presented in point 7. FTP Client. After selecting a file, chose Set which displays the selected background on the site. Elements described in b) can be applied on the set background file. b) Elements the part of the left menu presented on the fig. 52, allows for applying new elements on the map.

Fig. 52. Elements of synoptic map

To add an element, select Add. The added element displays on the map in a way presented on the fig. 53:

Fig. 53. Element on a synoptic map

The element can be randomly moved on the map. Maximum 15 elements can be placed on the map. An active element is highlighted. By using navigation arrows you can choose which element is to be active. c) Selected item- the part of the left menu presented on the fig. 54 contains the information on an active (selected) item:

Fig. 54. The left menu of synoptic map- selected item

Channel number and value number of a channel which is to be represented ought to be selected for an item. Numbers can be filled manually or by using a help as presented on the fig. 55:

SM61-09/1

User's manual

39

Fig. 55. Selecting a channel and value for an item

Selecting a value and clicking Ok fills values in the place of channel number and value number. An element can be moved by grasping an item with a mouse and inserting it in the right place. While moving it, current coordinates values are displayed. There is also a possibility to set a yellow or a transparent background for an element (using an option Show background), fig. 56:

Fig. 56. Setting background for element

Element can be deleted by clicking Delete. d) Load/ save map - allows for saving a map and loading a previously saved synoptic map (fig. 57).

Fig. 57: Left menu of synoptic map - map loading and saving

If there are any created synoptic maps they can be opened by selecting a map from the list and clicking Set. The map can be deleted by clicking Delete. The map can be also saved by entering a name that is not longer than 8 characters (containing only letters, numbers and underliners) and clicking Save. Selecting Refresh will refresh the list of maps. Right click on the main part of the site displays the context menu presented on the fig. 58:

SM61-09/1

User's manual

40

Fig. 58. Context menu of synoptic map

Selecting Add new adds a new element. Selecting Clear all deletes all elements and a background from a synoptic map. Selecting Resize displays a window presented on the fig. 59 that allows for changing size of a synoptic map.

Fig. 59. Map resizing

Map size can be changed be entering width (maximum 2500 pixels) and height (maximum 1600 pixels) or by choosing the option Adjust to selected background file which enters given values. Right click on an element displays the menu presented on the fig. 60:

Fig. 60. Context menu of synoptic map element

Selecting Add new will add a new element to a map, selecting Assign channel will display a window allowing for selecting a channel value from the list of configured ones. Selecting Delete will delete a selected element.

6.6.4. Serial port configuration


Serial port configuration allows for configuring such settings as Modbus Master, Modbus Slave and Modbus TCP Slave. Going to serial port configuration is done by selecting Configuration from the site main menu and then Serial port from submenu according to fig. 61.

Fig. 61. Serial port configuration

After the site downloads its main part looks in the way presented on the fig. 62.

SM61-09/1

User's manual

41

Fig. 62: Looks of serial port configuration

Modbus Master configuration allows for setting baud rate and transmission mode (table 11).
Modbus Master settings Name Description Baud rate Table 11

Modbus Master baud rate, can assume the following values: 1200 bit/s,2400 bit/s, 4800 bit/s, 9600 bit/s, 19200 bit/s, 38400 bit/s, 57600 bit/s, 115200 bit/s Modbus Master transmission mode, the following values are possible 8N2, 8E1, 8O1, 8N1

Transmission mode

Modbus Slave configuration allows for setting device address, baud rate and transmission mode (table 12).
Modbus Slave settings Name Description Device address Baud rate Table 12

Device address, can assume values from 1 up to 255 Modbus Slave baud rate, can assume the following values: 1200 bit/s, 2400 bit/s, 4800 bit/s, 9600 bit/s, 19200 bit/s, 38400 bit/s, 57600 bit/s, 115200 bit/s Modbus Slave transmission mode, the following values are possible 8N2, 8E1, 8O1, 8N1

Transmission mode

Modbus Slave TCP configuration allows for the settings of: device address, Modbus TCP port number, number of simultaneous connections with Modbus TCP server, TCP port closing time.

SM61-09/1
Modbus Slave TCP settings Name Device address Modbus TCP port number Maximum connections

User's manual
Table 13 Description device address can assume values from 1 up to 254 Modbus TCP port number, can assume values from 10 to 1000

42

The description of the above parameters is presented in the table 13.

simultaneous maximum number of simultaneous connections with Modbus TCP server, possible values from 1 up to 4 setting port TCP closing time, possible values from 10 s up to 600 s

Port TCP closing time

After changes one should left click Save to save all changes. Notice: After changing the parameters the device should be reset.

6.6.5. Ethernet configuration


Ethernet configuration allows for configuring IP settings and ports settings. Going to Ethernet configuration is done by selecting Configuration from the main menu and then selecting Ethernet form the submenu, according to fig. 63.

Fig. 63. Ethernet configuration

After the site downloads, the configuration window presented on the fig. 64 displays.

SM61-09/1

User's manual

43

Fig. 64: The view of Ethernet configuration

In IP settings it is possible to configure the values presented in the table 14.


IP settings Name IP address Subnet mask Default gateway MAC address Table 14 Description IP address, address is in the fourth version IPv4 subnet mask default gateway MAC address, MAC address is quoted in the format XX:XX:XX:XX:XX:XX

Transmission rate transmission rate on one of the options: - auto - 10Mbit - 100Mbit DHCP DHCP On or Off

It is possible to configure: web server port, FTP server command port, FTP server data port, number of device serving port. Description of parameters is presented in the table 15.

SM61-09/1
Ports settings Name Web server port

User's manual
Table 15 Description number of web server port, possible values from 80 up to 65535

44

FTP server command port number of FTP server command port, possible values from 20 up to 65535 FTP server data port Device searching port number of FTP server data possible values from 20 to 65535 port,

number of device searching port, possible values from 10 up to 65535

After inserting changes they ought to be saved by clicking Save. Notice: After changing the parameters the device should be reset.

6.7. Data presentation


Data presentation allows for browsing the current data being loaded from SM61 data logger. Data presentation is possible after prior proper device configuration. The measurement value in a given channel is the last correct value read out from the device.

6.7.1. Channels values presentation


Moving on to channels values presentation is done by selecting Data presentation from the main menu and then the option Channel values from the submenu as presented on the fig. 65.

Fig. 65. Channel values presentation

The view of channel values presentation is presented on the fig. 66.

Fig. 66: Channel values presentation

SM61-09/1

User's manual

45

It is possible to control the data presentation using the option of the left menu of the site as presented on the fig. 66. The menu contains the following elements: Configuration allows for refreshing the configuration, Refreshing allows for setting the values refreshment on a site. Available values: 2s, 5s, 10s and 60s and STOP to stop data downloading. Last measurement presents the time of last measurement made, the sign is green during read out, when refreshing is set on STOP the sign will turn red, Chart clicking on Show displays the chart. The table presented on the fig. 66 contains the following information: channel number from which data will be downloaded, value number of a given channel, device address from which data is downloaded, register address, register type, value name, value - current value with a unit, when refreshing is not turned on this column is empty, the value appears after turning on refreshing, add to the chart - highlighting this option adds a selected value to the presentation on the chart, status. In case a channel has more than one value it is possible to collapse the view so that only the first channel value can be visible (fig. 67).

Fig. 67: Collapsing of channel values

The chart presents the values highlighted with the option Add to the chart. The chart is presented on the fig. 68. The chart presents last 30 values. The chart has its legend. After placing a mouse cursor on a value it becomes highlighted and the information containing basic data on a given value is displayed, these are: name, size, downloading time.

SM61-09/1

User's manual

46

Fig. 68: Value chart

6.7.2. Synoptic map presentation


Moving on to synoptic map presentation is done by selecting Data presentation from the site main menu and then Synoptic map as presented on the fig. 69.

Fig. 69. Synoptic map presentation

The view of channel values presentation is shown on the fig. 70.

Fig. 70: Synoptic map presentation

SM61-09/1

User's manual

47

At first select a saved synoptic map and click Set (fig. 70). Then set refreshing which is set by default on STOP, it can be set on 2s, 5s, 10s, 60s. After setting the time of data refreshing, current data being downloaded from a device will start appearing on the site. The left menu also displays the time of last measurement, during downloading it displays in green, after downloading is off, it displays in red. Placing a mouse cursor on an element displays a window presenting such information on an element as: name, channel number, value number, unit.

6.8. Language change


The change of a language is done by selecting a flag that represents a language (fig. 71). An active language version is presented by a colourful flag, inactive version by a black and white flag.

Fig. 71. Language change

7. FTP Client
The SM61 data logger enables communication by FTP protocol. You can get to files using standard program of FTP protocol client and using SM61Config software (to download archive).To connect with a device using FTP client you need: - IP address - IP address setting is described in point 6.6.5.Ethernet configuration, - number of FTP server command port - setting a port number is described in point 6.6.5. Ethernet configuration, - number of FTP server data port - setting a port number is described in the point 6.6.5. Ethernet configuration, - user name and password - a user set by default (the same as for Internet browser) : login: root password: dbps For safety reasons a user ought to be changed for other than a default one, which is presented in the point 6.5.3. Users. The example of making a connection using FileZilla client (you can download FileZilla from http://filezilla-project.org) is presented on the fig. 72.

SM61-09/1

User's manual

48

Fig. 72: Making connection with FTP server

For data transmission, maximum one connection at the same time is possible (in FileZilla a new site ought to be added and a number of simultaneous connections ought to be set on onefig. 73). Copying is to be done in a binary mode.

Fig. 73: Setting a limit of connections in FileZilla

The SM61 data logger has a folder structure presented on the fig. 74.

SM61-09/1

User's manual

49

Fig. 74: Catalog structure

Individual folders contain: - DATA - contains files with archive data, - LOG - contains files with logs, - SYSTEM - contains files with configuration, - WWW - contains files with web site.

8. Internal archive
The SM61 allows to store data read from Slave devices. Current data read from channel values or current data read and calculated using mathematical functions are saved in the archive. Only values of these channels which mode is set on archived or full are archived. Archive files are created in DBF format, in folder DATA and in a subfolder with a year in which a file was created (folders structure is presented in the point 7.FTP Client). File name with archive data contains date and time of a file creation in format MMDDGGMinMin.DBF, where: - MM - means a month of a file creation written down using a two-digit number, - DD - means a day of a file creation written down using a two-digit number, - GG - means an hour of a file creation written down using a two-digit number, - MinMin - means a minute of a file creation that is written down using a two-digit number. More information about a file structure can be find in the point 8.3.Structure of archive file. Archive can be read, copied and deleted. Archive is created for the defined number of records which is possible to set (details in archiving configuration - point 6.5.1. General settings). When all archive files are deleted, a new file in accordance with current archive settings is created and all data is saved in it. Before modifying the archive configuration it is recommended to copy all archive files and then delete the whole archive. After the settings modification, the files with current settings will be created. All errors are signaled with REC diode (fig. 3, red REC diode - archiving error, green - correct archiving), with channel statuses (table 21) and with logs saved in data logger memory (available to load via FTP protocol).

SM61-09/1

User's manual

50

8.1. Archiving configuration


During configuration, it is needed to configure the channels which will be archived (during channels configuration), then set how many records an archive file will contain. It is possible to set from 16000 up to 32000 records in a file. Records are archived with a time step which also needs to be set on values from 10 to 65535 seconds (channel configuration). A required archiving time need to be rounded to 10, because entering a different value will round it up anyway. Archiving mode is also to be set on one of the available alternatives: - off, - on, - triggered by alarm 1, - triggered by alarm 2, - triggered with input 1, - triggered with input 2, New number of records in a file will be set only after the device restart. If a new number of records is set on greater than the previous one the last file will be closed and a new one with a proper number of records will be created. However, if a new number of records was set on smaller than the previous one, the last file will be closed and a new one with a proper number of records will be created. Setting conditional archiving can be done in one of four options presented on the fig. 75. Markings on the fig. 75: Ar_L Lower archive threshold Register 4083/4073, Ar_H Upper archive threshold Register 4084/4074. Continuous archiving is turned on by selecting h -on archiving mode (turned on by hand), archiving is turned off by selecting h-off (turned off by hand).
Archiving Wyjcie alarmu
1 waczone on 0
0 1 waczone on waczone on Wyjcie alarmu Archiving

off wyaczone
AL _L Ar_L AL_H Ar_H wielko wywietlana

off wyaczone

Displayed value

AL _L Ar_L

AL _H Ar_H

wielko wywietlana

Displayed value

Archiving Wyjcie alarmu


1 waczone on 0
1

Wyjcie alarmu Archiving waczone on

off wyaczone
AL _L Ar_L AL_H Ar_H wielko wywietlana

0 wyaczone off wyaczone off

Displayed value

Ar_L AL _L

Ar_H AL _H

wielko wywietlana

Displayed value

Fig. 75: Types of conditional archiving

SM61-09/1

User's manual

51

8.2. Downloading archive data


Downloading archive data from a data logger memory can be done using FTP client. How to use FTP client is presented in point 7. FTP Client. Connect device by FTP client and then download archive files. The folder structure is presented on the fig. 76.

Fig. 76: Downloading archive from data logger

8.3. Structure of archive files


Files with archive data are saved in DBF format. To open them, use the program that opens this type of files, e.g. OpenOffice Calc, MS Excel. A file is created for a given number of records, it has a column structure and always consists of 31 columns. An exemplary file is presented on the fig. 77.

SM61-09/1

User's manual

52

Fig. 77: Exemplary file with data

Consecutive fields in a line have the following meaning: INDEX_NO - stands for a record number in a file, CHAN_NO - stands for a channel number, VAL_TYP - stands for values according to register type (char, unsigned char, short, unsigned short, long, unsigned long, float1234, float4321- according to registers type in table 7), VAL_STAT - stands for values (where 1 means ok, and 0 means readout error or timeout), DATE - stands for a date of registered data, TIME - stands for time of registered data (hour, minute, second), VAL_1,...,VAL_25 - stands for a value read out from individual values.

9. Alarms and binary inputs


The SM61 data logger has two alarm relay outputs with a make contact or two binary inputs (depending on ordering code). Each alarm can operate in one of six modes. Fig. 78 presents the alarm in modes: n-on, n-off, on,off. The two remaining modes: h-on and h-off mean always on and always off. These modes are meant for manual stimulation of alarms. AL_L - Lower alarm threshold AL_H - Upper alarm threshold Note: For alarm types: n - on, n off, on, off entering PrL>PrH turns off an alarm. In case of implementation with binary inputs, possibility of defining adequate functions for each of inputs individually: lack of function, turning on MODBUS RTU module for Master mode for low level, turning on MODBUS RTU module for Master mode for high level,

SM61-09/1

User's manual

53

turning off MODBUS RTU module for Master mode for low level, turning off MODBUS RTU module for Master mode for high level, turning on archiving module for low level, turning on archiving module for high level, turning off archiving module for low level, turning off archiving module for high level, deleting archive for low level, deleting archive for high level.
Alarm alarmu output Wyjcie
Wyjcie alarmu Alarm output 1

1 waczone on 0

waczone on 0

waczone on

off wyaczone
AL _L AL_H wielko wywietlana

off wyaczone

Displayed value

AL _L

AL _H

wielko wywietlana

Displayed value

Alarm alarmu output Wyjcie


1 waczone on 0
1

Wyjcie alarmu Alarm output waczone on

off wyaczone
AL _L AL_H wielko wywietlana

0 wyaczone off AL _L wyaczone off AL _H wielko wywietlana

Displayed value

Displayed value

Fig. 78: Alarms work in different modes

10. Interface RS-485


The SM61 has a serial connection in RS-485 standard to communicate in computer and with other Master devices. MODBUS asynchronous character communication protocol was implemented on a serial connection. Transmission protocol describes the way of information exchange between devices using a serial connection. Implemented protocol is in accordance with PI-MBUS-300 Rev G of Modicon. Point 6.6.4. Serial port configuration shows configuration of serial port settings.

10.1. Description of functions


The functions of Modbus protocol which has been implemented in SM61 data logger are shown in table 16.
Modbus protocol functions Table 16 Code 03 06 16 Meaning Reading n-registers Record 1 register N-registers record

SM61-09/1
N-registers reading (code 03)

User's manual

54

Request: The function allows for reading values in registers in an addressed Slave device. There are 16 or 32-bit registers which can contain numeric values connected with process variables etc. A claim frame defines a 16-bit initial address of a register and a number of registers to be read. The function is not available in broadcast mode. Example. Read of 2 registers, starting from a register with address 1DB0h (7600) type float (32 bits). Device
address 01 Function 03 Register address Hi Lo 1D B0 Register number Hi Lo 00 02

Checksum
CRC C3 80

Response: Registers data are packed starting from the smallest address: first high byte and then junior byte of a register. Example. Response frame.
Device address 01 Function Number Value from register Value from register of bytes 1DB0 (7600) 1DB1 (7601) MSB LSB MSB LSB 03 08 41 20 00 00 42 C8 00 00 Checksum CRC E4 6F

Recording a value into a register (code 06) Request: The function allows for modification of a register content. It is available in broadcast mode. Example. Recording value 543 (0x021F) into register 4001 (0x0FA1). Device
address 01 Function 06 Register address Hi Lo 0F A1 Register value Hi Lo 02 1F

Checksum
CRC 9B 94

Response: Message retransmission after carrying out the operation is a correct response for a claim of value recording into a register. Example.
Device address 01 Function Register address Hi Lo 06 0F A1 Register value Hi Lo 02 1F

Checksum
CRC 9B 94

SM61-09/1
N-regsiters record (code 16)

User's manual

55

Request: Function available in broadcast mode. It allows for modifications of registers content. Example. Recording of two registers, starting from register with address: 1DB0h(7600). Recorded values are: 20 and 200.
Device address 01 Function Register No. of No. Value for register address registe of 1DB0 rs bytes Hi Lo Hi Lo MSB LSB 10 1D B0 00 02 08 41 A0 00 00 Value for register DB1 MSB 43 48 00 LSB 00 Checksum CRC C9 E2

Response: A correct response includes: Slave unit address, function code, initial address, number of recorded registers. Example.
Device address 01 Function 10 Register address Hi Lo 1D B0 Register value Hi 00 Lo 02

Checksum
CRC 46 43

10.2. Error codes


When Master device sends a request to Slave device, it expects a correct response, except messages sent in broadcast mode. After sending a Master unit request, four possible events may occur: If a Slave unit receives a request without a transmission error and it can carry it out correctly, then it returns a correct response. If a Slave unit does not receive a request, no response is returned. In Master device program, the timeout conditions for a request will be fulfilled. If a Slave unit receives a request but it comes with transmission errors (parity error, checksum LRC error or CRC error), no response is returned. In Master device program, the timeout conditions for a request will be fulfilled. If a Slave unit receives a request without a transmission error but it cannot carry it out correctly (e.g. if a request is a readout of a non-existing bit output or a register), then it returns a response containing an error code which informs a Master device on an error cause. The message with a wrong response contains two fields that distinguish it from a correct response: Function code field In a correct response, a Slave unit retransmits a function code from a request message to the field of response function code.

SM61-09/1

User's manual

56

All functions codes have most significant bit (MSB) that equals 0 (codes values are below 80h). In a wrong response, a Slave device sets a most significant bit of function code to 1. This causes a function value code in a wrong response to be exactly 80h bigger than it would be in a correct response. On the basis of a function code with set MSB, Master device program may recognize a wrong response and may check an error code in a data field. Data field: In a correct response, a Slave device may return data in the data field (some information requested by Master unit). In a wrong response, a Slave device returns an error code in a data field. It defines Slave device conditions that caused an error. Table 17 presents possible error codes and their meaning.
Error codes Code 01 02 03 04 05 Table 17 Meaning Function not allowed Illegal data address Data value not allowed Claim in process Claim processing impossible

10.3. Registers map


Map of register groups Address range 4000 4615 5000 5455 Values type 16 bits 16 bits Table 18 Description registers containing configuration devices, registers for reading and writing registers only for reading contain statistical and data parameters of a device registers only for reading contain values read out from connected devices, values placed are from 1 channel to 100 channels

8000 13000

16 bits

In data logger, data is placed in 16-bit registers. The list of registers is presented in the table 19 (registers for reading and writing from address 4000 to 4003) and in the table 20 (registers for writing and reading from address 4004 to 4615). In tables the symbol (*) stands for a default parameter.

SM61-09/1
Register address 4000 4001 4002 4003 Device ID Status 1 Status 2 Status 3

User's manual
Description

57
Table 19

Map of registers for reading and writing form 4000 up to 4003

Value that can be recorded into a register is a statute value Value that can be recorded in a register is 0

Description of register Status 1.


Not used X bit 15 MSB X 14 X 13 Writing error X 12 X 11 X 10 X 9 X 8 Reading error X 7 X 6 X 5 X 4 X 3 X 2 X 1 X 0 LSB

Bit 15 -13 Not used Stan 0 Bit 12 File log writing error Stan 0 - correct writing Stan 1 - error writing Bit 11 Error writing channel configuration Stan 0 - correct writing Stan 1 - error writing Bit 10 Error writing interface configuration Stan 0 - correct writing Stan 1 - error writing Bit 9 Not used Stan 0 Bit 8 Error writing alarm configuration Stan 0 - correct writing Stan 1 - error writing Bit 7 Error creating log file Stan 0 - correct creation Stan 1 - error creation Bit 6 Error reading user data Stan 0 - correct reading Stan 1 - reading error Bit 5 Error reading channel configuration Stan 0 - correct reading Stan 1 - reading error Bit 4 Error reading default parameters Stan 0 - correct reading Stan 1 - reading error Bit 3 Error reading interface parameters Stan 0 - correct reading Stan 1 - reading error Bit 2 Error initializing values of Modbus registers

SM61-09/1

User's manual

58

Stan 0 - initialization correct Stan 1 - initialization error Bit 1 Not used Stan 0 Bit 0 Error alarm reading Stan 0 - correct reading Stan 1 - reading error

Description of register Status 2.


Not used X bit 15 MSB X 14 X 13 X 12 X 11 X 10 X 9 X 8 X 7 X 6 X 5 X 4 X 3 Archive X 2 X 1 X 0 LSB

Bit 15 -13 Not used Stan 0 Bit 2 Archive file error Stan 0 - archive file correct Stan 1 - file error Bit 1 Archive overloaded Stan 0 - archive overloaded Stan 1 - lack of overload Bit 0 Archiving stop Stan 0 - archiving in process Stan 1 - archiving stop Description of register Status 3.
Not used X bit 15 MSB X 14 X 13 X 12 X 11 X 10 X 9 X 8 X 7 X 6 X 5 X 4 Inputs X 3 X 2 Alarms X 1 X 0 LSB

Bit 15 - 3 Not used Stan 0 Bit 3 Input 2 turned on Stan 0 - input 2 turned off Stan 1 - input 2 turned on Bit 2 Input 1 turned on Stan 0 - input 1 turned off Stan 1 - input 1 turned on Bit 1 Alarm 2 turned on Stan 0 -alarm 2 turned off Stan 1 - alarm 2 turned on Bit 0 Alarm 1 turned on

SM61-09/1

User's manual
Stan 0 - alarm 1 turned off Stan 1 - alarm 1 turned on

59

Register map for writing and reading from address 4004 to 4615 Table 20 Register Range Description address 4004 112 Function activating code Functions: 0- lack of function 1- device reset 2- set default interface parameters 3- set default alarm parameters 4005 0...8 4- set all parameters as default 5- save the whole configuration in FLASH memory 6- delete all Modbus Master settings 7- delete all Modbus master settings and save in FLASH memory 8- delete all archive files RS-485 interface and MODBUS SLAVE/MASTER configuration 4006 1*...254 Device address RS-485 SLAVE interface transmission speed 0- 1200 bit/s 1- 2400 bit/s 2- 4800 bit/s 3*- 9600 bit/s 4007 0...8 4- 19200 bit/s 5- 38400 bit/s 6-57600 bit/s 7- 115200 bit/s 8- speed in accordance with register 4008 4008 1200...115200 Transmission speed RS-485 SLAVE interface transmission mode 0- RTU 8N2 4009 03 1- RTU 8E1 2- RTU 8O1 3*- RTU 8N1 RS-485 MASTER interface transmission speed 0- 1200 bit/s 1- 2400 bit/s 2- 4800 bit/s 3*- 9600 bit/s 4- 19200 bit/s 5- 38400 bit/s 6- 57600 bit/s 7- 15200 bit/s 8- speed in accordance with register 4011 Transmission speed RS-485 MASTER interface transmission mode 0- RTU 8N2 1- RTU 8E1 2- RTU 8O1 3*- RTU 8N1 Booked Ethernet interface configuration MAC address (1) MAC address (2) MAC address (3) IP address (1) IP address (2)

4010

08

4011

1200...115200

4012 4013 - 4015 4016 4017 4018 4019 4020

03

0...255 0...255 0...255 0...255 0...255

SM61-09/1
Register address 4021 4022 4023 4024 4025 Range 0...255 0...255 0...255 0...255

User's manual
Description Subnet mask (1) Subnet mask (2) Default gateway (1) Default gateway (2) DHCP (On/Off) 0..1 0- DHCP turned off 1- DHCP turned on Transmission speed 0- auto 0...2 1- 10Mbit 2- 100Mbit Booked 80*...65535 Web server port number 10...65535 Port number of web device searching module 20...65535 FTP command server port number 20...65535 FTP data server port number 0...65535 TELNET server port number 0...65535 SMTP server port number Booked 0...65535 Device name (1)- two ASCII characters 0...65535 Device name (2)- two ASCII characters 0...65535 Device name (3)- two ASCII characters 0...65535 Device name (4)- two ASCII characters 0...65535 Device description (1)- two ASCII characters 0...65535 Device description (2)- two ASCII characters 0...65535 Device description (3)- two ASCII characters 0...65535 Device description (4)- two ASCII characters 0...65535 Device description (5)- two ASCII characters 0...65535 Device description (6)- two ASCII characters 0...65535 Device description (7)- two ASCII characters 0...65535 Device description (8)- two ASCII characters 0...65535 Device description (9)- two ASCII characters 0...65535 Device description (10)- two ASCII characters Booked MODBUS SLAVE (Ethernet) configuration 1255* MODBUS TCP SLAVE device address 065535 MODBUS TCP (502*) port number 14 Number of simultaneous connections with MODBUS TCP (2)* 10s*600s Port closing time Booked Archive configuration 16000* ... 32000 Number of record in a single archive file Archiving mode: 0- archiving off 1- archiving on 0...5 2- archiving triggered from alarm 1 3- archiving triggered from alarm 2 4- archiving triggered from input 1 5- archiving triggered from input 2 Settings acceptance for registers 4006-4069: 0..1 0- settings without changes 1- saving settings in SD memory Alarms, time

60

4026 4027 - 4028 4029 4030 4031 4032 4033 4034 4035 - 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 - 4060 4061 4062 4063 4064 4065 - 4067 4068

4069

4070

SM61-09/1
Register address Range

User's manual
Description
Alarm (1) triggering source 0- h-off alarm 1 off. Until the change of alarm type, alarm output stays off permanently. 1- values in channels 2- configuration error (statute 1) 3- archiving error 4- lack of space in FLASH memory 5- h-on turned on by hand. Until the change of alarm type, alarm output stays on permanently. Channel number for alarm- input quantity steering alarm 1: 0- alarm off 1...100- channel number Value numbers- the size of input steering alarm 1. Lower alarm 1 threshold Upper alarm 1 threshold Alarm 1 type: 0- n-no normal (going from 0 to 1)- hysteresis 1- n-off- normal (going from 1 to 0)- hysteresis 2- on- turned on 3- off- turned off 4- h-on switched on by hand- Until the change of alarm type, alarm output stays on permanently. 5- h- off switched off by hand. Until the change of alarm type, alarm output stays off permanently. Alarm 1 switching on delay Alarm 1 switching off delay Multiplier for Lower alarm 1 threshold Multiplier for Upper alarm 2 threshold Source of alarm 2 triggering: 0- h-off alarm 2 off. Until the change of alarm type, alarm output stays off permanently. 1- values in channels 2- configuration error (statute 1) 3- archiving error 4- lack of space in FLASH memory 5- h-on turned on by hand. Until the change of alarm type, alarm output stays on permanently. Channel number - input quantity steering alarm 2: 0- alarm off 1...100- channel number Value number, input quantity steering alarm 2 Lower alarm threshold 2 Upper alarm threshold 2 Alarm 2 type: 0- n-no normal (going from 0 to 1)- hysteresis 1- n-off- normal (going from 1 to 0)- hysteresis 2- on- turned on 3- off- turned off 4- h-on switched on by hand- Until the change of alarm type, alarm output stays on permanently. 5- h- off switched off by hand. Until the change of alarm type, alarm output stays off permanently. Alarm 2 switching on delay Alarm 2 switching off delay Multiplier for Lower alarm 2 threshold Multiplier for Upper alarm 2 threshold Working mode of input 1 Booked

61

4071

0...5

4072 4073 4074 4075

0...100 125 0...65535 0...65535

4076

05

4077 4078 4079 4080

0...65535 0...65535 0...65535 0...65535

4081

0...5

4082 4083 4084 4085

0...100 1...25 0...65535 065535

4086

0...5

4087 4088 4089 4090 4091 4092

0....65535 0...65535 0...65535 0...65535 0...65535

4093 4094

0...65535

Working mode of input 2 Booked

SM61-09/1
Register address Range

User's manual
Description Settings acceptance for registers 4071-4094 0- settings without changes 1- saving settings in volatile memory 2- saving settings in FLASH memory Entering any of the above values displays the value: 0- not saved 3- saving correct Time Time- current time- seconds Time- current time in format- hours*100 + minutes Time- current date in format- month*100 + day Time current year in format YYYY Settings acceptance for registers 4096-4099 0- settings without changes 1- current time readout 2- saving time into device Entering any of the above values displays the value: 0- not saved 3- saving correct Booked Channels configuration Channel work mode: 0- off 1- monitored 2- archived 3- monitored and archived Device address Modbus (3*) query function Register base address of Slave device Type/ sise of registers: 1- one 16-bit register 2- two 16-bit registers Registers type 0- char 16 bits- character data type (two ASCI characters) 1- unsigned char 16 bits character data type (two ASCI characters) 2- short- 16 bits range of value from 32768 to 32767 3- unsigned short- 16 bits- range of value from 0 to 65535 4- long- 32 bits range of value from -2147483648 to 214748647 5- unsigned long- 32 bits- range of value from 0 to 4294967295 6- float1234 32 bits- float number, the smallest byte on the first position 7- float4321- 32 bits float number, the largest byte on the first position Value name 1 for channel Value name 2 for channel Value name 3 for channel Value name 4 for channel Value name 5 for channel Value name 6 for channel Value name 7 for channel Value name 8 for channel Value name 9 for channel Value name 10 for channel Value name 11 for channel Value name 12 for channel Value name 13 for channel Value name 14 for channel

62

4095

0..1

4096 4097 4098 4099

0...60 0...2359 101...1231 2001...2099

4100

0...2

4101 - 4170

4171 4172 4173 4174 4175

0...99 0...3 1...254 3, 6, 16 0...65535

4176

1,2

4177 4178 - 4185 4186 - 4193 4194 - 4201 4202 - 4209 4210 - 4217 4218 - 4225 4226 - 4233 4234 - 4241 4242 - 4249 4250 - 4257 4258 - 4265 4266 - 4273 4274 - 4281

0...7 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535

SM61-09/1
Register address 4282 - 4289 4290 - 4297 4298 - 4305 4306 - 4313 4314 - 4321 4322 - 4329 4330 - 4337 4338 - 4345 4346 - 4353 4354 - 4361 4362 - 4369 4370 - 4377 Range 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535

User's manual
Description Value name 14 for channel Value name 15 for channel Value name 16 for channel Value name 17 for channel Value name 18 for channel Value name 19 for channel Value name 20 for channel Value name 21 for channel Value name 22 for channel Value name 23 for channel Value name 24 for channel Value name 25 for channel Units for value 1 (example- first 7 units) 0- V 1- mV 2- kV 3- A 4-mA 5- kA 6- % 7- C Units for value 2 (example- first 7 units) 0- V 1- mV 2- kV 3- A 4-mA 5- kA 6- % 7- C Units for value 3 (example- first 7 units) 0- V 1- mV 2- kV 3- A 4-mA 5- kA 6- % 7- C Units for value 4- 25 (example- first 7 units) 0- V 1- mV 2- kV 3- A 4-mA 5- kA 6- % 7- C Booked Switching on mathematical operations value 1 for a channel 0- switching off mathematical operations 1- switching on mathematical operations Switching on mathematical operations value 2 for a channel 0- switching off mathematical operations 1- switching on mathematical operations Switching on mathematical operations value 3 for a channel 0- switching off mathematical operations 1- switching on mathematical operations

63

4378

0...65535

4379

0...65535

4380

0...65535

4381- 4402

0...65535

4403 - 4452 4453 4454 4455 0,1 0,1 0,1

SM61-09/1
Register address 4456 - 4477 4478 4479 4480 4481- 4502 Range 0,1 1...655 1...655 1...655 1...655

User's manual
Description Switching on mathematical operations value 4-25 for a channel 0- switching off mathematical operations 1- switching on mathematical operations Argument for mathematical operations value 1 for channel Argument for mathematical operations value 2 for channel Argument for mathematical operations value 3 for channel Argument for mathematical operations value 4-25 for channel Type of mathematical operation value 1 0- mathematical operator + 1- mathematical operator 2- mathematical operator * 3- mathematical operator / 4- mathematical operator = Type of mathematical operation value 2 0- mathematical operator + 1- mathematical operator 2- mathematical operator * 3- mathematical operator / 4- mathematical operator = Type of mathematical operation value 3 0- mathematical operator + 1- mathematical operator 2- mathematical operator * 3- mathematical operator / 4- mathematical operator = Type of mathematical operation value 4-25 0- mathematical operator + 1- mathematical operator 2- mathematical operator * 3- mathematical operator / 4- mathematical operator = Channel work mode 0- internal channel 1- external channel Channel number for mathematical operations on value 1 for current channel 0- lack of channel 1...100- channel number Channel number for mathematical operations on value 2 for current channel 0- lack of channel 1...100- channel number Channel number for mathematical operations on value 3 for current channel 0- lack of channel 1...100- channel number Channel number for mathematical operations on value 4-25 for current channel 0- lack of channel 1...100- channel number Value number for mathematical operations on value 1 for current channel 0- lack of value 1...100- value number Value number for mathematical operations on value 2 for current channel 0- lack of value 1...100- value number

64

4503

0...4

4504

0...4

4505

0...4

4506 - 4527

0...4

4528

0..1

4529

0...100

4530

0...100

4531

0...100

4532 - 4553

0...100

4554

0...25

4555

0...25

SM61-09/1
Register address 4556 Range 0...25

User's manual
Description Value number for mathematical operations on value 3 for current channel 0- lack of value 1...100- value number Value number for mathematical operations on value 4- 25 for current channel 0- lack of value 1...100- value number Type of mathematical operations on channels and values on value 1 for current channel: 0- mathematical operator + 1- mathematical operator 2- mathematical operator * 3- mathematical operator / 4- mathematical operator = Type of mathematical operations on channels and values on value 2 for current channel: 0- mathematical operator + 1- mathematical operator 2- mathematical operator * 3- mathematical operator / 4- mathematical operator = Type of mathematical operations on channels and values on value 3 for current channel: 0- mathematical operator + 1- mathematical operator 2- mathematical operator * 3- mathematical operator / 4- mathematical operator = Type of mathematical operations on channels and values on value 425 for current channel: 0- mathematical operator + 1- mathematical operator 2- mathematical operator * 3- mathematical operator / 4- mathematical operator = Device polling time Device archiving time Device timeout Number of values for a selected channel informs on a number of configured values for a current channel 0- lack of values 1...25- number of values Booked Number of a correctly read channel Flag informing on reading/ writing data correctness to channel of a selected number 0- lack of reading 1- correct reading of parameters 2- correct writing of parameters to volatile memory 3- correct writing of parameters to FLASH memory Acceptance of settings for registers 4170-4614 0- settings without changes 1- saving settings to volatile memory 2- saving settings to FLASH memory

65

4557 - 4578

0...25

4579

0...4

4580

0...4

4581

0...4

4582 - 4603

0...4

4604 4605 4606 4607 4608 - 4612 4613

0...65535 0...65535 0...65535 0...25

0...100

4614

0...3

4615

0...2

SM61-09/1

User's manual

66

The list of registers to reading only which contain information with statistics is presented in the table 21. Map of registers from address 5000 Table 21 Register Range Description address 5000 0...65535 Device identifier- like for register 4000 5001 0...65535 Status 1- like for register 4001 5002 0...65535 Status 2- like for register 4002 5003 0...65535 Status 3- like for register 4003 5004 0...60 Current time - seconds 5005 0...60 Current time- minutes 5006 0...23 Current time- hour 5007 0...31 Current time- day 5008 0...12 Current time - month 5009 0...65535 Current time - year 5010 0...7 Current time day of the week 5011 0...60 Current time of device take-off- seconds 5012 0...60 Current time of device take-off- minutes 5013 0...23 Current time of device take-off- hours 5014 0...31 Current time of device take-off- day 5015 0...12 Current time of device take-off- month 5016 0...65535 Current time of device take-off- year 5017 0...7 Current time of device take-off- day of the week 5018 0...65535 Current time of device take-off- calculated in seconds (older part) 5019 0...65535 Current time of device take-off- calculated in seconds (younger part) 5020 0...65535 Amount of data received on USB port (older part) 5021 0...65535 Amount of data received on USB port (younger part) 5022 0...65535 Amount of data sent on USB port (older part) 5023 0...65535 Amount of data sent on USB port (younger part) 5024 0...65535 Amount of data received on port RS-485/232 Slave (older part) 5025 0...65535 Amount of data received on port RS-485/232 Slave (younger part) 5026 0...65535 Amount of data sent on port RS-485/232 Slave (older part) 5027 0...65535 Amount of data sent on port RS-485/232 Slave (younger part) 5028 0...65535 Amount of data received on LAN port (older part) 5029 0...65535 Amount of data received on LAN port (younger part) 5030 0...65535 Amount of data sent on LAN port (older part) 5031 0...65535 Amount of data sent on LAN port (younger part) 5032 0...65535 Amount of data received on RS-485 Master port (older part) 5033 0...65535 Amount of data received on RS-485 Master port (younger part) 5034 0...65535 Amount of data sent on RS-485 Master port (older part) 5035 0...65535 Amount of data sent on RS-485 Master port (younger part) 5036 0...65535 Number of Modbus Slave RTU queries on USB port (older part) 5037 0...65535 Number of Modbus Slave RTU queries on USB port (younger part) Number of Modbus Slave RTU queries on RS-485/232 port (older 5038 0...65535 part) Number of Modbus Slave RTU queries on RS-485/232 port (younger 5039 0...65535 part) 5040 0...65535 Number of Modbus Slave RTU queries on LAN port (older part) 5041 0...65535 Number of Modbus Slave RTU queries on LAN port (younger part) Number of Modbus Slave RTU incorrect queries on USB port (older 5042 0...65535 part) Number of Modbus Slave RTU incorrect queries on USB port 5043 0...65535 (younger part) Number of Modbus Slave RTU incorrect queries on RS-485/232 port 5044 0...65535 (older part) Number of Modbus Slave RTU incorrect queries on RS-485/232 port 5045 0...65535 (younger part) 5046 0...65535 Number of Modbus TCP incorrect queries on LAN port (older part)

SM61-09/1
Register address 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 Range 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535

User's manual
Description Number of Modbus TCP incorrect queries on LAN port (younger part) Number of Modbus Master queries on RS-485 port (older part) Number of Modbus Master queries on RS-485 port (younger part) Number of correct Modbus Master responses on RS-486 port (older part) Number of correct Modbus Master responses on RS-486 port (younger part) Number of incorrect Modbus Master responses on RS-486 port (older part) Number of incorrect Modbus Master responses on RS-486 port (younger part) Number of incorrect responses- timeout- Modbus Master on RS-485 port (older part) Number of incorrect responses- timeout- Modbus Master on RS-485 port (younger part) Total capacity (free and occupied) of FLASH memory (older part) Total capacity (free and occupied) of FLASH memory (younger part) Free space in FLASH memory (older part) Free space in FLASH memory (younger part) Number of all TCP ports Number of all UDP ports Number of all TCP open ports Number of all UDP open ports IP address of connected device No. 1 (older part) IP address of connected device No. 1 (younger part) IP address of connected device No. 2 (older part) IP address of connected device No. 2 (younger part) IP address of connected device No. 3 (older part) IP address of connected device No. 3 (younger part) IP address of connected device No. 4 (older part) IP address of connected device No. 4 (younger part) IP address of connected device No. 5 (older part) IP address of connected device No. 5 (younger part) IP address of connected device No. 6 (older part) IP address of connected device No. 6 (younger part) IP address of connected device No. 7 (older part) IP address of connected device No. 7 (younger part) IP address of connected device No. 8 (older part) IP address of connected device No. 8 (younger part) IP address of connected device No. 9 (older part) IP address of connected device No. 9 (younger part) IP address of connected device No. 10 (older part) IP address of connected device No. 10 (younger part) Number of local port for device No. 1 Number of local port for device No. 2 Number of local port for device No. 3 Number of local port for device No. 4 Number of local port for device No. 5 Number of local port for device No. 6 Number of local port for device No. 7 Number of local port for device No. 8 Number of local port for device No. 9 Number of local port for device No. 10 Number of remotely-controlled port for device No. 1 Number of remotely-controlled port for device No. 2 Number of remotely-controlled port for device No. 3

67

SM61-09/1
Register address 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 Range 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535

User's manual
Description Number of remotely-controlled port for device No. 4 Number of remotely-controlled port for device No. 5 Number of remotely-controlled port for device No. 6 Number of remotely-controlled port for device No. 7 Number of remotely-controlled port for device No. 8 Number of remotely-controlled port for device No. 9 Number of remotely-controlled port for device No. 10 Number of rejected packets in IP layer (older part) Number of rejected packets in IP layer (younger part) Number of received packets in IP layer (older part) Number of received packets in IP layer (younger part) Number of sent packets in IP layer (older part) Number of sent packets in IP layer (younger part) Number of rejected packets due to incorrect IP version or wrong heading length (older part) Number of rejected packets due to incorrect IP version or wrong heading length (younger part) Number of rejected packets due to incorrect length of IP address (older part) Number of rejected packets due to incorrect length of IP address (younger part) Number of rejected packets due to incorrect length of IP address (older part) Number of rejected packets due to incorrect length of IP address (younger part) Number of rejected packets because they were the part of IP address (older part) Number of rejected packets because they were the part of IP address (younger part) Number of rejected packets due to IP checksum error (older part) Number of rejected packets due to IP checksum error (younger part) Number of rejected packets because they were not ICMP, UDP or TCP (older part) Number of rejected packets because they were not ICMP, UDP or TCP (older part) Number of rejected ICMP packets (older part) Number of rejected ICMP packets (younger part) Number of received ICMP packets (older part) Number of received ICMP packets (younger part) Number of sent ICMP packets (older part) Number of sent ICMP packets (younger part) Number of ICMP packets with wrong type (older part) Number of ICMP packets with wrong type (younger part) Number of rejected TCP segments (older part) Number of rejected TCP segments (younger part) Number of received TCP segments (older part) Number of received TCP segments (younger part) Number of sent TCP segments (older part) Number of sent TCP segments (younger part) Number of TCP segments with incorrect checksum (older part) Number of TCP segments with incorrect checksum (younger part) Number of TCP segments with incorrect ACK number (older part) Number of TCP segments with incorrect ACK number (younger part) Number of received RTS of TCP segments (older part) Number of received RTS of TCP segments (younger part) Number of retransmitted TCP segments (older part)

68

SM61-09/1
Register address 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 Range 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0,1,2

User's manual
Description Number of retransmitted TCP segments (younger part) Number of rejected SYNs due to small number of available connections (older part) Number of rejected SYNs due to small number of available connections (younger part) Number of SYNs for a closed port causing reset (older part) Number of SYNs for a closed port causing reset (younger part) Number of rejected UDP segments (older part) Number of rejected UDP segments (younger part) Number of read UDP segments (older part) Number of read UDP segments (younger part) Number of sent UDP segments (older part) Number of sent UDP segments (younger part) Number of UDP segments with wrong checksum (older part) Number of UDP segments with wrong checksum (younger part) Modbus Master query status for channel 1: 0 - lack of reading 1 - correct reading 2 - wrong reading Modbus Master query status for channel 2: 0 - lack of reading 1 - correct reading 2 - wrong reading Modbus Master query status for channel 3: 0 - lack of reading 1 - correct reading 2 - wrong reading Modbus Master query status for channel 4-100: 0 - lack of reading 1 - correct reading 2 - wrong reading Timeout value for channel 1 Timeout value for channel 2 Timeout value for channel 3 Timeout value for channel 4 -100 Real timeout value for channel 1 Real timeout value for channel 2 Real timeout value for channel 3 Real timeout value for channel 4 -100

69

5157

0,1,2

5158

0,1,2

5159 - 5251 5252 5253 5254 5255 - 5351 5352 5353 5354 5355 - 5451

0,1,2 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535 0...65535

SM61-09/1

User's manual

70

11. Technical data


Communication interfaces
Interface Function Baud rate Information unit Port 1: RS 485, Port 2: RS 485 RS -232 Communication Communication Slave with PC and HMI devices panels 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 bit/s 1 start bit, 7 or 8 data bits 1 odd/even parity 1 or 2 stop bits Modbus RTU Max. cable length up to 2 m USB Configuration of the device 115200 bit/s 1 start bit, 8 data bits, 1 even parity bit, 1 stop bit Table 22 Ethernet 10/100Base-T Communication and configuration of the device 10, 100 Mbit/s

TCP/UDP

Transmission protocol Comments

HTTP, FTP, ICMP, DHCP, ARP, Modbus TCP Max. cable length: up to 100 m

Max. cable length depends on the baud rate

External features
Weight Dimensions <0,25kg 45X120X100mm

Degree of protection From the cover: IP40 (according to PN-EN From the terminal site: IP20 60529) Fixing Supply voltage Rail mounting 35mm 20...24...50 V a.c./d.c. or 85...230...253 V a.c./d.c. 40...50/60...440 Hz Work: 0...23...55C <95% any <400 A/m Immunity to interference Emission of interference Safety requirements Maximum earth voltage Installation category III Degree of pollution 2 to For the circuit: 300V For other circuits: 50V According to PN-EN 61010-1 According to PN-EN 61000-6 -2 According to PN-EN 61000-6-4 Power <4VA consumption:

Rated operating conditions

Ambient temperature Relative humidity Position of work External magnetic field Electromagnetic compatibility

Storage: -20...70 C Not permissible condensation

Safety and compatibility requirements

SM61-09/1

User's manual

71

12. Ordering codes


The way of coding was presented in table 23.
Ordering codes SM61 Supply 85...253 V a.c./d.c. 20...50 V a.c./d.c. Input/Output 2 relays outputs 2 binary inputs Version standard special1) Language Polish English other1) Acceptance tests without extra requirements with an extra Quality Inspection Certificate according to customers request 1)
1)

Table 23 X 1 2 1 2 0 XX P E X 0 1 X X XX X X

only after agreeing with the manufacturer

Coding example: The code SM61 1 2 00 E 1 means manufacturing a device that has: supply 85...253V a.c./d.c., two binary inputs, standard option, English language version, with quality inspection certificate.

SM61-09/1

User's manual

72

13. Copyright
Copyright (c) 2006-2012 by Lumel S.A. --SM61 data logger uses: - FreeRTOS http://www.freertos.org --- stock uIP TCP/IP Copyright (c) 2001-2003, Adam Dunkels. All rights reserved. Distributing and using in source and binary form, with or without modifications, is allowed under the below stated terms and conditions: 1. Distributed source code has to contain the above license, list of terms and conditions and the below mentioned declaration. 2. Binary code distributing has to contain the below mentioned licence, list of terms and conditions in documentation and/or in other attached documents. 3.The authors name can not be used to sign or promote the products that are based on this software without the authors prior consent. UNLESS OTHERWISE STATED BY PROPER LAW OR UNLESS IT HAS BEEN OTHERWISE AGREED IN WRITING, NEITHER COPYRIGHT HOLDER NOR ANY OTHER PARTY THAT MODIFIES OR PASSES THE PROGRAM IN ACCORDANCE WITH THE ABOVE PERMITS, SHALL BE HELD RESPONSIBLE TOWARDS YOU FOR DAMAGES, INCLUDING GENERAL, SPECIAL, SIDE OR SECONDARY DAMAGES, RESULTING FROM USING OR INABILITY TO USE THE PROGRAM (INCLUDING DATA LOSS, DATA RESTORATION, LOSS SUFFERED BY YOU OR THIRD PARTIES, LACK OF PROGRAM COMPATIBILITY WITH OTHER PROGRAMS), EVEN IF COPYRIGHT HOLDER OR THIRD PARTY HAS BEEN WARNED OF THE POSSIBILITY OF SUCH DAMAGES OCCURENCE. ---

USER'S MANUAL DATA LOGGER SM61

78

SM61-09

"LUMEL" S.A. ul. Subicka 1, 65-127 Zielona Gra http://www.lumel.com.pl Export Department: Tel.: (48-68) 329 53 02 Fax: (48-68) 325 40 91 e-mail: export@lumel.com.pl

Tel.: (48-68) 45 75 100 (exchange) Fax: (48-68) 45 75 508 e-mail:lumel@lumel.com.pl http://www.lumel.com.pl

Vous aimerez peut-être aussi