inveo USCADA User manual

Dear Customer!
Thank you very much for choosing our product. Before its use, please read these
instructions carefully. Here you find the most appropriate ways of dealing with this
device, the basic principles of safety and maintenance. Please, also keep the user manual
so that you can read it during later use.
Attention!
The manufacturer is not liable for any amage cause by improper use of
the evice which iffer from its inten e purpose, or improper han ling, as well
as a fault of river resulting from improper use.
User manual μSCADA Page 2 of 15
[B03]

Contents:
1 PRELIMINARY INFORMATION...................................................................................................................4
2 APPLICATION OF THE DEVICE..................................................................................................................5
3 WARRANTY AND LIABILITY OF THE MANUFACTURER...................................................................5
4 SAFETY GUIDELINES.....................................................................................................................................6
4.1 STORAGE, WORK AND TRANSPORT CONDITIONS.........................................................................................................6
4.2 INSTALLATION AND USE OF THE DEVICE..................................................................................................................6
4.3 DECOMMISSIONING OF THE DEVICE.........................................................................................................................6
5 CONSTRUCTION OF THE DEVICE..............................................................................................................7
5.1 GENERAL FEATURES............................................................................................................................................7
5.2 TECHNICAL DATA................................................................................................................................................7
6 NETWORK SETTING.......................................................................................................................................
6.1 CHANGING THE PC'S SU NET ADDRESS, FOR THE DEVICE CONFIGURATION....................................................................8
6.2 DEVICE CONFIGURATION.......................................................................................................................................9
6.3 LAN................................................................................................................................................................9
6.4 ACCESS TO VISUALIZATION...................................................................................................................................9
6.5 MOD US RTU................................................................................................................................................10
6.6 CONNECTION TO THE FTP SERVER......................................................................................................................10
7 VISUALISATION.............................................................................................................................................12
7.1 THE CONFIGURATION OF THE MOD US POINTS.......................................................................................................12
7.2 DIRECTORY STRUCTURE.....................................................................................................................................13
7.3 DOWNLOADING DATA FOR VISUALIZATION.............................................................................................................13
7.4 SENDING DATA FROM VISUALIZATION TO MOD US DEVICES.....................................................................................13
EXAMPLES.......................................................................................................................................................14
8.1 CONNECTION OF 1 DEVICE..................................................................................................................................14
User manual μSCADA Page 3 of 15
[B03]

1 Preliminary information
Before starting work with the evice, rea The User manual an follow the
instructions containe therein!
Description of visual symbols used in this user manual:
This symbol is responsible for reviewing the appropriate place in the
user instructions, warnings and important information. Failure to
follow warnings could cause injury or damage to the device
Important information and guidelines
Following this guidelines makes the use of the device easier
Attention: The screenshots in this manual can be dissimilar from actual images
at the time of the device purchase. Due to continuous development of the devices
software, some of the functions may differ from these in the manual. The manufacturer
claims no responsibility for any undesirable effects (misunderstanding) caused by
changes of the software.
User manual μSCADA Page 4 of 15
[B03]

2 Application of the evice
The μSCADA module allows data collection via the MODBUS RTU and MODBUS TCP buses
and display a visualization available via a web browser. The website uses the AJAX
mechanism. Built-in FTP server allows to update the content of the site. Built-in memory
(4GB) gives the possibility to create very complex visualizations.
For improved security, the module has two-level user authorization.
Using the possibilities of website technology, you can get very effective visualizations.
3 Warranty an liability of the manufacturer
The manufacturer provides a 2-year warranty on the device. The manufacturer also
provides post-warranty service for 10 years from the date of the introducing the device
on the market. The warranty covers all defects in material and workmanship.
The manufacturer undertakes to comply with the contract of guarantee, if the following
conditions are met:
all repairs, alterations, extensions and device calibrations are performed by the
manufacturer or authorized service,
supply network installation meets applicable standards in this regard,
the device is operated in accordance with the recommendations outlined in this
manual,
the device is used as intended.
The manufacturer assumes no responsibility for consequences resulting from improper
installation, improper use of the device, not following this manual and the repairs of the
device by individuals without permission.
This evice oesn’t contain serviceable parts.
User manual μSCADA Page 5 of 15
[B03]

