inveo Nano OUT User manual

User manual
Nano OUT
Soft >= v1.xx
INVEO s.c.
ul. Rzemieślnicza 21
43-340 Kozy
tel: +4 33 444 65 7
www.inveo.com.pl

Dear Customer!
Thank you very much for choosing our product. Please carefully read this user
manual as it contains most appropriate ways of dealing with this device, taking into
account the basic principles of safety and maintenance. Please also keep the user
guide that you can use it during subsequent use.
Manufacturer Liability!
The manufacturer is not liable for any dama e caused by improper or
incompatible use of this device, as well for any faults to the device resultin
from improper use.
User manual NANO OUT Page 2 of 24

Contents:
1 PRELIMINARY INFORMATION....................................................................................................................4
2 DEVICE DESCRIPTION ...................................................................................................................................5
3 WARRANTY AND LIABILITY OF THE MANUFACTURER ...................................................................5
4 SAFETY GUIDELINES .....................................................................................................................................6
4.1 POWER SUPPLY....................................................................................................................................................6
4.2 STORAGE, WORKING ENVIRONMENT AND TRANSPORTATION..........................................................................................6
4.3 INSTALLATION AND USE OF THE MODULE..................................................................................................................6
4.4 UTILISATION OF THE MODULE.................................................................................................................................6
5 MODULE DESCRIPTION.................................................................................................................................7
5.1 GENERAL FEATURES.............................................................................................................................................7
5.2 TECHNICAL SPECIFICATION ....................................................................................................................................7
5.3 MODULE INPUT/OUTPUT TERMINAL DESCRIPTION.....................................................................................................8
6 MODULE CONFIGURATION..........................................................................................................................9
6.1 CHANGING THE PC SETTING FOR MODULE CONFIGURATION.........................................................................................9
6.2 CONFIGURATION OF THE MODULE MODULE THROUGH WEB BROWSER...........................................................................10
6.3 CHANGING THE STATE OF THE OUTPUT...................................................................................................................11
6.4 ACCESS CONFIGURATION.....................................................................................................................................14
6.5 MANAGING THE MODULE USING WINDOWS COMMAND LINE SOFTWARE........................................................................15
6.6 MANAGING THE MODULE USING LINUX COMMAND LINE SOFTWARE............................................................................16
6.7 MANAGING THE MODULE USING MODBUS TCP.................................................................................................17
6.8 COMMUNICATION WITH MODULE USING HTTP.......................................................................................................18
6.9 COMMUNICATION PROTOCOL DESCRIPTION..............................................................................................................20
6.10 COMMUNICATION WITH MODULE FROM OUTSIDE NETWORK .....................................................................................21
7 DHCP...................................................................................................................................................................22
RESTORING FACTORY DEFAULTS ..........................................................................................................22
9 FIRMWARE UPDATE.....................................................................................................................................23
NOTES..................................................................................................................................................................24
User manual NANO OUT Page 3 of 24

1 Preliminary information
Before usin the module please read the user manual carefully and follow the
instructions contained within!
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 module.
Important information and guidelines.
Following this guidelines makes the use of the module easier.
Attention: The appearance of the screen shots shown in this manual may differ
slightly from the actual work with the module. The differences may relate to the size
and font type and size of symbols. There are no differences in the content of the
information.
User manual NANO OUT Page 4 of 24

2 Device description
The NANO OUT device is used to control one electrical circuit using relay. The relay can
be controlled using www website, network protocols or software supplied by
manufacturer.
3 Warranty and liability of the manufacturer
The manufacturer provides a 2-year warranty on the module. The manufacturer also
provides post-warranty service for 10 years from the date of the introducing the module
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,
device is operated in accordance with the recommendations outlined in this manual,
device is used as intended.
The manufacturer assumes no responsibility for consequences resulting from improper
installation, improper use of the module, not following this manual and the repairs of the
module by individuals without permission.
This device doesn’t contain serviceable parts. The repairs can be done only by
manufacturers approved repair service.
User manual NANO OUT Page 5 of 24

4 Safety uidelines
The module has been constructed 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 high quality plastic.
4.1 Power supply
The module power supply must be in range of 10-24V AC or DC.
The power to module is delivered via POE adapter (Power Over Ethernet).
4.2 Storage, working environment and transportation
The module has to be used in closed environments free from fumes and corrosive
atmosphere.
Environmental conditions for storage:
Temperature: + 5°C to +45°C,
Relative humidity: <75%,
Atmospheric pressure: 700 – 1060hPa.
Environmental conditions for use:
Temperature: +10°C to +30°C,
Relative humidity: 30% to 75%,
Atmospheric pressure: 700 to 1060hPa.
Recommended conditions for transportation:
Temperature: -10°C to +45°C,
Relative humidity: 20 to 95%,
Atmospheric pressure 700 to 1060hPa.
4.3 Installation and use of the module
The module should be used followin the uidelines shown in next part of the
user manual.
4.4 Utilisation of the module
When it becomes necessary to liquidate the device (e.g., after the time of use), please
contact the manufacturer or its representative, who are obliged to respond appropriately,
i.e., collecting the module from the user. You can also ask the companies involved
in utilization and / or liquidation of electrical or computer equipment. Under
no circumstances should you place the device along with other garbage.
User manual NANO OUT Page 6 of 24