4 Safety gui elines
The device has been designed and built using modern electronic components, according
to the latest trends in the global electronics. In particular, much emphasis was placed on
ensuring optimum safety and reliability of control. The device has a housing with a high-
quality plastic.
4.1 Storage, work and transport conditions
The device has to be stored in enclosed rooms which are free of caustic vapors and
substances and also meet the requirements:
surrounding temperature from -30°C to + 0°C,
humidity from 25 to 90%,
atmospheric pressure from 700 to 10 0hPa.
The device working conditions:
surrounding temperature from -10°C to +55°C,
relative humidity from 30% to 75%,
atmospheric pressure from 700 to 10 0hPa.
Recommended transport conditions:
surrounding temperature from -40°C to +85°C,
relative humidity from 5% to 95%,
atmospheric pressure from 700 to 10 0hPa.
4.2 Installation and use of the device
The evice shoul be use following the gui elines shown in next part of the
user manual.
4.3 Decommissioning of the device
When it becomes necessary to recycle the device (for instance, to decommission the
device from service), please contact the manufacturer or its representative, who are
obliged to respond, appropriately, i.e. collecting the device from the user. You can also
ask the companies involved in recycling of electrical or computer equipment. Under no
circumstances should you place the device along with other waste material.
User manual μSCADA Page 6 of 15
[B03]

5 Construction of the evice
5.1 eneral features
The device has a 10/100 RJ45 LAN port, which is used by the HTTP server, FTP and
Modbus TCP.
Communication with the module is ensured by the Modbus RTU protocol via the RS485
port. On the front of the housing there is a LED indicating that the device is working
properly (the LED is blinking), whether an unexpected error has occurred (the LED is on).
5.2 Technical data
Power supply::
Passive PoE 12VDC
Power consumption: max 1W
Inputs:
1 input: Input type – screw connector 3-fold
Communication:
1 port Ethernet: 10Mbps
Memory: 4GB
Read flow: 3,2Mbit/s
Recording rate: 1,1Mbit/s
Number of MODBUS points: 1 384
User manual μSCADA Page 7 of 15
[B03]

6 Network setting
6.1 Changing the PC's subnet address, for the device configuration
After the device is connected to a network, a subnet address of a PC which is connected
to the same network has to be changed.
To do so, go to the PC's MS Windows network configuration: Start->Control panel
->Network and Sharing Center->Network and Internet->Network Connections, choose
the related controller and right click on „Properties”.
After selecting this option configuration window will show up:
Next choose "Internet Protocol (TCP/IP)", double click on it and enter following settings:
After saving changes by clicking OK, open an Internet browser and enter in the browser's
address line: 192.168.111.10.
User manual μSCADA Page 8 of 15
[B03]
Changing network settings in MS WINDOWS
Illustrative TCP/IP protocol settings