5 Module description
.1 General features
Overall view of the module is shown on the picture below.
There are several ways to communicate with the module:
•using built in WWW server via any web browser,
•MODBUS TCP protocol,
•SNMP protocol,
•HTTP protocol,
•User application – communication protocol available for user
NANO module is equipped with two LEDs indicators: power and output status.
.2 Technical specification:
Power supply voltage: 10-24VDC (POE)
Power consumption: 1.5 W
Output
Max voltage: 250V AC, 30V DC,
Max current: 5A,
NO (normal open),
Engage time: 10ms,
Disengage time: 5ms,
LAN: Ethernet 1x10Mbps, RJ45
User manual NANO OUT Page 7 of 24
Nano Out

.3 Module input/output terminal description
Module NANO OUT has two connection terminals:
•RJ45 socket – LAN network and POE
•Screw terminal – input
Teminal No Name Description
1 Relay output
2 RESET Reset to factory defaults:
IP:192.168.111.15
username: admin
password: admin00
3 LAN LAN network connections
Pins: 1,2,3,6 -data
4,5,7, - power
User manual NANO OUT Page 8 of 24

6 Module confi uration
If using the module for the first time it is needed to configure it as shown below
6.1 Changing the PC setting for module configuration.
After connecting the module to the network there is a need to change the PC setting. In
order to do that navigate to: Start->Control Panel->Network connections.
Then right click on the current network connection and click „Properties”.
The configuration screen as shown below should be visible on the screen:
Choose the „Internet Protocol (TCP/IP)” and press „Properties”:
TCP/IP example settin s
Tick the box „Use the following IP address” and enter:
IP address: 192.168.111.1
Subnet mask: 255.255.255.0
The rest of the setting can be left blank.
Press OK to accept the changes.
User manual NANO OUT Page 9 of 24

6.2 Configuration of the module module through web browser
Start the web browser and enter the following address into address bar:
192.168.111.15.
The default user name is „admin” with password „admin00”
There are several fields used to configure the module network settings:
MAC Address – MAC address of the module,
Host Name – NETBIOS host name of the module,
Enable DHCP – When this box is ticked the module will get its address from DHCP
server,
IP Address – IP address of the module – when configured manually,
Gateway – Network gateway,
Subnet Mask – Subnet mask of the module,
Primary DNS, Secondary DNS – DNS servers addresses,
Destination IP – Network address of the server that the module will connect to -
optional,
Destination Port – Network port of the server that the module can connect to.
User manual NANO OUT Page 10 of 24

After changing the configuration press the „Save Conf g” button.
6.3 Changing the state of the output.
Visualisation of output state is shown below.
Output
To change state of the output press Output On/Off button.
Relay State shows current state of output relay.
Relay configuration can be change in Channel tab
Description of output relay settings:
User manual NANO OUT Page 11 of 24
Output control

Static monostable.
Toggle bistable
1-Pulse 1 time pulse
Time On On time in Toggle lub 1-Pulse modes
Time Off Off time in Toggle mode
Start:Off Disables relay after power reset
Start:On Enables relay after power reset
Start:Last Relay set to the same state as before
power reset
Dest. Off Disables sending output state to different
devices
Dest. 1 Sends state of output 1 to different devices
Dest. 2 Sends state of output 2 to different devices
... ...
Dest. Sends state of output to different devices
User manual NANO OUT Page 12 of 24

User manual NANO OUT Page 13 of 24

6.4 Access configuration
Web site used to configure the access to the module is shown below.
These settings allow for changing the access password and to enable/disable particular
services.
Menu Adm n strat on umożliwia skonfigurowanie przez Użytkownika jakie usługi mają być
aktywne w urządzeniu oraz zmianę hasła dostępu.
Chan in the password
Enter old password into Current Password field.
Enter new password into New Password field and into Re-type Password field then press
„Save Conf g” to save new passwords.
Enabling/disabling particular service
Th s funct on enables/d sables d fferent serv ces. By enabl ng the t ck box next to a
serv ce user can turn t on or off.
Module Access confi uration
Enable user password – enables/d sables requ rement for user password
User manual NANO OUT Page 14 of 24
Ustawienia zabezpieczeń

Enable adm n password – enables/d sables requ rement for adm n password
Enable Program Access – enables/disables the connection to the module via PC
software – Windows or Linux OS.
Enable MODBUS TCP Protocol – enables/disables access using MODBUS TCP protocol.
Enable SNMP – enables/disables access using SNMP protocol.
Enable Dest nat on cl ent – enables/disables access using mode of operation
„customer”.
Enable TFTP bootloader – enables/d sables 10 second bootloader mode after module
reboot
6. Managing the module using windows command line software
The module can be operated using windows command line software – the software is
delivered with the module.
Syntax is as follows:
TCPRel.exe [Parameters]
Parameter Description
-out=1 Output number, for NANO always 1
-host=[HOST] Module IP address
-port=[PORT] Module Port number
-on | -off Enables or disables output
-verb Enabled display of additional info
-stat Displays current state of output
Examples:
Enables relay - module address 192.16 .111.15 listening on port 9761:
TCPRel -out=1 -host=192.168.111.15 -port=9761 -on
Read output state:
TCPRel -host=192.168.111.15 -port=9761 –in=1 -stat
User manual NANO OUT Page 15 of 24