6.2 Device configuration
To change network parameters, user must configure the CONFIG.XML file, which is
located in the device's memory.
Changing the settings is only possible via the FTP service.
The sample content of the file is shown below:
<CONFIG>
<NET_IP>192.168.111.10</NET_IP>
<NET_MASK>255.255.255.0</NET_MASK>
<NET_GW>192.168.111.101</NET_GW>
<FTP_USER>admin</FTP_USER>
<FTP_PASS>admin</FTP_PASS>
<WWW_USER></WWW_USER>
<WWW_PASS></WWW_PASS>
<WWW_PROTECT_USER>admin</WWW_PROTECT_USER>
<WWW_PROTECT_PASS>admin</WWW_PROTECT_PASS>
<RS485_BAUDRATE>9600</RS485_BAUDRATE>
<RS485_PARITY>NONE</RS485_PARITY>
<MB_TIMEOUT>1000</MB_TIMEOUT>
</CONFIG>
After each change in the POINTS.xml, or CONFIG.xml file, it is necessary to
reset the evice for the changes to be up ate .
The meaning of tags is explaine in chapters 6.3, 6.4 an 6.5.
6.3 LAN
•<NET_IP>..</NET_IP> IP address of the device,
•<NET_MASK>..</NET_MASK> IP subnet mask,
•<NET_GW>..</NET_GW> network gateway,
•<FTP_USER>..</FTP_USER> FTP username,
•<FTP_PASS>..</FTP_PASS> FTP password.
FTP username an FTP passwor are necessary to access a fol er with
configuration files of the evice.
6.4 Access to visualization
•<WWW_USER>..</WWW_USER> user name of the access to the main
visualization catalog,
•<WWW_PASS>..</WWW_PASS> user password of the access to the main
visualization catalog,
Left blank fiel s above to access the visualization without having to enter
a passwor .
•<WWW_PROTECT_USER>..</WWW_PROTECT_USER> enter the username with
access to the protected visualization directory,
•<WWW_PROTECT_PASS>..</WWW_PROTECT_PASS> enter the user password
with access to the protected visualization directory.
User manual μSCADA Page 9 of 15
[B03]

6.5 Modbus RTU
•<RS485_BAUDRATE>..</RS485_BAUDRATE> baudrate for the RS485 port
(4800 – 115200),
•<RS485_PARITY>..</RS485_PARITY> parity, available options: NONE, EVEN,
ODD,
•<MB_TIMEOUT>..</MB_TIMEOUT> determines the timeout for the response
of the device being polled.
6.6 Connection to the FTP server
Any FTP client can be used to connect to the server, e.g. Total Commander, FileZilla,
WinSCP etc.
An example connection to the FTP server for Total Commander application.
First, find the icon with the FTP signature, which is located on the top toolbar. Click on it
and after opening the window named "Connect to FTP server" configure the connection.
User manual μSCADA Page 10 of 15
[B03]

In the Session and Hostname field, enter the IP address of the device. The address is the
same as in the configuration file (192.1 8.111.10 by default).
The user and password field is completed as it was set in the configuration file (by default
admin user, admin password).
The server supports passive and active connections.
To create a new connection, confirm the data with OK.
User manual μSCADA Page 11 of 15
[B03]

7 Visualisation
The module has an internal memory for storing the content of the visualization in the
form of a website.
The site can be built in HTML + CSS. Data for visualization is available through the AJAX
mechanism.
7.1 The configuration of the Modbus points
The definition of groups of MODBUS points is included in the file POINTS.XML.
Sample content for Modbus RTU:
<group>
<id>node_</id>
<id_ tart>5</id_ tart>
<len>3</len>
<protocol>RTU</protocol>
<dev_addr>1</dev_addr>
<cmd>MB_MULTIHOL </cmd>
<addre >4000</addre >
<acce >rw</acce >
<pool>50</pool>
</group>
•<group> the group description,
•<id> defines the name of the point group,
•<id_start> defines the start number of the point group numbering,
•<len> determines the number of points in the group,
•<protocol> specifies the access protocol to the point
◦RTU – Modbus RTU via RS485,
◦TCP – Modbus TCP via the LAN port,
•<dev_addr> specifies the Modbus device number (for TCP it is always 1),
•<cmd> ustawia komendę Modbus:
◦MB_HOLD – Holding Registers
◦MB_INPUT – Input Registers
◦MB_COIL – Coil
◦MB_MULTIHOLD – Holding Registers
•<address> the Modbus address,
•<access> access (r – read, w – write, rw – read and write).
Additional parameters are required for the MODBUS TCP protocol:
•<ip_addr> IP address Modbus device
•<ip_port> port of the MODBUS device (no tag sets port no. 502).
After each change in the POINTS.xml, or CONFIG.xml file, it is necessary to
reset the evice for the changes to be up ate .
User manual μSCADA Page 12 of 15
[B03]

7.2 Directory structure
\CONFIG.XML – network configuration file,
\POINTS.XML –Modbus point settings file,
\WWW – visualization page directory,
\WWW\protect – protected page directory,
\WWW\comm.xml – XML data exchange file.
7.3 Downloading data for visualization
The data of all points are included in the comm.xml file.
The format of the comm.xml file is as follows:
<nodeX>value</nodeX>, where
node is the name from the id tag entered in the points.xml file,
X is the number of the id_start tag or the next in the points.xml file.
7.4 Sending data from visualization to Modbus devices
To send data, use the HTTP GET syntax function:
192.1 8.111.10/comm.xml?data=nodeX;val where:
192.168.111.10 – IP address (in this case default),
no e – the name given in the id tag in the points.xml file,
X – the number of the id_start tag in the points.xml file,
val – desired value.
The comm.xml file for the following example.
On the right side of the screenshot there is a view of the register addresses and the
values assigned to them.
User manual μSCADA Page 13 of 15
[B03]

8 Examples
To send and receive data via a web browser, you can use the included ajax.js library or
any other supporting AJAX technology (eg Jquery).
8.1 Connection of 1 device
The following example shows one device assigned to Modbus RTU with physical address 1
and register addresses 4000 and 4001.
Modification of the POINTS.xml file:
<group>
<id>Temperatura_</id> //variable name
<id_ tart>5</id_ tart> //starting number
<len>2</len> //number of points in the group
<protocol>RTU</protocol>
<dev_addr>1</dev_addr> //physical address
<cmd>MB_MULTIHOL </cmd>
<addre >4000</addre > //the initial address of registers
<acce >rw</acce >
<pool>50</pool>
</group> //end of the group
Take a look.
Only one group BUT with two points has been defined in the POINTS.xml file.
Then modify the file in a web directory with the name eg index.htm
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-2"
>
<title>Przykladowa strona</title>
<script src="/ajax.js" type="text/javascript"></script>
</head>
<body>
<p>Parametr 1:
<span id="data1">?</span>
<button id="btn1" onclick="set ata('Temperatura_5',16,32)"
>Ustaw</button>
</p>
<p>Parametr 2:
<span id="data2">?</span>
<button id="btn2" onclick="set ata('Temperatura_6',16,32)"
>Ustaw</button>
</p>
<script type="text/javascript"><!--
function updateStatus(xml ata)
{
setTimeout("newAJAXCommand('comm.xml', updateStatus, false)",500);
if(!xml ata) return;
document.getElementById('data1').innerHTML = getXMLValue(xml ata,
'Temperatura_5');
User manual μSCADA Page 14 of 15
[B03]

document.getElementById('data2').innerHTML = getXMLValue(xml ata,
'Temperatura_6');
}
function set ata(id, min, max)
{
var p=prompt("Ustaw wartosc (min:"+min+" max:"+max+")","0");
var val = parseInt(p);
if((val>=min)&&(val<=max))
{
send ata(id, val);
}
}
function send ata(id, data)
{
newAJAXCommand('comm.xml?data=' + id + ';' + data);
}
setTimeout("newAJAXCommand('comm.xml',updateStatus,false)",2000);
-->
</script>
</body>
</html>
The code shown above allows to write values in parameters 1 and 2 in the range 1 -32
(the limit was defined in the 10 line code "setData ('Temperature_5', 1 , 32)").
In this case, the values of registers 4000 and 4001 are 19, 25.
On the inveo.com.pl website, the blog topic about μSca a contains examples of
connections with other evices an files to ownloa .
User manual μSCADA Page 15 of 15
[B03]
This manual suits for next models
1
Table of contents
Other inveo Control Unit manuals