6.6 Managing the module using Linux command line software
The module can be configured using Linux command line software – the software is
delivered with the module.
Syntax is as follows:
./TcpRel.exe [Parameters]
Parameter Description
-o 1 Output number, for NANO always 1
-h [HOST] Module IP address
-p [PORT] Module Port number
-s [0,1] Enables or disables output
-l Displays current state of output
Examples:
Enables relay - module address 192.16 .111.15 listening on port 9761:
./tcprel -o 1 -h 192.168.111.15 -p 9761 -s 1
Read output state::
./tcprel -h 192.168.111.15 -p 9761 –o 1 -l
User manual NANO OUT Page 16 of 24

6.7 Managing the module using MODBUS TCP
MODBUS TCP protocol is listening on port 502.
The module supports following functions of MODBUS protocol:
- 0x01 Read Coils,
- 0x05 Write Single Coil,
The registers description is shown in tables below
MODBUS TCP - Coils
Re ister Name Mode:
R-read
W-write
Description
1000 On1 R/W Enable relay
MODBUS TCP - Holdin Re isters
Re iste
r
Name Mode:
R-read
W-write
Description
4000 T1On R/W Relay engage time (*100ms)
4001 T1Off R/W Relay disengage time (*100ms)
4002 Rel1Mode R/W Mode of operation:
1 – Static
2 – Toggle
3 – 1-Pulse
User manual NANO OUT Page 17 of 24

6.8 Communication with module using HTTP.
NANO OUT modules can be controlled using HTTP. To read current state of the
module inputs/outputs access this address - http://192.16 .111.15/stat.php – in web
browser.
XML file consist all of the information:
<response>
<prod_name>PE-1-0</prod_name>
<out>00000000</out>
<on>00000000</on>
<in>00000000</in>
<counter1>0</counter1>
<temp1>0.0</temp1>
</response>
Section Description
<prod_name>PE-1-0</prod_name> Type of module
In this case PE-1-0.
<out>00000000</out> Output state (enabled/disabled).
In this case output inactive
<on>00000000</on> Output state
<in>00000000</in> In NANO-OUT always read as 0
<counter1>0</counter1> In NANO-OUT always read as 0
<temp1>0.0</temp1> In NANO-OUT always read as 0
Command Description
http://nr_ip/stat.php?on=1 Enable output relay.
http://nr_ip/stat.php?off=1 Disable output relay.
http://nr_ip/stat.php?inv=1 Invert output state.
http://nr_ip/stat.php?set=0000000x Set output.
Options x=
1-Enable
0-Disable
n-Invert
Example:
1.Enable relay output:
http://192.16 .111.15/stat.php?o n =1
2.Invert output relay state :
http://192.16 .111.15/stat.php? inv=1
3.Disable relay output:
http://192.16 .111.15/stat.php?off=1
User manual NANO OUT Page 18 of 24

User manual NANO OUT Page 19 of 24

6.9 Communication protocol description
Byte 1 2 3 4 5 6 7 9 10 11
Name SOF CMD CH Data 1 Data 2 Data 3 Data 4 Data 5 Data 6 Data 7 CRC Return
Command
Set output 15 1 0-7 Mode
[1-3]*
ON/OFF
[0,1]
TON
LSB*
TON
MSB*
TOFF
LSB*
TOFF
MSB*
Restart
state**
CRC ON or NO
Read
channel
parameters
15 2 0-7 x x x x x x x CRC
Set counter 15 10 0-7 [0:7] [ :15] [16:23] [24:31] CRC
Read
counter
15 11 0-7 [0:7] [ :15] [16:23] [24:31] CRC
WWW
control
15 99 x 1
-status
0x55 –
off
all
other -
on
x x x x x x CRC ON or NO
Read
channels
15 100 x x x x x x x x CRC CH7-CH0 Chx – 2
bytes; 1
output
state 2 coil
state
Read
channel
name
15 101 0-7 x x x x x x x CRC String
Read
device
name
15 200 x x x x x x x x CRC String
*only Lantick and PE-2-1
** only Lantick
*** - Reading parameters returns:
SOF CMD Ch Data 1 Data 2 Data 3 Data 4 Data 5 Data 6 Data 7 CRC
15 2 0-7 Mode[1-3],
100-input
ON/OFF[0,1] TON
LSB
TON
MSB
TOFF
LSB
TOFF
MSB
Restart state CRC
Description Value State
ON/OFF 0 off
1 on
MODE 1 static
2 toggle
3 1-pulse
CRC Byte sum
Table of contents
Other inveo Control Unit manuals